Use this when alerting on n8n workflow failures.
Error Workflows
n8n error workflows are separate workflows that start with the Error Trigger and run when another workflow fails, sending alerts with the workflow name, node and error message.
1. Error workflows run when a workflow fails (Error Trigger).
2. Notify and log.
3. Retry on fail for transient issues.
4. Continue on fail only deliberately.
5. Track failure rates.
workflow failure → error workflow → notify/log
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
The negative fixture should deliberately exercise risks such as expression coercion, partial item failure, credential drift, retries duplicating side effects, error workflow recursion and successful node status masking external inconsistency, choosing the cases most relevant to error trigger scope, failed execution context, recursion prevention, notification/remediation side effects and preserving the original failure evidence.
Step 2 Common mistakes Narrow the fault
- No error workflow, so failures are silent.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- An Error Trigger workflow runs when another fails.
- It receives workflow name, node and error.
- Assign it per workflow.
- Error workflow configured in workflow settings — error handling
- Error Trigger node workflow — notifications
- Retry on fail settings per node — resilience
ReferenceWhy it matters1 section · depth on demand
What it is
An error workflow runs when another workflow fails, typically to notify or create a ticket.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Error workflows handle failures in other n8n workflows. A workflow configured as the error workflow starts with an Error Trigger and receives details of the failed execution — workflow name, failing node, error message and execution URL — so it can notify people or open a ticket.
Error Trigger → Set (format message) → Slack / Email / Create Jira issue
Set the error workflow in each production workflow's settings. Within a workflow, nodes can also use "Continue On Fail" or retry settings for expected, recoverable errors; reserve the error workflow for failures that need a human.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in n8n > Error Workflows. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.n8n.io/ · confidence 94%Deep reference
Healthy vs suspicious evidence
Output interpretation
For error trigger scope, failed execution context, recursion prevention, notification/remediation side effects and preserving the original failure evidence, prefer typed fields and stable IDs over human presentation text.