When automation fails

The most dangerous failure in an automation is the one that gives no error message. Here are seven we’ve hit ourselves – with numbers, cause and what we do now.

Last checked:

ChecklistThe monitoring that actually helps
  • Hourly checks
  • Daily backup of all workflows
  • A regression test after every upgrade
  • An error workflow
  • Count outcomes, not runs

The background: we run two n8n installations of our own with flows for our own websites and for clients such as beauty salons and a furniture-assembly service. The failures below aren’t specific to n8n. They happen the same way in Zapier, Make and Power Automate.

1. “Success” – but the text message was never sent

In a salon reminder workflow, 12 of 207 text messages were never sent while every run showed as completed. The cause: the message was built as JSON by gluing strings together, and a backslash in the name of a treatment broke it. The provider rejected the message, but the flow carried on. What we do now: JSON is always built with JSON.stringify, and an extra step checks that the message was actually sent.

Build the message safely, and stop if it wasn’t sent

// WRONG: strings glued into JSON – a \ or " in a name breaks it
// const body = '{"to":"' + $json.phone + '","text":"Reminder: ' + $json.service + '"}';

// RIGHT: let JSON.stringify handle special characters
const body = JSON.stringify({
  to: $json.phone,
  text: `Reminder: ${$json.service} at ${$json.time}`,
});
return { json: { body } };

// In a Code step AFTER sending: require confirmation from the provider
// const res = $json;
// if (!res.id || ["failed", "rejected"].includes(res.status)) {
//   throw new Error(`SMS not sent for booking ${$('Booking').first().json.id}`);
// }

When the step throws an error, the run turns red, and an error workflow can alert a person. That’s the whole point: a failure has to be visible.

2. One workflow ate the history for all the others

A workflow running every 50 seconds used up the entire limit of 10,000 stored executions. Every other workflow was left with about three days of history, and the database grew to 547 MB, 417 MB of it execution data. What we do now: frequent workflows don’t save successful runs – only failures. Remember too that execution history can contain personal data, so don’t keep it longer than you need.

3. Limits in the systems you call

Google Sheets has a per-minute read limit that stops loops halfway through a run. We added a 2.5-second pause and five retries 5 seconds apart. Dinero allows 60 calls a minute for a private integration and 100 for a partner. The tools have limits too: Zapier pauses your Zaps at three times your plan, and Power Automate gives 6,000 actions per 24 hours with Microsoft 365.

4. The vendor removed something the flow used

When OpenAI retired older models, flows stopped working. We moved 56 workflows and 111 nodes to new models. The same happened when the free address service DAWA closed on 1 October 2026: every endpoint returns 410 Gone. What we do now: a daily scan of all workflows for retired models.

5. “200 OK” didn’t mean the system worked

Monitoring that only looks at the status code can say everything is fine while the page shows something else entirely. We’ve seen a system answer 200 with a database selector instead of the login. Rule: monitoring must check the content, not just the status code.

6. Data disappeared without an error

A system fetching mail over POP deleted mail on the server – including mail it had quietly discarded itself. Over five weeks, 1,438 mails were deleted but only 97 saved. Rule: read without deleting, and verify delivery by comparing ids, not by waiting for an error.

7. Webhooks anyone could call

A webhook URL is an open door. We check the signature on all webhooks from Meta (WhatsApp, Facebook, Instagram) and reject unsigned calls with 403. Bot tokens that sat directly in URLs have been moved into credentials in 36 HTTP nodes across 12 workflows.

The monitoring that actually helps

  • Hourly checks of both our n8n installations.
  • Daily backup of all workflows, kept for 30 days.
  • A regression test after every upgrade, so a new version doesn’t change results silently.
  • An error workflow that alerts a person when a run turns red.
  • Count outcomes, not runs: text messages sent vs bookings, leads in the CRM vs form submissions.

The same goes for the rest of our operations: 39 automated routines watch servers, backups and deploys. In a completely different place we hit a setting that looked like an outage: Chatwoot 4.1 shows “we’re not available” in the chat widget unless working hours are switched on, because only human agents count as online.

Want someone to review your existing flows – error handling, quotas, history and monitoring? Tell us which tool you use, and you’ll get a fixed price for a review before we start.

Sources

Last reviewed: 2026-12-03

Questions about automation failures

How do we notice a flow failing silently?

Count the outcome outside the flow: compare, say, the number of bookings with the number of reminders sent each day. If the numbers differ, something is wrong.

How long should we keep execution history?

As long as you need it for troubleshooting – typically days or weeks. Keep failures longer than successful runs, and remember the history can contain personal data.

What is an error workflow?

A separate flow that starts when another flow fails and alerts a person with the workflow’s name and the error.

How often should flows be reviewed?

Look for failures daily, and review each flow at least once a quarter, or whenever one of the systems changes version.

Fixed price, no commitment

Get a fixed price for your automation

Tell us briefly what you use today and what you want to achieve. A person answers by e-mail with a proposal and a fixed price before any work starts.

  • A fixed price before we start
  • An answer by e-mail, no calls
  • Your details are used only to answer you

Fields marked with * are required.

What is it about?