The Automation Worked Yesterday: How to Detect Workflow Failures Before Customers Do
An automation can appear to work while enquiries go missing, emails fail or duplicate records accumulate. Learn how to monitor outcomes, detect silent failures and build a practical recovery process.
Core question: How can a business detect that an automated workflow has stopped working correctly before the failure affects customers, revenue or daily operations?
Introduction: A successful test is not a guarantee
An enquiry form is working. New contacts appear in the CRM, confirmation emails are sent, and the sales team receives notifications. The workflow passes its initial tests, so everyone moves on to the next project.
Three weeks later, a customer calls to ask why nobody responded to their enquiry.
The form still works. The website still loads. The automation platform may even report that its workflow is active. But an expired connection, a rejected email, a change in the form fields or a failed action has interrupted the process.
Nobody noticed because the business was monitoring whether the automation existed, not whether it was delivering the intended result.
This distinction matters. An automation can be switched on without completing its job. A workflow can also report a successful execution while producing the wrong business outcome, such as updating an existing contact incorrectly or sending the same message twice.
The practical question is therefore not simply whether an automation runs. It is whether the right event reaches the right destination, produces the right result and leaves enough evidence for someone to detect and resolve a problem.
What published evidence tells us
Monitoring, logging and recovery are established disciplines in information technology. They are not optional extras reserved for large companies.
Google's Site Reliability Engineering guidance on monitoring distributed systems explains how monitoring helps teams understand service behaviour and identify problems that require intervention. This is relevant to business automation because workflows often depend on several connected services, each with its own failure modes.
The Open Web Application Security Project (OWASP), in its Logging Cheat Sheet, identifies operational uses for logs, including process monitoring, performance monitoring, debugging and reconstructing events. It also recommends monitoring whether logging itself has stopped.
Microsoft's Power Automate guidance on failure notifications explains that individual failure notifications depend on the platform's notification rules. For example, a 28-day cooldown can prevent another individual notification for the same flow. Run history, monitoring tools and failure digests therefore remain important.
Microsoft also provides guidance on identifying and fixing connection failures. Broken connections and authentication problems can prevent workflows from completing their intended actions.
Finally, the US National Institute of Standards and Technology (NIST), in SP 800-34 Rev. 1, Contingency Planning Guide for Federal Information Systems, describes recovery planning as a structured process involving documented strategies, testing and maintenance.
These sources provide established principles for monitoring and recovery. They do not establish a universal failure rate for business automations, nor do they prove that every company experiences the same problems. The practical method below applies those principles to common business workflows.
Five ways an automation can fail without being noticed
1. The workflow stops receiving new information
A website form submits an enquiry, but the connection that transfers it to the CRM no longer works. Alternatively, a form is changed and a required field is renamed, preventing the downstream process from accepting the submission.
The workflow may remain switched on. If no new events arrive, there may be no failed execution to alert anyone.
What to monitor: The number of incoming events, the number of records created and the time since the last successful transaction.
For workflows that normally receive frequent events, a sudden drop to zero is a useful warning. For seasonal or low-volume businesses, silence is not necessarily a failure. Monitoring should account for expected activity.
2. A connection expires or loses permission
Automations commonly depend on accounts, credentials, tokens and permissions. A password change, revoked authorisation or expired connection can interrupt the process.
Microsoft documents broken or expired connections as a recognised source of cloud-flow failures. Its guidance also explains that notifications are not a complete substitute for inspecting run history.
What to monitor: Connection status, authentication errors, failed actions and whether an authorised owner receives an actionable alert.
Where a platform supports connection-expiry warnings, enable them. Do not assume that the person who originally created the workflow will remain available indefinitely.
3. The action succeeds technically but fails commercially
An email action may be accepted by a sending service, but the message can later be rejected or bounce. A contact may be created in a CRM, but assigned to the wrong person. A record may be updated without the information needed for the next step.
A green status indicator does not necessarily prove that the customer's experience was correct.
What to monitor: The business outcome, not just the technical action.
For an enquiry workflow, this might mean verifying that the enquiry exists in the CRM, has an owner, has the expected status and has a recorded next action. Email delivery may require separate delivery or bounce information from the email provider.
A successful sending action does not prove that a message reached the recipient's inbox, and delivery does not prove that the recipient read it. Verify only what the available evidence supports.
4. A retry creates duplicates
A temporary network interruption occurs after a system has processed a request but before the automation receives confirmation. The workflow retries. Without suitable safeguards, the same contact, invoice, task or notification may be created twice.
Retries are valuable for temporary failures, but repeating an action is not always safe. Sending an email twice or issuing the same refund twice can create a new problem while attempting to recover from the original one.
What to monitor: Repeated event identifiers, duplicate records, repeated notifications and unusually high execution counts.
Where possible, use a stable identifier for each incoming event and enforce a check that prevents an already completed business action from being repeated. Idempotency must be implemented through appropriate application logic, unique constraints or equivalent safeguards; simply assigning an identifier is not enough.
For consequential actions, verify the existing outcome before retrying whenever the result of the first attempt is uncertain.
5. The workflow runs, but its logic is no longer correct
A business changes its sales stages, required fields or approval rules. The automation continues running with outdated assumptions.
For example, a follow-up sequence may send a reminder to a prospect who has already become a customer. Every step may execute successfully, yet the result is wrong.
What to monitor: Business rules, record states, exceptions and changes to the process the automation supports.
Review automation behaviour after changes to connected applications, forms, data structures, permissions or business policies. Include tests for realistic exceptions, not only the standard successful path.
The practical method: Monitor the whole transaction
A reliable monitoring approach starts with one business process and follows an event from its source to its intended outcome.
Consider an enquiry-to-follow-up workflow:
- A prospective customer submits a website form.
- The enquiry is received by the automation.
- A contact and enquiry record are created or updated in the CRM.
- The enquiry is assigned to a responsible person.
- A confirmation email is sent.
- A follow-up task or reminder is scheduled.
Checking only whether the automation is active tells you very little about the complete process. Each stage needs an observable result, and the business needs a way to identify when an expected result is missing.
Step 1: Define what success means
Document the expected result for each stage. Avoid vague definitions such as "the workflow ran successfully."
| Stage | Evidence of success | Possible failure |
|---|---|---|
| Form submission | Submission accepted and identifiable | Form error or missing event |
| CRM update | Correct record exists | Rejected update or incorrect mapping |
| Assignment | Responsible owner is recorded | Unassigned enquiry |
| Confirmation | Sending outcome is recorded | Rejection, bounce or missing message |
| Follow-up | Task exists with a due date | Task missing or duplicated |
Not every platform exposes every result directly. Identify which system provides the evidence and whether you need a separate check.
Step 2: Record enough information to investigate
For each important transaction, capture a timestamp, a unique event or record identifier, the workflow stage, the outcome and any relevant error information.
For example, an internal log might record:
- Event ID: ENQ-10482
- Received: 10:14
- CRM record: created
- Owner assigned: yes
- Confirmation action: failed
- Error category: connection failure
- Recovery status: awaiting retry
- Responsible owner: operations
This is an illustrative log format, not a report of a real incident or measured business result.
Avoid placing passwords, access tokens or unnecessary sensitive customer information in logs. OWASP's logging guidance explains why sensitive information must be excluded or protected and why logs themselves need appropriate access controls.
The purpose is to make the transaction traceable without creating an additional privacy or security risk.
Step 3: Detect missing outcomes as well as explicit errors
This is one of the most important controls.
A failed-action alert detects a recorded failure. It cannot necessarily detect an event that never entered the workflow in the first place.
Use three complementary checks:
Execution monitoring: Did the automation start, and did its actions finish?
Outcome monitoring: Does the expected CRM record, assignment, email result or follow-up task exist?
Volume and timing monitoring: Is the workflow receiving approximately the expected number of events, and are they being processed within an acceptable period?
For example, a business might expect enquiries to appear in its CRM within two minutes. It could flag submissions that remain unprocessed beyond that threshold. The two-minute limit is a sample business rule, not an industry standard; choose a threshold that reflects your actual service commitments.
Similarly, a sudden absence of enquiries should trigger investigation only when it conflicts with expected activity or an independent source of evidence. A quiet day is not automatically an outage.
Step 4: Design retries carefully
Retries should be based on the type of error and the consequences of repeating the action.
| Failure type | Appropriate response |
|---|---|
| Temporary connection or rate-limit error | Retry within a defined limit, where safe |
| Expired credentials | Alert the owner and restore authorisation |
| Invalid or missing data | Hold the item for correction |
| Duplicate event | Check its identifier and prevent repeated processing |
| Uncertain outcome of a consequential action | Verify the outcome before retrying |
| Repeated failure | Stop automatic attempts and escalate |
Microsoft's error-handling guidance for Power Automate covers retry settings, error logging, notifications and terminating a flow after an error.
For transient errors, a retry policy with exponential backoff can prevent repeated attempts from overwhelming a struggling service. Set a retry limit and a clear terminal state. After that limit, move the item to a review queue or another controlled recovery process.
The operational principle is straightforward: retry temporary problems when doing so is safe, but do not repeatedly execute an action whose outcome is uncertain.
Step 5: Make alerts actionable and assign ownership
An alert that says "workflow failed" is not enough if nobody knows what to do next.
Every important alert should identify:
- Which workflow and stage failed.
- When the problem occurred.
- Which event or record is affected.
- What error was reported.
- Whether a retry is scheduled or the item is awaiting review.
- Who owns the next action.
- When escalation is required.
Send critical alerts to an appropriate shared channel or mailbox rather than relying exclusively on one employee's account.
Also test the alert mechanism itself. If the notification depends on the same broken connection as the workflow, the failure could prevent its own alert from being delivered. Where the risk justifies it, use an independent monitoring path.
Step 6: Maintain a recovery procedure
Monitoring is useful only if the business can respond.
For each critical workflow, document a simple recovery procedure:
- Identify the first failed action and the affected event IDs.
- Determine whether the business action occurred despite the reported error.
- Correct the underlying problem, such as expired access or invalid data.
- Reprocess only the events that still require action.
- Check that each event produced the intended result exactly once.
- Record the resolution and verify that normal processing has resumed.
Keep a manual fallback for processes whose interruption could materially affect customers, revenue or compliance. For an enquiry workflow, that might mean temporarily reviewing website submissions directly and assigning enquiries manually.
NIST's contingency-planning guidance supports the broader principle of preparing and testing recovery arrangements rather than improvising them during an outage.
A monitoring checklist you can apply today
Use this checklist to assess one existing automation before expanding it or building another.
- Success criteria: Each stage has a defined business outcome.
- Execution history: Successful, failed and cancelled runs can be inspected.
- Missing events: There is a way to identify expected records that never arrive or remain unprocessed.
- Data validation: Required fields, mappings and record states are checked.
- Duplicate prevention: Repeated events cannot create unintended duplicate actions.
- Safe retries: Retry limits and rules distinguish temporary errors from unsafe repetitions.
- Failure alerts: Important failures generate useful notifications.
- Alert ownership: A named role or team is responsible for responding.
- Independent detection: Critical failures can be detected even if the main notification path fails.
- Audit trail: Event IDs, timestamps, outcomes and recovery actions are recorded.
- Recovery procedure: Someone can correct and reprocess affected items safely.
- Regular review: Run history, missing outcomes and unusual activity are reviewed at an appropriate frequency.
- Change testing: Connected-system changes trigger relevant regression tests.
- Privacy and access: Logs contain only necessary information and are appropriately protected.
Do not treat every item as equally important. Prioritise controls according to the consequences of failure, the volume of transactions and the time available to detect and recover from a problem.
A missed marketing notification may be inconvenient. A duplicate financial transaction or a lost customer enquiry may have much greater consequences.
How to measure whether monitoring is working
Businesses do not need an elaborate dashboard to begin. A small set of meaningful measures can reveal whether a workflow is becoming more reliable.
1. Failure detection time
How long passes between the first failed or missing outcome and detection?
Shorter detection times can reduce the period during which problems remain unresolved.
2. Recovery time
How long does it take from detection until normal processing is restored?
Record both the time spent fixing the underlying issue and the time spent reconciling affected transactions.
3. Outcome completion rate
What proportion of eligible incoming events reach their required business outcome within the agreed period?
Define the denominator carefully. Exclude legitimate cancellations or rejected submissions where appropriate, and do not count an event as complete merely because the workflow executed.
4. Duplicate rate
How often does an event produce an unintended duplicate record or action?
Track duplicates separately from ordinary retries, because a retry that is safely deduplicated is not necessarily a failure.
5. Unresolved exceptions
How many failed or uncertain transactions remain awaiting review, and how old are they?
A workflow that retries automatically but leaves unresolved items unnoticed can accumulate operational risk.
These measures should be based on actual business records and a clearly defined measurement period. Establish a baseline before setting improvement targets. Without baseline data, a claimed percentage improvement would be speculative.
For a small business, a weekly review may be sufficient for a low-risk process, while a high-volume or business-critical workflow may need immediate alerts and more frequent checks. Monitoring frequency should follow the cost of failure, not a universal calendar rule.
A 30-minute monitoring review
If you already have an automation in place, you can start without purchasing another platform.
- Minutes 0–5: Select one workflow. Choose a process where a missed action could affect a customer, employee or financial outcome.
- Minutes 5–10: Define the expected result. Write down what must happen from the original event through to completion.
- Minutes 10–15: Inspect recent execution history. Look for failed or cancelled runs, unusual gaps and recurring errors.
- Minutes 15–20: Check for missing outcomes. Compare incoming events with the corresponding CRM records, messages or tasks.
- Minutes 20–25: Test the alert and recovery process. In a safe test environment, introduce a controlled failure and verify that the correct person is notified. Avoid deliberately disrupting a live customer process.
- Minutes 25–30: Assign the next actions. Document the owner, alert threshold, retry rule and recovery procedure.
This 30-minute review is a practical starting exercise, not a validated industry methodology. Its purpose is to produce a short monitoring plan rather than another complicated project.
When should monitoring itself be automated?
Not every task needs another layer of automation. The decision depends on the volume of work, the consequences of failure and the reliability of manual checks.
Automated monitoring is especially valuable when transactions are frequent, failures can remain invisible, the impact of delay is significant or a person cannot reasonably inspect every outcome.
Manual review may be sufficient for low-volume, low-risk processes where checking the records is straightforward and the consequences of delay are limited.
A sensible progression is to start with built-in run history, enable available failure notifications, introduce a simple outcome reconciliation and add independent monitoring only where the remaining risk justifies it.
The objective is not to automate every possible check. It is to ensure that the business can detect and respond to failures before they cause unacceptable harm.
Conclusion: Reliability is a process, not a switch
An automation that worked yesterday may fail today because its connections, inputs, permissions, dependencies or business rules have changed. Even a workflow with no reported errors may be missing events or producing the wrong outcomes.
The solution is to monitor the complete business transaction: what entered the process, what happened at each stage, what result was produced and what remains unresolved.
Start with one critical workflow. Define success, record traceable outcomes, detect missing events, make retries safe, assign alert ownership and document recovery.
Then test the controls, not just the automation.
The real measure of a reliable workflow is not how often it runs without an error message. It is how consistently it produces the intended result—and how quickly the business discovers when it does not.
References
- Google, Site Reliability Engineering: Monitoring Distributed Systems.
- OWASP Foundation, Logging Cheat Sheet.
- Microsoft Learn, Understand flow failure notifications in Power Automate.
- Microsoft Learn, Fix connection failures in cloud flows.
- Microsoft Learn, Employ robust error handling.
- National Institute of Standards and Technology, Contingency Planning Guide for Federal Information Systems, SP 800-34 Rev. 1.
Research note: This article synthesises published technical and operational guidance. It does not present original field research or claim to have measured business failure rates. The scenarios and example log illustrate practical applications of the cited principles; they are not represented as independently observed incidents.