This workflow corresponds to n8n.io template #13163 — we link there as the canonical source.
This workflow follows the Error Trigger → Gmail 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 →
{
"meta": {
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "a00185d2-b3ac-49af-8692-f1330911209a",
"name": "Overview",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2720,
-768
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "062f9ee5-b568-4348-914c-c58d43b06fea",
"name": "Ticket Intake",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2240,
-768
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1a907851-f171-4223-b474-da13d420e277",
"name": "Categorization & SLA",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1648,
-768
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a9eb01fa-4ad2-4af1-ad36-d22293f309e2",
"name": "Database & Notifications",
"type": "n8n-nodes-base.stickyNote",
"position": [
-800,
-768
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a59f9dc2-02a1-45f5-90bc-408742d3d0f4",
"name": "Response",
"type": "n8n-nodes-base.stickyNote",
"position": [
48,
-768
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2e9a12a4-e042-47e5-8d6b-26443e869a49",
"name": "Error Handling",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2240,
576
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3a37fd32-0b71-47ba-b323-abc1c8f1d408",
"name": "New Ticket",
"type": "n8n-nodes-base.webhook",
"position": [
-2224,
-448
],
"parameters": {},
"typeVersion": 2
},
{
"id": "e18779db-f8dc-4739-b161-172d3fd49e89",
"name": "Normalize Data",
"type": "n8n-nodes-base.code",
"position": [
-1984,
-448
],
"parameters": {},
"typeVersion": 2
},
{
"id": "895eb571-b9fc-42c6-a8a2-454c0219019f",
"name": "Valid Ticket?",
"type": "n8n-nodes-base.if",
"position": [
-1808,
-448
],
"parameters": {},
"typeVersion": 2
},
{
"id": "330a4d28-a94d-453f-be83-68f8a43af2e9",
"name": "Validation Error",
"type": "n8n-nodes-base.code",
"position": [
-1808,
-288
],
"parameters": {},
"typeVersion": 2
},
{
"id": "7f7a16ce-5135-47fa-84c5-30da33ee9aed",
"name": "Respond 400",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
-1504,
-288
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "557851a5-b0d8-431f-88a1-a202b3e04b38",
"name": "Categorize Ticket",
"type": "n8n-nodes-base.code",
"position": [
-1616,
-528
],
"parameters": {},
"typeVersion": 2
},
{
"id": "185cd192-77a1-4c4f-8bdf-18f8e032789f",
"name": "Check Duplicate",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1376,
-528
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "0bd08317-1bb2-4311-ac42-1b1c61c52b18",
"name": "Not Duplicate?",
"type": "n8n-nodes-base.if",
"position": [
-1184,
-528
],
"parameters": {},
"typeVersion": 2
},
{
"id": "239f3e41-ee2b-4d96-a202-11e6dc50e1b7",
"name": "Assign SLA",
"type": "n8n-nodes-base.code",
"position": [
-976,
-528
],
"parameters": {},
"typeVersion": 2
},
{
"id": "339229a4-79c7-4ea2-b02a-fcfaec256b2b",
"name": "Create Ticket",
"type": "n8n-nodes-base.httpRequest",
"position": [
-656,
-528
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "e2858a19-c1f1-4b84-99c9-ad483d5c0682",
"name": "Route by Priority",
"type": "n8n-nodes-base.switch",
"position": [
-416,
-528
],
"parameters": {},
"typeVersion": 3
},
{
"id": "752a6c0b-8e2e-4d38-be6f-deb2267badd7",
"name": "Format Critical",
"type": "n8n-nodes-base.code",
"position": [
-176,
-608
],
"parameters": {},
"typeVersion": 2
},
{
"id": "c0170f3d-1391-45c0-96cc-f1c86b712fdc",
"name": "Format High",
"type": "n8n-nodes-base.code",
"position": [
-176,
-448
],
"parameters": {},
"typeVersion": 2
},
{
"id": "7cb4d70e-505d-44f3-86b8-b8ecca3957a2",
"name": "Format Medium",
"type": "n8n-nodes-base.code",
"position": [
-176,
-288
],
"parameters": {},
"typeVersion": 2
},
{
"id": "f99ad022-d4fa-4ca0-b96f-80d98f514959",
"name": "Format Low",
"type": "n8n-nodes-base.code",
"position": [
-176,
-128
],
"parameters": {},
"typeVersion": 2
},
{
"id": "14e89723-cce4-4949-87e5-c057d34491d2",
"name": "Notify Team",
"type": "n8n-nodes-base.slack",
"position": [
64,
-368
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "17564fbf-1118-4445-8ae4-12e2fd486e8e",
"name": "Send Confirmation",
"type": "n8n-nodes-base.gmail",
"position": [
304,
-368
],
"parameters": {},
"typeVersion": 2.1
},
{
"id": "01559b42-9971-4ecf-ac8b-19e281bd6af2",
"name": "Format Success",
"type": "n8n-nodes-base.code",
"position": [
64,
-128
],
"parameters": {},
"typeVersion": 2
},
{
"id": "dc8df9ae-533b-4531-80b4-d100a8103f3f",
"name": "Respond 200",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
304,
-128
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "65c5f28e-6b06-42d1-9ff8-330922a7db3c",
"name": "Error Trigger",
"type": "n8n-nodes-base.errorTrigger",
"position": [
-2208,
688
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4fec826f-4223-4a07-83bc-16950ae81add",
"name": "Format Error",
"type": "n8n-nodes-base.code",
"position": [
-1968,
688
],
"parameters": {},
"typeVersion": 2
},
{
"id": "b12d6a55-0243-4ca2-b903-c18fbb1ee35a",
"name": "Error Alert",
"type": "n8n-nodes-base.slack",
"position": [
-1728,
688
],
"parameters": {},
"typeVersion": 2.2
}
],
"connections": {
"Assign SLA": {
"main": [
[
{
"node": "Create Ticket",
"type": "main",
"index": 0
}
]
]
},
"Format Low": {
"main": [
[
{
"node": "Notify Team",
"type": "main",
"index": 0
}
]
]
},
"New Ticket": {
"main": [
[
{
"node": "Normalize Data",
"type": "main",
"index": 0
}
]
]
},
"Format High": {
"main": [
[
{
"node": "Notify Team",
"type": "main",
"index": 0
}
]
]
},
"Notify Team": {
"main": [
[
{
"node": "Send Confirmation",
"type": "main",
"index": 0
}
]
]
},
"Format Error": {
"main": [
[
{
"node": "Error Alert",
"type": "main",
"index": 0
}
]
]
},
"Create Ticket": {
"main": [
[
{
"node": "Route by Priority",
"type": "main",
"index": 0
}
]
]
},
"Error Trigger": {
"main": [
[
{
"node": "Format Error",
"type": "main",
"index": 0
}
]
]
},
"Format Medium": {
"main": [
[
{
"node": "Notify Team",
"type": "main",
"index": 0
}
]
]
},
"Valid Ticket?": {
"main": [
[
{
"node": "Categorize Ticket",
"type": "main",
"index": 0
}
],
[
{
"node": "Validation Error",
"type": "main",
"index": 0
}
]
]
},
"Format Success": {
"main": [
[
{
"node": "Respond 200",
"type": "main",
"index": 0
}
]
]
},
"Normalize Data": {
"main": [
[
{
"node": "Valid Ticket?",
"type": "main",
"index": 0
}
]
]
},
"Not Duplicate?": {
"main": [
[
{
"node": "Assign SLA",
"type": "main",
"index": 0
}
],
[
{
"node": "Format Success",
"type": "main",
"index": 0
}
]
]
},
"Check Duplicate": {
"main": [
[
{
"node": "Not Duplicate?",
"type": "main",
"index": 0
}
]
]
},
"Format Critical": {
"main": [
[
{
"node": "Notify Team",
"type": "main",
"index": 0
}
]
]
},
"Validation Error": {
"main": [
[
{
"node": "Respond 400",
"type": "main",
"index": 0
}
]
]
},
"Categorize Ticket": {
"main": [
[
{
"node": "Check Duplicate",
"type": "main",
"index": 0
}
]
]
},
"Route by Priority": {
"main": [
[
{
"node": "Format Critical",
"type": "main",
"index": 0
}
],
[
{
"node": "Format High",
"type": "main",
"index": 0
}
],
[
{
"node": "Format Medium",
"type": "main",
"index": 0
}
],
[
{
"node": "Format Low",
"type": "main",
"index": 0
}
]
]
},
"Send Confirmation": {
"main": [
[
{
"node": "Format Success",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Receive support tickets via webhook, categorize by priority, track SLA deadlines, notify your team on Slack, and send confirmation emails to customers.
Source: https://n8n.io/workflows/13163/ — 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.
Receive inventory movements via webhook, validate data, update stock levels, and trigger automatic alerts when products need reordering.
This workflow is a fully automated AI matte painting generation system for VFX pipelines, designed to convert a single environment prompt into multiple cinematic background variations. It handles gene
Deliver coordinated messages through multiple channels with priority-based formatting, delivery tracking, and compliance logging.
Human Approval AI Response. Uses httpRequest, slack, gmail, googleSheets. Webhook trigger; 20 nodes.
Suspicious_login_detection. Uses postgres, httpRequest, noOp, html. Webhook trigger; 43 nodes.