All free resources
07Template · free to read

Decide what happens when the automation cannot finish.

Every automation will hit a record it cannot process. The difference between a trustworthy automation and a dangerous one is whether that record becomes a visible, owned exception or a silent gap.

The failure most likely to hurt you is not the one that pages someone at 2 a.m. It is the one that fails quietly for three weeks. Design for visibility first.

Severity tiers

Assign every known failure type to a tier during the build, not during the incident. Adjust the response times to your operation.

TierDefinitionResponseExamples
S1 — Money or complianceFunds move incorrectly, a legal deadline is at risk, or protected data is exposed.Immediate alert to a named person plus a backup. Stop processing. Do not retry automatically.Duplicate payment file, payroll submitted twice, credentials written to a log.
S2 — Deadline at riskThe process can still complete, but a business deadline will be missed without action today.Alert the owner within minutes. Retry is allowed if the operation is safe to repeat.Vendor API down before a shipping cutoff, export file never arrived.
S3 — Record-level exceptionMost records succeeded; specific records could not be processed.Queue for the owner. Batch notification. Review daily.Missing address, unmapped account code, failed validation, duplicate identifier.
S4 — InformationalHandled automatically; no action needed, but a pattern would matter.Log only. Review weekly for trends.Retry succeeded on attempt two, rate limit reached and backed off successfully.

What every exception record must contain

An exception a person cannot act on is only slightly better than no exception at all.

  • What was being attempted

    The process name and the step it reached.

  • Which record

    The business identifier a person can search for—employee ID, order number, invoice number. Not only an internal row ID.

  • Why it failed, in plain language

    "Location 12 has no shipping address on file" is actionable. A raw stack trace is not.

  • The original payload, preserved

    So the record can be reprocessed after the underlying problem is fixed, without re-keying it.

  • When it happened, and how many times

    Timestamp plus attempt count. Repeats reveal patterns that single failures hide.

  • What the system did next

    Retried, stopped, skipped, partially wrote. Ambiguity here causes duplicate work during recovery.

  • Who owns it

    A named person or a monitored queue. Never an unmonitored inbox.

  • How to reprocess it

    The exact procedure for a person to retry once the cause is resolved.

Retry rules that do not make things worse

  • Only retry operations that are safe to repeat

    Reading data is safe. Creating a payment, a shipment, or a journal entry is not, unless the receiving system can recognize and reject a duplicate.

  • Use increasing delays, and cap the attempts

    A common pattern is three attempts at roughly 1, 5, and 25 minutes. Continuous retrying against a struggling vendor extends the outage.

  • Send a unique reference with every write

    When the receiving system supports it, this lets a repeated request be recognized as the same request instead of a second one.

  • Stop the batch on systemic failures

    If the first twenty records all fail the same way, the twenty-first will too. Fail fast, alert, and preserve the queue.

  • Never retry an authentication failure in a loop

    Repeated attempts with bad credentials get accounts locked. Alert instead, on the first failure.

The operating cadence after go-live

  • Daily: clear the exception queue

    Every S3 exception is resolved or explicitly deferred with a reason and a date. A growing queue is the first sign of drift.

  • Weekly: read the S4 log for patterns

    Retries that keep succeeding on the second attempt are telling you something about a vendor before it becomes an outage.

  • Monthly: confirm the automation actually ran

    Check run counts against expected counts. A job that stopped firing produces no errors at all—which is exactly what makes it dangerous.

  • Quarterly: verify the alerts still reach a person

    Test an intentional failure. People change roles, distribution lists rot, and alert rules get muted.

  • On vendor change notices: review the mapping

    A deprecation notice or new API version is a scheduled maintenance event, not an emergency—if someone reads it.

Ten failures to plan for before launch

These cover most of what actually happens in the first year. Assign a tier to each one during the build; the incident is a poor time to be deciding.

FailureTierAutomatic responseWhat the person does
Vendor API unavailableS2Retry three times with increasing delay, then stop and preserve the queue.Confirm the vendor status, decide whether the deadline is still reachable, and release the queue once service returns.
Token expired or authentication rejectedS2Stop immediately. Do not retry — repeated attempts lock accounts.Reissue the credential and confirm the rotation date is in the calendar so it does not recur.
Required field missing on a recordS3Skip that record, write an exception, continue the batch.Fix the source record and reprocess it from the exception queue.
Unmapped code encounteredS3Skip the record and name the unmapped value in the exception.Add the code to the mapping table, then reprocess. A recurring pattern means the mapping needs a review, not another row.
Duplicate identifierS3Process neither record. Write one exception naming both.Decide which record is authoritative and merge at source. Never let the automation guess.
Expected file never arrivedS2Alert at the expected time plus the grace period. Do not process a partial set.Chase the sender. Confirm whether a late file can still be processed inside the deadline.
Record count far outside the expected rangeS1 or S2Halt before writing anything. A batch of 40,000 where 400 was normal is a data error, not a busy day.Investigate the source before releasing. This check catches upstream mistakes nothing else will.
Downstream system rejects the writeS3Preserve the payload and the rejection message verbatim.Read the actual rejection text — it usually names the field. Fix and reprocess.
Scheduled job did not run at allS2A separate watchdog alerts on a missing run. The job itself cannot report its own absence.Restart, then find out why the scheduler stopped. This is the failure most likely to go unnoticed for weeks.
Same operation submitted twiceS1Reject the duplicate using the unique reference and alert.Confirm nothing was double-written downstream. If money moved, treat it as an incident regardless of tier.

The first two weeks after go-live

The runbook is a theory until it meets production. This is the period that turns it into an operating document.

  • Watch every run for the first week

    Not the alerts — the runs. Confirm the counts match what you expected and that the process finished when you thought it did.

  • Deliberately break something on day two

    Submit a record with a missing required field. Confirm the exception appears, contains what the runbook promised, and reaches the named person.

  • Read every exception, even the boring ones

    The first fortnight of exceptions teaches you more about the process than the entire discovery phase did.

  • Time the first reprocess

    Have the owner reprocess an exception using only the written procedure, with nobody helping. If it takes longer than ten minutes, the procedure is not good enough yet.

  • Check that the quiet things are running

    A job producing no exceptions might be perfect or might not be running. Confirm the run count, not the error count.

  • Update this runbook with what you learned

    Add the failure types you did not predict, and correct the tiers you got wrong. A runbook that is never edited after launch was never used.

↓Take it with you

We ask for a name and work email so we can send the file and answer if you reply. Free to download, edit, and use inside your organization, including with other advisors. Please do not resell it or republish it as your own product.

RMore free resources
R2When the tool finds something

Send us what you found.

You have just done the hard part. Paste in the result and we will tell you straight whether it looks feasible and what proving it would take — in writing, with no meeting to book first.