The n8n Error Trigger Node: Build Self-Healing Workflows That Never Fail Silently (2025)

Every automation eventually breaks — an API times out, a credential expires, a service returns unexpected data. The difference between a hobby setup and a production one is what happens next. In n8n, that's the job of the Error Trigger node, and it's the single most underused feature for building reliable workflows.

What the Error Trigger node does

The Error Trigger is a special trigger node that fires whenever another workflow fails. You build a small, dedicated "error workflow" starting with this node, and n8n automatically routes failures to it — passing along rich context about what went wrong.

Step 1: Create your error workflow

Create a new workflow, add an Error Trigger node as the starting point, and save it (e.g., "Global Error Handler"). On its own it does nothing yet — you'll connect it to your real workflows in the next step.

Step 2: Assign it to your workflows

Open any workflow you want protected, go to Settings → Error Workflow, and select your error handler from the dropdown. From now on, if that workflow throws an error, your handler runs automatically. You can point dozens of workflows at a single handler — build it once, protect everything.

🚀 Get instant AI root-cause analysis on every failure

An Error Trigger tells you something broke — this template tells you why. The n8n Workflow Monitor auto-detects failures, uses AI to explain the root cause in plain English, and fires a detailed Slack alert so you fix issues in minutes, not hours.

Get the n8n Workflow Monitor template →

Step 3: Read the error data

The Error Trigger hands you a detailed object you can act on:

  • execution.error.message — the human-readable error.
  • execution.error.node.name — exactly which node failed.
  • workflow.name and workflow.id — which workflow broke.
  • execution.id — the run you can open to inspect.

Step 4: Turn failures into action

Now wire your handler to actually respond:

  • Alert a human: send a Slack, Telegram, or email message with the workflow name, failed node, and error message.
  • Log it: append every failure to a Google Sheet or database for later analysis and trend-spotting.
  • Escalate by severity: use an IF node — critical workflows page you immediately; minor ones just get logged.
  • Auto-retry: for transient failures, trigger a re-run of the failed workflow after a short Wait.

Combine it with per-node error handling

The Error Trigger catches whole-workflow failures, but you can also handle errors gracefully inside a workflow. On any node, open Settings and enable Continue On Fail — the workflow keeps running and you can branch on the error with an IF node. Use both layers together: Continue On Fail for expected, recoverable hiccups; the Error Trigger for everything else.

A production-grade error-handling recipe

  1. One global Error Trigger workflow assigned to all critical workflows.
  2. An IF node splitting critical vs. non-critical based on workflow name.
  3. Critical path → immediate Slack + Telegram alert with full context.
  4. All paths → a row appended to a "Failures" log for weekly review.
  5. Known-transient errors → a Wait + re-execute for automatic recovery.

Set this up once and your automations stop failing silently — you'll know about problems before your customers do.


Ready to automate? Pair the Error Trigger node with the Workflow Monitor template for true self-healing automations. Get this template on Gumroad →