← All field notes

Design the exception before the automation.

Reliable workflows need a clear answer to one question: what happens when the usual path fails?

A workflow that handles a perfect example is a useful demonstration. A workflow that handles missing information, duplicates and unavailable systems is closer to something a team can depend on.

The difference is often in the exception path.

Give every exception an owner

When the system cannot continue, someone should know why. Send the relevant context to a named team or queue: which record stopped, what is missing and what action is needed. A generic failure alert rarely helps a busy person recover the work.

Make retries safe

Repeating an action should not create a duplicate order, send the same message twice or overwrite a newer record. Use stable identifiers and check whether the intended action already happened before repeating it.

Make the current state visible

Teams need to distinguish “waiting for information” from “failed” and “complete”. A small status view can be more useful than a large dashboard. It should show the next action and who owns it.

Test the awkward cases

Test an incomplete submission, an unexpected document, a duplicate event and a temporary integration failure. Include a human review step for decisions where an incorrect result has consequences.

Good automation does not remove responsibility. It makes routine work easier to execute and exceptions easier to see.