Templates / Notify on workflow errors via Slack with Discord fallback

Notify on workflow errors via Slack with Discord fallback

Ready for 3.0

by 鈴木光輝(Koki Suzuki):JP ✓ · 2 views · created 2026-08-12 · DevOps

Ready 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).

  1. Check duplicate & summarize error (Code): runs custom JavaScript code
  2. Already notified? (If): checks a condition and branches into true / false
  3. Set: Slack webhook URL (Edit Fields (Set)): sets 1 field: slackWebhookUrl
  4. Build Slack message (Code): runs custom JavaScript code
  5. Notify Slack (HTTP Request): calls an HTTP API (POST)
  6. Slack notify succeeded? (If): checks a condition and branches into true / false
  7. Set: Discord webhook URL (Edit Fields (Set)): sets 1 field: discordWebhookUrl
  8. Build Discord message (Code): runs custom JavaScript code
  9. 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)

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…

Excerpt from 鈴木光輝(Koki Suzuki):JP's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.