n8n has node-level settings that decide what happens when one node fails. Two of them are easy to mix up: Retry On Fail and On Error. This is a short guide built from n8n's own docs page on nodes (Node settings), read on Dec 1, 2026. It is a documentation reading, not a test run.
The settings, as n8n describes them
- Retry On Fail: when an execution fails, the node reruns until it succeeds.
- On Error: Stop Workflow: halts the entire workflow when an error occurs, so no further node runs.
- On Error: Continue: proceeds to the next node despite the error, using the last valid data.
- On Error: Continue (using error output): continues and passes the error information to the next node, so you can handle it there.
- Always Output Data: the node returns an empty item even if it returns no data. n8n warns this can cause an infinite loop if set on IF nodes.
- Execute Once: the node runs once, with data from the first item it receives, and does not process extra items.
How to choose
Retry On Fail fits a node that talks to something that may fail briefly, such as a web request. n8n's description says the node reruns until it succeeds, so think about what a rerun does before you turn it on. If the node already created or sent something before it failed, a rerun can do it again.
Stop Workflow is the safe default when a later step must not run on bad or missing data.
Continue keeps going with the last valid data. That is convenient, but the next nodes then work with data from before the failure, which may not be what you want for that item.
Continue (using error output) is the option for a controlled path. The error goes to the next node, so you can log it, send an alert or branch to a fallback instead of losing it.
Pair it with an error workflow
Node settings handle one node. For a failure that stops the whole run, n8n's error workflow (an Error Trigger workflow selected in the workflow's settings) can alert you. The two work together: use Continue (using error output) for failures you plan for, and an error workflow for the ones you do not.
Checklist
- For each node that can fail, pick On Error on purpose instead of leaving the default unexamined.
- Use Retry On Fail only where a repeat of the action is safe.
- Prefer Continue (using error output) when you want to log or branch on a failure.
- Leave Always Output Data off on IF nodes unless you have checked for loops.
- Add an error workflow for failures you did not plan for.
Source: https://docs.n8n.io/workflows/components/nodes/
Digital Nerve: YouTube https://www.youtube.com/@DigitalNerveOfficial Facebook https://www.facebook.com/digitalnerveofficial Instagram https://www.instagram.com/digitalnerveofficial/ TikTok https://www.tiktok.com/@digitalnerveofficial DEV https://dev.to/digitalnerve Medium https://medium.com/@digitalnerveofficial
Top comments (0)