Templates / Attach a default error handler to all active workflows

Attach a default error handler to all active workflows

Ready for 3.0

by bartv · 4,935 views · created 2024-07-04 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 8 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Gmail.

How it runs

Trigger: On a schedule (every day) (plus 1 other trigger).

  1. get error handler (n8n): get
  2. Gmail: uses Gmail
  3. n8n: uses n8n
  4. active && no error handler set && not this handler workflow (If): checks a condition and branches into true / false
  5. set fields (Code): runs custom JavaScript code
  6. n8n: update

Services it uses

Gmail

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

How it works: Did you ever miss any errors in your workflow executions? I did! And I usually only realised a few days or weeks later. 🙈 This template attaches a default error workflow to all your active workflows. From now on, you'll receive a notification…

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