Outcomewatch

How to check an n8n workflow actually did its job, not just ran green

A green execution in n8n only means no node threw an error; it says nothing about whether the leads were created or the messages sent. To check the result, define one measurable outcome per workflow, make the workflow fail on purpose with a Stop And Error node when that outcome is missing, and check from outside n8n that each run processed a normal number of items. For anything sent to another system, confirm it arrived there.

Last updated · By Marc Vergara

This page is part of the n8n workflow monitoring guide. The causes of green runs that do nothing are in why n8n workflows fail silently; this page is about the checks that catch them.

Decide what "done" means for each workflow

Write down one outcome you can count, and the range you expect. Without that, no tool can tell a good run from an empty one.

It should be something the client would notice if it stopped: contacts created, reminders delivered, rows synced. Use the last few weeks of executions to set the range. A workflow that handles 40 to 80 form leads a day and suddenly handles 0, or 3, has a problem even if every run is green.

Example outcomes for common client workflows
WorkflowOutcome to countWhere to check it
Lead routingContacts created, about one per form submissionThe CRM, against the form tool
Appointment remindersSMS delivered, not only sentThe messaging tool's delivery status
Data syncRows written equal to rows readBoth ends of the sync
Weekly reportOne file or email per clientThe destination folder or the sent log

Make the workflow fail when the result is wrong

Turn a quiet problem into an error, so the error workflow you already have sends the alert.

  1. On the node that fetches the work (the API call, the sheet, the database query), turn on Always Output Data in its settings. Without it, a step that returns nothing stops the run there, and no check after it runs.
  2. Add an If node after it that tests the result: the item is empty, the count is below your minimum, or a field you need is missing.
  3. Connect the failing branch to a Stop And Error node with a message that names the client and the check, for example "Acme lead sync: 0 leads fetched".
  4. Make sure the workflow's settings select an error workflow. n8n's docs describe Stop And Error as the way to force an execution to fail and trigger it.

n8n's docs warn against turning on Always Output Data on an If node itself, because it can cause an infinite loop. Set it on the node before. And keep the rule loose enough for quiet days: a workflow that legitimately finds nothing on Sundays needs a check that allows it.

Read the result back from the destination

A 200 response means the other system accepted the request, not that the record looks the way you expect.

After a create or update step, add a get step for the same record and check the fields that matter: the owner, the pipeline stage, the phone number. For batches, compare how many items went in with how many came back. This doubles the API calls for that step, so keep it for the workflows where a wrong record costs money.

Check item counts from outside n8n

Checks inside a workflow stop when the workflow stops. A check outside n8n also sees runs that never happened.

The n8n public API lists executions, and with includeData=true it returns each node's output, so a script can count the items per run and alert when several runs in a row are empty or far below normal. A heartbeat ping can carry the count in its body, but it only alerts when the ping is missing, not when the count is low.

Outcomewatch does this through the API with a read-only key: for each workflow you pick, it checks the schedule, errors, crashed runs and items per run, and alerts after repeated empty runs. It doesn't need a node added to the workflow.

Confirm it arrived in the next system

Some failures happen after n8n has done its part. Only the next system knows.

An SMS can be accepted and then filtered by the carrier; GoHighLevel reports those as failed with an error code such as 30007, which is covered in GoHighLevel SMS not delivered. Compare what the workflow sent with what was delivered, per client, every day. The same applies to bookings that should appear in a calendar or rows that should appear in a sheet.

FAQ

Why does my n8n workflow succeed but nothing happens?
Success only means no node threw an error. Usually a step returned 0 items, a node with Continue on Fail swallowed an error, or the next system rejected the result after accepting the request. Open the execution and find the first node with no output.
How do I make n8n alert me when a workflow returns no data?
Turn on Always Output Data on the node that fetches the data, add an If node that checks for an empty result, and connect it to a Stop And Error node. The execution then fails and your error workflow sends the alert.
Does a Stop And Error node trigger the error workflow?
Yes. n8n's docs describe it as the way to force an execution to fail under conditions you choose, which triggers the error workflow selected in the workflow's settings.
How can I count how many items an n8n workflow processed?
Open the execution in n8n to see each node's item count, or call the n8n API's executions endpoint with includeData=true and count the items in the node's output.
Is a heartbeat enough to know a workflow did its job?
No. A heartbeat proves the run reached its last step. It doesn't tell you whether that run processed 300 items or 3.

Sources

Next step: run through the free checklist of 12 silent failures on one client account this week.

Related