Every AI Workflow Needs an Undo Button, Even If Nobody Makes One
We spend a lot of time making agents act and almost none making them stop. A case for building reversal into automations before you need it.
An agent that can send forty emails is impressive until it sends forty wrong emails. The industry talks about guardrails as if they were a filter you put in front of a prompt. In practice, the useful guardrail is much less glamorous: a way to see what happened and put it back.
I now design every automation with three things that nobody brags about in a demo. First, a log in plain language: what was changed, for which record, at what time. Not a stack trace — a sentence a non-technical person could read. Second, a snapshot of the prior state before any bulk operation, stored somewhere the tool cannot overwrite. Third, a single stop switch that halts the whole flow, not a setting buried in a menu. I have used the stop switch twice, and both times it was the difference between a bad hour and a bad week.
The reason this is neglected is that reversal is unglamorous work. It does not make a screenshot look good. It does not fit into a launch post. It also requires you to think about failure at the moment when you are most excited about the thing working. I get that resistance; I have felt it. But the moment you hand a system the ability to act on your behalf, the interesting engineering question changes from "can it do it" to "can I take it back."
There is a compliance angle too, which is why this matters beyond tidiness. If an automated decision touches a customer's account, you need a record of what was decided and on what basis. Under GDPR or DSGVO, that record is not optional, and a human-readable log is a sensible starting point. In the US, the FTC's expectations about accurate claims apply just as much to automated messages as to hand-written ones. An undo path is how you fix a mistake before it becomes a complaint.
Next time you build a workflow, write the reversal step before the first successful run. It takes ten minutes when you are calm and several hours when you are not.
