This workflow follows the Gmail → Gmail Trigger recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "SlackTriggerP2",
"nodes": [
{
"parameters": {
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"filters": {}
},
"type": "n8n-nodes-base.gmailTrigger",
"typeVersion": 1.3,
"position": [
-1296,
-32
],
"id": "3a193198-efda-4a54-a28f-1456ddd24588",
"name": "Gmail Trigger",
"credentials": {
"gmailOAuth2": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "0fc20a25-b024-451b-891e-dc15ca5ea331",
"name": "Mailid",
"value": "={{ $json.From }}",
"type": "string"
},
{
"id": "2bd3eed6-3dcb-451a-8e3d-173dbd1e06cf",
"name": "Subject",
"value": "={{ $json.Subject }}",
"type": "string"
},
{
"id": "e7d0d99b-29b1-4b76-abde-08833a25cf53",
"name": "Content",
"value": "={{ $json.snippet }}",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-1088,
-32
],
"id": "8b05c8ff-f21e-465e-8631-23c0472ac9a6",
"name": "Edit Fields"
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": false,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "a5ce00fb-dc52-4c48-990e-0b4552df0e34",
"leftValue": "={{ $json.Subject }}",
"rightValue": "support",
"operator": {
"type": "string",
"operation": "contains"
}
},
{
"id": "f9ef7ef2-40c5-41ff-806b-cb6fc15cfbb7",
"leftValue": "={{ $json.Subject }}",
"rightValue": "issue",
"operator": {
"type": "string",
"operation": "contains"
}
},
{
"id": "2e7febaa-170f-4d63-9c21-2498cff573bd",
"leftValue": "={{ $json.Subject }}",
"rightValue": "problem",
"operator": {
"type": "string",
"operation": "contains"
}
},
{
"id": "7be3ecac-d2d6-4ade-82ca-0cdaac372cf5",
"leftValue": "={{ $json.Subject }}",
"rightValue": "down",
"operator": {
"type": "string",
"operation": "equals"
}
},
{
"id": "ddc3ed3b-d507-4dfa-a529-6a6698dc815d",
"leftValue": "={{ $json.Content }}",
"rightValue": "support",
"operator": {
"type": "string",
"operation": "contains"
}
},
{
"id": "be2b76c8-8a09-47b4-bfb2-a815e71ad418",
"leftValue": "={{ $json.Content }}",
"rightValue": "issue",
"operator": {
"type": "string",
"operation": "contains"
}
},
{
"id": "23efc7a0-e263-4877-9c65-a598d8b68831",
"leftValue": "={{ $json.Content }}",
"rightValue": "problem",
"operator": {
"type": "string",
"operation": "contains"
}
},
{
"id": "d051924a-2bc8-4d41-bd2d-09b303fa406b",
"leftValue": "={{ $json.Content }}",
"rightValue": "down",
"operator": {
"type": "string",
"operation": "contains"
}
}
],
"combinator": "or"
},
"options": {
"ignoreCase": true
}
},
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
-880,
-32
],
"id": "7c415195-c1d6-468e-ad44-8e20d5493a75",
"name": "If"
},
{
"parameters": {
"authentication": "oAuth2",
"select": "channel",
"channelId": {
"__rl": true,
"value": "C0A1J2NS0P9",
"mode": "list",
"cachedResultName": "support"
},
"text": "=\ud83d\udce9 *New Support Request Received!*\n\n*From:* {{ $json.Mailid }} \n\n*Subject:* {{ $json.Subject }} \n\n*Message:* {{ $json.Content }}",
"otherOptions": {}
},
"type": "n8n-nodes-base.slack",
"typeVersion": 2.3,
"position": [
-656,
-128
],
"id": "0ec9067e-053c-4089-83f2-4be00fed3461",
"name": "Send a message",
"credentials": {
"slackOAuth2Api": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"operation": "reply",
"messageId": "={{ $('Gmail Trigger').item.json.id }}",
"emailType": "text",
"message": "=Hi \ud83d\udc4b, \n\nThank you for contacting our support team! \nWe\u2019ve received your request and our support engineers will review it shortly. \n\nBest regards, \nThe Support Team",
"options": {}
},
"type": "n8n-nodes-base.gmail",
"typeVersion": 2.1,
"position": [
-448,
-64
],
"id": "2ea340ab-9e9d-4bdd-b73a-a434fa794ee1",
"name": "Reply to a message",
"credentials": {
"gmailOAuth2": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Gmail Trigger": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"If": {
"main": [
[
{
"node": "Send a message",
"type": "main",
"index": 0
}
]
]
},
"Reply to a message": {
"main": [
[]
]
},
"Send a message": {
"main": [
[
{
"node": "Reply to a message",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "a347680c-e3cf-4538-9129-4dcba975b4ea",
"meta": {
"templateCredsSetupCompleted": true
},
"id": "i0C9nhSZAm1ETisK",
"tags": []
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
gmailOAuth2slackOAuth2Api
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
SlackTriggerP2. Uses gmailTrigger, slack, gmail. Event-driven trigger; 5 nodes.
Source: https://github.com/Selvarani-vka/GenAI-60days/blob/4983ec1e2fcbfcf244d247dd63c6fbb271e93cdd/n8n/SlackTriggerP2.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Automatically transform resume submissions into comprehensive candidate profiles with AI-powered parsing, GitHub analysis, and instant team notifications. Monitors Gmail for incoming resume attachment
外送記帳. Uses splitInBatches, manualTrigger, gmail, gmailTrigger. Event-driven trigger; 6 nodes.
Food Delivery Notifications and Easy Expense Tracking. Uses gmail, gmailTrigger, slack. Event-driven trigger; 6 nodes.
Food Delivery Notifications and Easy Expense Tracking. Uses gmail, gmailTrigger, slack. Event-driven trigger; 6 nodes.
Food Delivery Notifications and Easy Expense Tracking. Uses gmail, gmailTrigger, slack. Event-driven trigger; 6 nodes.