// guides · n8n error index

n8n next node not running? Empty output and Always Output Data, 18 tests

Why an n8n workflow stops halfway with no error: a node outputs 0 items, so the next node never runs. What Always Output Data really sends, and the Code, Filter, IF, HTTP Request, Split Out and Merge cases, from 18 real runs on n8n 2.43.7.

Updated 2026-10-23 · about 10 minutes

Still stuck after these steps? Paste your exact n8n error and we'll reproduce it and email you the fix, free →

Steps

  1. 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.

  2. 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.

  3. 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.

  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.

  5. 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.

SetupItems outDid the next node run?
Code node return [];0No. The workflow stopped there, status success, no message.
Same, with Always Output Data on the Code node1 empty itemYes, once, with {} as input
Same, then an Edit Fields value Order {{ $json.name }}1Yes, and the value came out as Order (blank name, no error)
Filter price > 100 on two items priced 12 and 800 keptNo
Same Filter with Always Output Data1 empty itemYes, on {}, not on the real items
IF price > 100, both branches connectedtrue 0, false 2Only the false branch ran
Same IF with Always Output Datatrue 1 (empty), false 2Both ran; the true branch got one empty item
HTTP Request to a URL that answers []0No
Same with Always Output Data1 empty itemYes
HTTP Request to a 404 URL, On Error: Continue1Yes, 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)0No, and no error for returning nothing
Code node return [null];errorNo: 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)1Yes. n8n wrapped the object into one item
Split Out on a field tags no item has0No. 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 items2Yes, with the two items
Merge Combine by Position, input 1 empty0No. Hint: Consider enabling "Include Any Unpaired Items" in options or check your inputs
Same Merge with Include Any Unpaired Items on2Yes
Code node return []; but disabled2 (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

What we didn't test

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

New guides

Still stuck on your n8n error?

Paste the exact error and say what the workflow should do. We reproduce it on a real n8n install and email you the fix or a working workflow, usually within 24h. Free while we're in beta.

We'll only email you about your error and TaskToAgent.