This workflow corresponds to n8n.io template #5629 — 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": "7RR5Rf9kzQ2eWl5C",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "Error Notification workflow",
"tags": [],
"nodes": [
{
"id": "ef401694-6d19-4d49-8269-0bfeefbc35e9",
"name": "Error Trigger",
"type": "n8n-nodes-base.errorTrigger",
"position": [
20,
320
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e950234f-06c7-4304-b8a6-62d3ba6b7a50",
"name": "Code",
"type": "n8n-nodes-base.code",
"position": [
240,
320
],
"parameters": {
"jsCode": "// Perfect error access untuk N8N v1.99.1\nconst errorData = $input.first().json;\nconst execution = errorData.execution;\nconst workflow = errorData.workflow;\nconst error = execution.error;\n\nconst message = `\ud83d\udea8 <b>WORKFLOW ERROR</b>\\n\\n` +\n `\ud83d\udccb Workflow: <b>${workflow.name}</b>\\n` +\n `\u2699\ufe0f Node: <code>${error.node.name}</code>\\n` +\n `\u274c Error: <code>${error.message}</code>\\n` +\n `\ud83d\udcdd Description: <i>${error.description}</i>\\n` +\n `\ud83d\udd50 Waktu: ${new Date(error.timestamp).toLocaleString('id-ID')}\\n` +\n `\ud83d\udd0d Execution: <a href=\"${execution.url}\">${execution.id}</a>\\n` +\n `\u26a0\ufe0f Level: ${error.level.toUpperCase()}`;\n\nreturn {\n message: message,\n parse_mode: 'HTML',\n chat_id: '621412350'\n};"
},
"typeVersion": 2
},
{
"id": "09a04430-1cb6-4bd5-b97d-d6b98541fd82",
"name": "Notify Gmail",
"type": "n8n-nodes-base.gmail",
"position": [
460,
320
],
"parameters": {
"options": {}
},
"credentials": {
"gmailOAuth2": {
"name": "<your credential>"
}
},
"typeVersion": 2.1
},
{
"id": "d78b5623-caab-4616-aa3a-e00af03cba3a",
"name": "Notify Whatsapp",
"type": "n8n-nodes-base.whatsApp",
"disabled": true,
"position": [
460,
520
],
"parameters": {
"operation": "send",
"additionalFields": {}
},
"typeVersion": 1
},
{
"id": "8c5dbd37-cc37-4a1a-89c4-bbf692339b93",
"name": "Notify Slack",
"type": "n8n-nodes-base.slack",
"disabled": true,
"position": [
460,
720
],
"parameters": {
"otherOptions": {}
},
"typeVersion": 2.3
},
{
"id": "0ec6e5cb-c290-4073-9560-0f237f85a6bd",
"name": "Notify Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
460,
120
],
"parameters": {
"text": "={{ $json.message }}",
"chatId": "<your_chat_id>",
"additionalFields": {
"parse_mode": "HTML"
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "4e378031-382d-4abd-94f5-b7274f42161e",
"name": "Notify Discord",
"type": "n8n-nodes-base.discord",
"disabled": true,
"position": [
460,
-80
],
"parameters": {
"content": "={{ $json.message }}",
"options": {},
"authentication": "webhook"
},
"credentials": {
"discordWebhookApi": {
"name": "<your credential>"
}
},
"typeVersion": 2
},
{
"id": "ad022c9b-4453-4590-b27e-358e342e1f26",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
-20
],
"parameters": {
"color": 5,
"width": 420,
"height": 280,
"content": "## \ud83d\udea8 Error Notification Workflow\n\nThis workflow automatically sends notifications when any other workflow fails.\n\nSimply download copy and paste into your workflow then add your credential with prefered channel\n\nThis workflow is free. \nwant more? [contact me](khmuhtadin.com)\n\nhave something to helps me chill, [a coffee](coff.ee/khmuhtadin) would be great!"
},
"typeVersion": 1
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "d60f1aea-932f-4335-865e-1f289e070dc1",
"connections": {
"Code": {
"main": [
[
{
"node": "Notify Telegram",
"type": "main",
"index": 0
},
{
"node": "Notify Discord",
"type": "main",
"index": 0
},
{
"node": "Notify Slack",
"type": "main",
"index": 0
},
{
"node": "Notify Whatsapp",
"type": "main",
"index": 0
},
{
"node": "Notify Gmail",
"type": "main",
"index": 0
}
]
]
},
"Error Trigger": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"Notify Whatsapp": {
"main": [
[]
]
}
}
}
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.
discordWebhookApigmailOAuth2telegramApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
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 support for Discord, Slack, and WhatsApp. Immediate Awareness: Get instant alerts…
Source: https://n8n.io/workflows/5629/ — 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.
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
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.
Track all n8n workflow failures with automatic error capture, severity classification, duplicate detection, Slack alerting, performance metrics, and log retention.
This workflow is an AI-powered roto matte generation and first-pass compositing pipeline designed for VFX production. It transforms structured roto requests into multiple high-precision matte passes u