This workflow corresponds to n8n.io template #5852 — 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 →
{
"id": "61Flju0VYVpEMHzD",
"name": "Error_Notifier-v1-no_db",
"nodes": [
{
"id": "06623d7e-80a2-4f7d-86d8-99eb139760a9",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-480,
180
],
"parameters": {
"color": 6,
"width": 660,
"height": 80,
"content": "# ERROR NOTIFIER\n\n"
},
"typeVersion": 1
},
{
"id": "eb9762e3-1c49-4c18-aab0-ce04bb54d3c5",
"name": "Error Trigger",
"type": "n8n-nodes-base.errorTrigger",
"disabled": true,
"position": [
-440,
-120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9925c654-17de-47c7-83b1-0b062c86be90",
"name": "When Executed by Another Workflow",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
-440,
300
],
"parameters": {
"inputSource": "passthrough"
},
"typeVersion": 1.1
},
{
"id": "d8ad4b78-3387-44ce-894b-4c4c21863f1c",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1000,
-220
],
"parameters": {
"width": 440,
"height": 300,
"content": "# How it works\nThis workflow automatically sends notifications when any other workflow fails.\n\nAlgorithm:\n- Create a workflow with \"**ERROR NOTIFIER**\".\n- Copy and paste \"**ERROR ALERTER**\" into your workflows and activate.\n- Add credentials using your preferred channel.\n\nPlease check out my other items on [gumroad](https://boanse.gumroad.com/?section=k_Sn6LcT_dzJFnp5jmsM5A%3D%3D)\nYou might also like something else\u263a\ufe0f"
},
"typeVersion": 1
},
{
"id": "e57e084d-b215-4666-964c-01c2b17984c7",
"name": "Execute Bag Alert Workflow",
"type": "n8n-nodes-base.executeWorkflow",
"disabled": true,
"position": [
-220,
-120
],
"parameters": {
"options": {},
"workflowId": {
"__rl": true,
"mode": "list",
"value": "61Flju0VYVpEMHzD",
"cachedResultName": "Error_Notifier-v1-no_db"
},
"workflowInputs": {
"value": {},
"schema": [],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": true
}
},
"typeVersion": 1.2
},
{
"id": "51276cbe-9156-4b88-938f-95919c20fd2f",
"name": "Prepare Messages For Notify",
"type": "n8n-nodes-base.code",
"position": [
-220,
300
],
"parameters": {
"jsCode": "// Get data\nconst errorData = $input.first().json;\n\n\n// Get fallback\nconst execution = errorData.execution || {};\nconst workflow = errorData.workflow || {};\nconst error = execution.error || {};\n\n\nconst workflowName = workflow.name || 'Unknown';\n\nconst nodeName = execution?.lastNodeExecuted|| 'Unknown';\nconst errorMessage = error.message || '-';\nconst errorDescription = error?.context?.messageTemplate || 'No description';\nconst timestamp = error.timestamp ? new Date(error.timestamp).toLocaleString('ru-RU') : 'Unknown';\n\nconst executionUrl = execution.url || '#';\nconst executionId = execution.id || 'Unknown';\nconst errorLevel = error.level ? error.level.toUpperCase() : 'UNKNOWN';\n\n\nconst message = \n`\ud83d\udea8 <b>WORKFLOW ERROR (<a href=\"${executionUrl}\">${executionId}</a>)</b>\n\nWorkflow: <code>${workflowName}</code>\nNode: <code>${nodeName}</code>\n\n<b>${errorLevel}:</b>\n${errorMessage}\n${errorDescription}\n\n${timestamp}`;\n\n\nreturn {\n json: {\n message,\n }\n};"
},
"typeVersion": 2
},
{
"id": "a8b62ee0-f379-47e1-b9e0-d76700edd361",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-480,
-220
],
"parameters": {
"color": 6,
"width": 440,
"height": 80,
"content": "# ERROR ALERTER"
},
"typeVersion": 1
},
{
"id": "32389017-571e-4efc-bb5d-155426626f01",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1000,
180
],
"parameters": {
"width": 440,
"height": 240,
"content": "# Setup\n- ## Add Credentials:\n - WhatsApp (OAuth & API)\n - Telegram\n - Gmail\n - Discord\n - Slack"
},
"typeVersion": 1
},
{
"id": "d066e29c-9c77-4089-8560-9736db38754a",
"name": "Send Notify to Gmail",
"type": "n8n-nodes-base.gmail",
"disabled": true,
"position": [
0,
700
],
"parameters": {
"sendTo": "@gmail.com",
"message": "={{ $json.message }}",
"options": {},
"subject": "Error Workflow"
},
"credentials": {
"gmailOAuth2": {
"name": "<your credential>"
}
},
"typeVersion": 2.1
},
{
"id": "b38ff563-c8c9-408d-a99e-d8c93ba5f309",
"name": "Send Notify to Whatsapp",
"type": "n8n-nodes-base.whatsApp",
"disabled": true,
"position": [
0,
500
],
"parameters": {
"textBody": "={{ $json.message }}",
"operation": "send",
"additionalFields": {},
"recipientPhoneNumber": "+1234567890"
},
"credentials": {
"whatsAppApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "97a95663-5650-423a-a28b-ea18182c0e69",
"name": "Send Notify to Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
0,
300
],
"parameters": {
"text": "={{ $json.message }}",
"chatId": "=YOUR_CHAT_ID",
"additionalFields": {
"parse_mode": "HTML"
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "cfa7d60b-3e58-4ad2-b445-5f918aac8823",
"name": "Send Notify to Discord",
"type": "n8n-nodes-base.discord",
"disabled": true,
"position": [
0,
900
],
"parameters": {
"content": "={{ $json.message }}",
"options": {},
"authentication": "webhook"
},
"credentials": {
"discordWebhookApi": {
"name": "<your credential>"
}
},
"typeVersion": 2
},
{
"id": "b1505ead-f1f1-4816-816b-e2e70cfabcb3",
"name": "Send Notify to Slack",
"type": "n8n-nodes-base.slack",
"disabled": true,
"position": [
0,
1100
],
"parameters": {
"text": "={{ $json.message }}",
"user": {
"__rl": true,
"mode": "list",
"value": ""
},
"select": "user",
"otherOptions": {}
},
"credentials": {
"slackApi": {
"name": "<your credential>"
}
},
"typeVersion": 2.3
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "c390d2c8-192b-43eb-9cc7-02d6db4ff67a",
"connections": {
"Error Trigger": {
"main": [
[
{
"node": "Execute Bag Alert Workflow",
"type": "main",
"index": 0
}
]
]
},
"Prepare Messages For Notify": {
"main": [
[
{
"node": "Send Notify to Gmail",
"type": "main",
"index": 0
},
{
"node": "Send Notify to Whatsapp",
"type": "main",
"index": 0
},
{
"node": "Send Notify to Slack",
"type": "main",
"index": 0
},
{
"node": "Send Notify to Telegram",
"type": "main",
"index": 0
},
{
"node": "Send Notify to Discord",
"type": "main",
"index": 0
}
]
]
},
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Prepare Messages For Notify",
"type": "main",
"index": 0
}
]
]
}
}
}
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.
discordWebhookApigmailOAuth2slackApitelegramApiwhatsAppApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This workflow is designed for developers, DevOps engineers, and automation specialists who manage multiple n8n workflows and need a reliable way to monitor for failures and receive alerts in real time.
Source: https://n8n.io/workflows/5852/ — 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.
The Error Notification workflow is designed to instantly notify you whenever any other n8n workflow encounters an error, using popular communication channels like Telegram and Gmail—with optional supp
Teams that live in Notion and want an instant ping to the right person when a task changes state. Perfect for content creators, project managers, or any small team that tracks work in a Notion databas
Error Monitoring!. Uses errorTrigger, gmail, whatsApp, slack. Event-driven trigger; 8 nodes.
This comprehensive N8N automation template revolutionizes content creation by delivering a complete end-to-end solution for AI-powered blog generation. Transform simple ideas into fully SEO-optimized,
Track all n8n workflow failures with automatic error capture, severity classification, duplicate detection, Slack alerting, performance metrics, and log retention.