Templates / Send workflow failure alerts to Discord and log them in a data table

Send workflow failure alerts to Discord and log them in a data table

Ready for 3.0

by Joey Townsend ✓ · 0 views · created 2026-10-14 · 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 7 nodes and runs when another workflow fails (error workflow) (plus 1 other trigger). Along the way it connects Discord.

How it runs

Trigger: When another workflow fails (error workflow) (plus 1 other trigger).

  1. Build Config (Edit Fields (Set)): sets 1 field: timezone
  2. Hand Off to Failure Triage (Execute Sub-workflow): calls another n8n workflow
  3. Format Alert (Code): runs custom JavaScript code
  4. Post Alert to Discord (Discord): send legacy (webhook)
  5. Log Failure to Data Table (Data table): insert (row)

Services it uses

Discord

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 (7)

From the author

Quick overview This workflow catches n8n production workflow failures, formats a readable error alert, posts it to Discord via a webhook, and logs key details (workflow, node, error, mode, execution URL) to an n8n Data Table for later reporting. How it works…

Excerpt from Joey Townsend'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.