Steps
Open the last node that ran and count its items
In the execution view, the node right before the one that never ran almost always shows 0 items. n8n reported every one of our stopped runs as a success, with no error at all.
Find out why it output nothing
A Code node that returned
[], a Filter or IF where nothing matched, an HTTP Request that got[]back, a Split Out on a missing field, or a Merge with one empty input. The table below has the exact behaviour of each.Decide if stopping is actually right
Often it is: no new emails, nothing to do. If later nodes must run anyway (a "nothing new today" message, a log row), go to step 4.
Turn on Always Output Data on that node
Node Settings tab, Always Output Data. In our tests the next node then ran once, on one empty item
{}, so expressions like{{ $json.name }}came out blank.Handle the empty item on purpose
Put an IF right after it that checks a field exists, or use the false branch of IF, or (for Merge) the Include Any Unpaired Items option, so the empty case does something useful instead of writing blank rows.
What we ran and what n8n did
On 23 October 2026 we built 18 small workflows on n8n 2.43.7 (Manual Trigger, the node being tested, then an Edit Fields node called Next that adds reached: yes), ran each with n8n execute and read which nodes appeared in the run data. Every run below ended as a success except the one that says error.
| Setup | Items out | Did the next node run? |
|---|---|---|
Code node return []; | 0 | No. The workflow stopped there, status success, no message. |
| Same, with Always Output Data on the Code node | 1 empty item | Yes, once, with {} as input |
Same, then an Edit Fields value Order {{ $json.name }} | 1 | Yes, and the value came out as Order (blank name, no error) |
Filter price > 100 on two items priced 12 and 80 | 0 kept | No |
| Same Filter with Always Output Data | 1 empty item | Yes, on {}, not on the real items |
IF price > 100, both branches connected | true 0, false 2 | Only the false branch ran |
| Same IF with Always Output Data | true 1 (empty), false 2 | Both ran; the true branch got one empty item |
HTTP Request to a URL that answers [] | 0 | No |
| Same with Always Output Data | 1 empty item | Yes |
| HTTP Request to a 404 URL, On Error: Continue | 1 | Yes, with an error field holding 404 - "<!DOCTYPE HTML>… instead of data |
Code node in Run Once for Each Item, if ($json.price > 100) return $json; (no item matched) | 0 | No, and no error for returning nothing |
Code node return [null]; | error | No: Code doesn't return items properly, Please return an array of objects, one for each item you would like to output. |
Code node return {name:'lamp'}; (an object, not an array) | 1 | Yes. n8n wrapped the object into one item |
Split Out on a field tags no item has | 0 | No. Only a hint on the node: The field 'tags' wasn't found in any input item |
| Merge (default Append), input 1 empty, input 2 two items | 2 | Yes, with the two items |
| Merge Combine by Position, input 1 empty | 0 | No. Hint: Consider enabling "Include Any Unpaired Items" in options or check your inputs |
| Same Merge with Include Any Unpaired Items on | 2 | Yes |
Code node return []; but disabled | 2 (passed through) | Yes, with the items from before it |
Why n8n stops without an error
n8n runs a node once per batch of incoming items. When a node outputs zero items, there is nothing to hand on, so the nodes after it are skipped and the execution still counts as successful. That is by design (a Gmail trigger with no new mail shouldn't run your whole workflow), but it looks like a bug when you expected the rest to run. The only places n8n told us anything were two node hints, on Split Out and on Merge by position. Open the node and read its hint before anything else.
Always Output Data: what it really does
It doesn't bring your items back. It makes the node send one empty item when it would send none, so the next node runs once. Anything that reads $json after that sees blanks: our Edit Fields wrote Order with no name and no error. So if you turn it on, check for the empty case right after:
// IF node condition (Boolean): is there real data?
{{ Object.keys($json).length > 0 }}
// or in a Code node: skip empty items yourself
const real = $input.all().filter(i => Object.keys(i.json).length > 0);
if (real.length === 0) return [{ json: { status: 'nothing new' } }];
return real;The second pattern is often cleaner than Always Output Data: return one item that says why there is nothing, and let the next nodes act on that.
Good to know
- A Code node that returns something that isn't an object array fails with
Code doesn't return items properly; more on that in n8n Code node errors. - IF and Merge that behave strangely with several items: n8n Merge and IF node not working. Loops that stop after one pass: Loop Over Items not working.
- If nothing runs at all, not even the first node, the trigger is the problem: Schedule Trigger not firing or webhook not working. To be told when a workflow silently stops, see alert when an n8n workflow stops running.
- Every error text from our n8n guides is in the n8n error message index.
What we didn't test
- Workflows using the legacy v0 execution order, sub-workflows (Execute Workflow), Wait nodes and trigger nodes with no new data. We ran everything with the default v1 order and a Manual Trigger.
- The editor UI. We read the run data from the CLI; in the editor the same nodes show the item counts above.
Start from a working agent
FAQ
Why does my n8n workflow stop with no error?
Usually a node output 0 items, so n8n skipped everything after it and still marked the run as successful. In our 18 tests that happened with a Code node returning [], a Filter or IF with no match, an HTTP Request returning [], Split Out on a missing field and Merge by position with an empty input.
What does Always Output Data do in n8n?
When the node would output nothing, it outputs one empty item instead, so the next node runs once. It doesn't restore any data: expressions like {{ $json.name }} come out blank, so check for the empty item right after.
Why is the next node not executing after my IF node?
Only the branch that received items runs. In our test all items went to false, so the node on the true branch never ran. Turning on Always Output Data on the IF made the true branch run with one empty item.
Why does my n8n Merge node output nothing?
With Combine by Position and one empty input, Merge output 0 items and showed the hint 'Consider enabling Include Any Unpaired Items'. Turning that option on, or using Append mode, passed the other input's items through.
How do I run the rest of the workflow when there are no items?
Either turn on Always Output Data on the node that returns nothing and handle the empty item, or have a Code node return one item such as { status: 'nothing new' } when the list is empty.
Related guides
- n8n Filter node not working: items removed, type errors and empty checks, 32 runs
- n8n Split Out, Aggregate and Summarize not working: 78 runs, fixed
- n8n binary data not found? Fix 'none was found' and 'no binary field', 25 tests
- n8n Loop Over Items not working? 15 tests of what really happens
- n8n 429 Too Many Requests: fix rate limits with Retry On Fail, batching or Retry-After
New guides
- GitHub release notifications in Slack (any public repo, stable releases only)
- Send RSS feeds to Slack with a keyword filter (free, incoming webhook)
- Forward emails to a Slack channel (Gmail, Outlook, any IMAP), free with an incoming webhook
- n8n Google Sheets Trigger not working: not firing, activation errors and fixes