Notify on workflow errors via Slack with Discord fallback
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 13 nodes and runs when another workflow fails (error workflow). It uses only n8n's built-in nodes.
How it runs
Trigger: When another workflow fails (error workflow).
- Check duplicate & summarize error (Code): runs custom JavaScript code
- Already notified? (If): checks a condition and branches into true / false
- Set: Slack webhook URL (Edit Fields (Set)): sets 1 field: slackWebhookUrl
- Build Slack message (Code): runs custom JavaScript code
- Notify Slack (HTTP Request): calls an HTTP API (POST)
- Slack notify succeeded? (If): checks a condition and branches into true / false
- Set: Discord webhook URL (Edit Fields (Set)): sets 1 field: discordWebhookUrl
- Build Discord message (Code): runs custom JavaScript code
- Notify Discord (fallback) (HTTP Request): calls an HTTP API (POST)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- Error Trigger
n8n-nodes-base.errorTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview This workflow catches failures from any other n8n workflow via the built-in Error Trigger, posts a readable summary to Slack, and automatically falls back to Discord if the Slack notification itself fails. How it works 1. Receives failure…