Why automations fail in production: six causes
The dangerous failure in automation isn't the one that throws an error. It's the scenario that stops, tells nobody, and is found when a customer asks where their order went. These are the six causes we see most often, from silent stops to modules the platform no longer supports, with the engineering that prevents each, drawn from systems we've built and audited.
By Saveez IrfanUpdated
The short version
- Silent failure is the bigger risk. Send failures into a channel someone reads, and add a heartbeat for anything scheduled.
- A retry that writes twice creates duplicates. Derive a stable key and find or create, so running twice leaves the same result as running once.
- Credentials pasted into a workflow travel with every export and are never rotated. Keep them in a connection or variable store.
- Polling more often than the data changes is a common cause of an inflated bill. Use a webhook or widen the interval.
- Rules that protect the business belong in the database, where a refactor can't remove them.
- An automation can break with no change on your side when a module, app version or API it uses is deprecated. Keep an inventory of what each workflow depends on, follow the vendor's upgrade path and test the upgrade in a copy.
Why do automations fail silently?
Automations fail silently because the platform's default alert is an email to individual users, set by each person's notification preferences, and a scenario that keeps erroring can be switched off by the platform itself. On Make, for example, a scheduled scenario is deactivated after three consecutive errors by default (the threshold is a setting, and instant-trigger scenarios are handled differently), so an unread email may be the only signal that the process has stopped. Check your own platform's current documentation for its defaults. Often no one notices until a downstream consequence appears, such as a customer asking where an order is.
On the fleet order automation, the clock on an installation job existed only in somebody's memory, so a breach of the two-business-day commitment was something the team found out about from the customer. That's a silent failure with a person in place of an automation. The fix was an SLA engine that runs the clock against a business-day calendar and escalates by itself when it expires. A smaller guard from our Make work does the same for documents. When the filing scenario can't find a signed lease's folder, it files the PDF in a holding folder and says so (/work/make/signed-document-filing).
What to build instead
- Alert into the channel the team works in instead of an inbox. A failed run should interrupt somebody.
- Attach the run log to the alert: the trigger, each step's input and output, and the error.
- Add a heartbeat for anything scheduled. A scenario that should run hourly and hasn't run in three hours has failed even though nothing errored.
- Tell a run that failed apart from a run that never started. They have different causes, and only one of them appears in the platform's error list.
Why does a retry create duplicates?
A retry creates duplicates when the automation's write is unconditional. A webhook delivered twice, a scheduled run that overlaps the last one, or someone re-running a failed execution each repeat the create, and you now have two records. The fix is idempotency, meaning that running the automation twice leaves the same result as running it once.
Duplicates erode trust faster than almost any other fault, because everyone can see them and they imply the whole system is unreliable.
What to build instead
- Derive a stable key from the payload, such as an order number or document identifier, and search before creating. On the fleet order automation, inbound orders are matched against existing rows, so a resent order corrects the row instead of adding a second.
- Prefer upsert semantics wherever the platform offers them.
- Where the destination is a database you control, put a unique constraint on that key. A constraint is a guarantee. A search-then-create is a race.
- For one-off loads, make them re-runnable. The trading ERP's history load was idempotent, so running it again corrected records without duplicating them.
- If you can't say of a scenario that running it twice is safe, it isn't finished.
Why are credentials inside a workflow a problem?
A token pasted into a module's headers becomes part of the workflow body. It travels with every export and appears in every screenshot, and it can only be rotated by editing every place it was pasted, so in practice it's never rotated.
What to build instead
- Move tokens into the platform's connection or variable store and reference them by name.
- Audit existing scenarios for hardcoded keys. Blueprint Runner does this with a single scan-and-extract action that finds bearer tokens and keys in a pasted Make blueprint and rewrites it to reference variables. The same sweep is worth doing by hand on any platform.
- Where a token is account-wide and therefore dangerous, keep it in one server process. On the fleet order automation the monday.com token reaches commission columns, so a Python service owns it. The module that calls that service imports server-only, which turns a client component reaching for it into a build failure rather than a review comment.
- Never let an export containing credentials reach a repository, a ticket or a chat message.
Why do automation bills grow faster than volume?
Bills grow faster than volume when the structure multiplies billable units: polling more often than the data changes, doing per-row work that could be batched, or iterating a whole table where a filter would do. When a bill outgrows volume, look at structure before price, because each of the three causes below can be fixed without changing what the automation does.
- 01A polling trigger checking far more often than the data changes. On a platform that bills every check, checking every 5 minutes is 288 checks a day, 288 x 30 = 8,640 a month. If the data changes twice a day, that's about 60 changes a month. Move to a webhook or widen the interval. The FormCraft build uses a database webhook on insert, with polling only as the fallback.
- 02Per-row work that could be batched. Fetching a hundred records and acting on each individually, where one filtered query and a single write would do.
- 03An iterator over an entire table because a filter was easier to omit than to write. The filter belongs in the query, not in a condition downstream of it.
Whether an empty poll is billed depends on the platform and the trigger type, so check how yours counts before you estimate the saving.
Why should safety rules live in the database?
Rules whose violation would damage the business belong in the database schema, because every code path, automation and manual edit has to pass through it. A check in one function disappears when that function is refactored, or when a second path writes straight to the table.
The constraints that protect a business, such as this can't send twice, this address isn't verified, or this record can't be deleted, are often implemented as one check in one place. Application code gets refactored. Database constraints don't.
- Unique constraints for what must not duplicate. In Skofi Outreach, a step sends once per enrolment.
- Check constraints for states that must never coexist. There, an address can't be marked verified without a verification source and timestamp, so a guessed address never enters the sendable pool.
- Triggers for cascades that must always happen. A suppression stops every enrolment for that address at once.
- Row-level security, so a query from any client returns only what that user may see. The school ERP enforces branch and role scope this way, so a mistake in the interface can't leak another branch's data.
- Append-only tables for audit trails. In the trading ERP, staff can select and insert but there's no update or delete policy, so the trail can't be rewritten through the API.
Test the constraints as well as the application. Skofi Outreach ships functional tests that run against a scratch database, and they're the acceptance gate, so all of them must pass before the system goes near a real sending domain.
Why does an automation break when the platform stops supporting a module?
An automation can stop working with nothing changed on your side, because something it was built on is no longer supported. That might be a module the platform has deprecated, an app version marked legacy, an API version the vendor has retired, or an app that has left Zapier or Make altogether. The workflow looks exactly as it did last month. The step underneath it either errors, is switched off by the platform, or carries on returning less than it used to.
- Make replaces an app's modules with new versions and marks the old ones as legacy. Its help centre describes swapping a legacy module for the new one in a cloned scenario and remapping the fields, and it offers a Module Migrator for some apps. Its monday.com app is a recent example. Make asked users to move every module from v1 to v2 by 1 May 2026. It said v1 would then be unsupported and scenarios still on it might stop working or return errors. It also listed fields that were removed or renamed, so mappings had to change as well.
- Zapier labels app versions Legacy, which still work but will lose support over time, or Deprecated, which shows an update-required notice on the step. Its help centre says Zaps on a deprecated version are turned off on the end-of-life date, and that you update by changing the step to the current version of the app and testing it.
- The vendor behind the app can withdraw access on its own schedule. When a network or service turns its API off, no module upgrade brings it back.
Our own audits show each form of this. A US home builder's insurance-certificate reader (/work/make/subcontractor-paperwork-filing) uses an OpenAI assistant module that Make marks as deprecated, so it has to move to a current module before it's switched back on. The same builder's social publisher (/work/make/ai-social-content-publishing) has a route for X behind an ignore handler because that network's API access was turned off, so nothing is posted there and the failure shows only as a missing status. An Australian digital agency's usage-alert Zap, meant to warn at 80% of the task allowance, is off and built on deprecated apps. So nothing warned that the workspace was running out of tasks, and that period it went past its plan allowance. And an Australian furniture maker's account holds an unpublished Zap on an app that has since been deleted. Each is written up, anonymised, in our Make and Zapier work.
How to spot it
- Labels in the editor: Make's legacy marker and upgrade option on a module, Zapier's Legacy or Deprecated tag and update-required notice on a step. Open every important workflow and look, because no one else will.
- Warnings and new errors in run history, especially a step that has started failing, or succeeding with empty output, without anyone editing the workflow.
- Notices from the platform and the vendor: deprecation emails, app-update posts in the platform's help centre and the vendor's API changelog. Send them to a shared inbox instead of the person who built the workflow and has since moved on.
- A heartbeat that goes quiet. A workflow the platform has switched off doesn't error any more. It just stops, which is why the heartbeat in the first section matters here too.
What to do instead
- 01Keep an inventory: every scenario and Zap, the apps and module versions each step uses, who owns it, and whether it's switched on. A list like that turns a deprecation notice into a search instead of a hunt.
- 02Follow the vendor's upgrade path step by step. Use the replacement module or app version it names, and read its notes for removed or renamed fields, because those are what break the mappings downstream.
- 03Test in a copy. Clone the scenario or duplicate the Zap, upgrade the copy, run it on real sample data and compare its output with the original before you swap them over. Switch the old version off and keep it until the new one has run cleanly for a while.
- 04Where a vendor has withdrawn access entirely, decide whether the step is still needed, replace it with a different service, or remove it, and record the decision so the next audit doesn't rediscover it.
How do you ship an automation safely?
Run it in shadow mode first: alongside the existing process, logging what it would have done without doing it, then compare against real work before cutting over. Comparing predicted against actual on real data is the only test that counts.
The fleet order automation shipped its allocation and SLA layer behind a shadow-mode flag and a go-live cutoff. It ran next to the manual process, and comparing the two on real orders is what made the cutover uneventful.
FAQs
The platform's default failure alert is usually an email to individual users, and a scenario that errors repeatedly can be switched off automatically (Make does this after three consecutive errors by default on scheduled scenarios). Send failures to a team channel, attach the run log, and add a heartbeat so a scheduled run that never started is also caught. Check your platform's current documentation for its defaults.
An automation is idempotent when running it twice leaves the same result as running it once. You get there by deriving a stable key from the data, searching or upserting before creating, and putting a unique constraint on that key where you control the database.
With an audit rather than a rebuild. Establish what runs, what each scenario touches, where the credentials are, and what happens when each step fails. That gives you a ranked list of what to fix now and what to leave alone, and it's usually a better first step than rewriting anything.
Enough to answer two questions without opening the platform: did it run, and did it do the right thing. In practice that's an alert on failure, a heartbeat on anything scheduled and a run log you can read afterwards. Beyond that you're usually building a dashboard no one opens.
Often because something it depends on is no longer supported: a Make module marked legacy or deprecated, a Zapier app version past its end-of-life date, or a vendor API that has been retired. Check the editor for a deprecation label, then run history for new errors or empty output. The fix is the vendor's upgrade path, tested in a copy of the workflow before you swap it in, and an inventory of which workflows use which apps so the next notice is quick to act on.
Yes, wherever the platform exports a workflow as JSON. Committing the export gives you a diff when something changes, a record of who changed it and a way back. It isn't full version control, but it's far better than having no history.
Sources
Statements about what a platform does are checked against the vendor’s own documentation as of 2026-11-20. Vendors change things, so check the current page before you rely on a limit or a price.
- Scenario settings · Make
- Overview of error handling · Make
- Manage your email preferences · Make
- Operations · Make
- How is task usage measured in Zapier? · Zapier
- Update legacy modules with new modules · Make
- monday.com app v1 to v2 transition by May 1, 2026 · Make
- Introducing Module Migrator · Make
- What are legacy and deprecated apps? · Zapier
- App versions in Zapier · Zapier
Drafted with AI assistance (Claude). Published under Saveez Irfan’s name, who is accountable for it. Editorial policy







