Define what must stop first
List the actions that can affect customers, money, or public pages. Those actions stop first. Reporting jobs can usually wait. Public edits, emails, ad changes, and billing actions need the fastest pause path.
- ✓ Rank actions by customer impact.
- ✓ Put public and billing actions at the top.
- ✓ Name the person who can pause the workflow.
Save the state needed to recover
Recovery needs the prior page version, the prior audience list, the input file, or the last good record. Save that state before the run. A log that says a job failed is not enough if the prior state is gone.
- ✓ Back up inputs before each live run.
- ✓ Keep prior page or list versions.
- ✓ Record the run ID with every output.
Write retry rules before retries happen
Retries can duplicate emails, records, or charges. Set idempotency rules for actions that may run twice. If the system cannot prove an action happened once, it should stop and ask for review.
- ✓ Use unique keys for repeatable actions.
- ✓ Block duplicate sends by record ID.
- ✓ Send uncertain actions to review.
Test recovery with a harmless case
Run a test that fails on purpose. Pause the workflow, restore the prior state, and confirm the customer-facing output is correct. A rollback plan that has never been tested is only a hope.
- ✓ Test pause and restore before launch.
- ✓ Check the restored output in the live view.
- ✓ Update the runbook after the test.