Automation Blueprint · ArticlesGet my blueprint

How do I debug an n8n workflow that returns an empty result?

By Asendify (Automation Blueprint) · Published 29 November 2026 · Automation Blueprint

Work from the trigger forward and find the first node that outputs zero items, because everything after it receives nothing and quietly does nothing. The usual causes are a search or filter that matched nothing, a Switch node that dropped items with no matching rule, an HTTP request that returned a 200 status with an empty body, a paginated request past the last page, or a node reading an empty upstream field.

Automation Blueprint — £217.50 one-time. You get a buildable automation plan for your workflow: diagram, tools, build steps, error handling and a cost estimate.
Get Automation Blueprint →

Key takeaways

  • An n8n community thread on empty output describes the symptom: a node runs successfully but returns zero items, so downstream nodes get nothing and the workflow appears to stop. Replies suggest confirming data reaches the node, turning on the node's Always Output Data setting so the flow continues, checking IF branch connections, adding an IF node that checks the item count (for example `{{$items().length>0}}`), pinning input data to inspect it, checking whether an HTTP node is asking for page 2 or later, and using a No Operation node on the empty path. One linked topic proposes a "No results" output as an alternative to Always Output Data.
  • A dev.to troubleshooting guide says n8n marks an HTTP Request node successful on the status code alone, so an empty body or an error message inside a 200 response still shows as a pass. Its fix is a Code node straight after the request that throws an error if the body is empty, the `data` field is missing or empty, or the body has an `error` field or `success: false`. It also says the default execution timeout is 30 seconds and can be raised in workflow settings, and that on self-hosted installs you set `EXECUTIONS_TIMEOUT`. That guide is a blog post, so verify its defaults against your version.
  • The Switch node docs say its Fallback Output defaults to None, which drops items that match no rule, so a mis-written rule can empty a branch.
  • The error handling docs say the Stop and Error node lets you fail on purpose, which turns a silent empty result into an alert.
  • Another community thread reports "No output data returned" despite an item count, fixed in one case by upgrading to a patch release, and in another by removing square brackets from a node name. The cause was not explained in the thread.
  • These are community and blog sources, not official diagnosis, so use them as a checklist, not a guarantee.

Who this is for / who it is not for

This is for you if an n8n workflow runs without an error but the result is empty, a Sheet row never appears, an email is not sent, or a webhook response has no data.

It is not for you if the workflow errors out with a message (read the message first, see how to handle errors in n8n and Make), or the workflow never starts at all, which is a trigger or activation problem.

The key decision is whether "empty" is a bug or a legitimate outcome. A search that finds no new rows is normal. If it is normal, route it deliberately (stop quietly or send a note). If it is not, make the workflow fail loudly so you hear about it.

Automation Blueprint — £217.50 one-time. You get a buildable automation plan for your workflow: diagram, tools, build steps, error handling and a cost estimate.
Get Automation Blueprint →
Automation Blueprint
Describe your automation in plain words and get a diagram, the right tools, build steps and a cost estimate.
Get my blueprint

Where empty results come from

CauseHow to spot itFixSource
Search or filter matched nothingThe node ran, zero items outCheck with an IF on item count, or Always Output Datan8n community
Switch dropped itemsFallback Output is NoneSet Fallback Output to Extra Outputn8n Switch docs
IF wired to the wrong branchItems on the other outputCheck connectionsn8n community
Empty or undefined upstream fieldPin and inspect inputFix the expressionn8n community
Paginated request past the endPage 2 or later returns nothingCheck the page logicn8n community
200 status with empty bodyHTTP node shows successValidate with a Code nodedev.to guide
Execution timeoutRun stops at about 30 secondsRaise timeout, reduce batch sizedev.to guide

Step by step

  1. Open the execution and click through the nodes from the trigger. Find the first node whose output is empty.
  2. Look at its input. Does the node receive items? If not, the problem is upstream.
  3. Pin the input data and run the node again, so you can see what it works with.
  4. Check the expression. An expression pointing at a field that does not exist returns nothing without an error. See what JSON is in automation.
  5. Check Switch and IF nodes in the path, including Fallback Output and which branch your node hangs on. See Zapier paths vs Make router vs n8n switch.
  6. Check HTTP requests. Look at the response body, not just the status. See how to use the HTTP Request node in n8n and what API rate limits are.
  7. Decide the right behaviour for a legitimate empty result: stop quietly, or use Always Output Data and an IF on the item count, with a No Operation node on the empty path.
  8. Turn silent into loud. Add a Stop and Error node or a Code check where empty means failure, and attach an error workflow. See how to send a Slack alert when an n8n workflow fails and how to check an n8n workflow is built properly.

Worked example: a weekly report that sends nothing

Example, with an invented scenario assembled from the documented causes. A workflow runs weekly, fetches orders from an API, filters them to last week, and emails a summary. This week the email never arrives and there is no error.

CheckWhat the builder findsAction
TriggerRan on scheduleFine
HTTP RequestStatus 200, but the body is an empty listAdd a Code node that throws if the list is empty
FilterReceives zero items, outputs zeroNothing downstream runs
CauseThe API token expired and the API returns an empty list instead of an errorRotate the token

The builder adds the Code check after the HTTP node, as the dev.to guide suggests, so the next empty list raises an error and an error workflow sends an alert. They also add an IF on the item count after the filter, sending a "no orders this week" message on the empty path, so a genuinely quiet week is distinguishable from a failure. The scenario is invented to show the method.

Alternatives

  • Test in smaller steps with pinned data, running one node at a time.
  • Upgrade n8n if the "No output data returned" display looks like a known bug in your version, per the community thread, and rename nodes with brackets or dots.
  • Use a different platform if you prefer built-in handling. See Zapier vs Make vs n8n.
  • Ask the community with your workflow JSON (remove secrets).
  • Review your plan before building. See is there a service that reviews my automation plan.

Is there a tool that plans an automation, with error handling, before I build it?

Yes. Asendify's Automation Blueprint takes your described workflow and returns a buildable plan: a diagram, the tools, build steps, error handling and a cost estimate. It suits people who want empty-result paths and failure alerts designed in from the start rather than discovered later. It is a plan, not a hosted automation and it does not debug a workflow you have already built. Free alternatives are the sources above and the n8n forum. See how to plan an n8n workflow from a plain-English description.

FAQ

Why does my n8n workflow stop with no error?

A node probably returned zero items, so downstream nodes have nothing to run on.

What does Always Output Data do?

Per community replies, it lets the flow continue even when the node's output is empty.

Why does an HTTP node show success with no data?

n8n judges success by the status code. A 200 with an empty body still passes, per the dev.to guide.

Why does my Switch send nothing?

Its Fallback Output defaults to None, which drops items that match no rule.

Can I test the empty path?

Yes, pin input data that produces zero items and run the node.

Automation Blueprint — £217.50 one-time. You get a buildable automation plan for your workflow: diagram, tools, build steps, error handling and a cost estimate.
Get Automation Blueprint →

More guides on other topics: https://www.asendify.co/books/

Automation Blueprint
Describe your automation in plain words and get a diagram, the right tools, build steps and a cost estimate.
Get my blueprint

More Automation Blueprint articles