Ask what a workflow will do and most systems can only answer by doing it. You read the definition, form a belief, and find out whether the belief was right from the consequences.
For reversible actions that's an acceptable way to work. For anything that reaches a customer, moves money, or deletes state, it's a strange thing to have accepted.
A dry run — an execution that resolves everything and performs no side effects — is the least glamorous guardrail in the toolbox and probably the highest-value per hour of engineering.
What a real dry run produces
Not "the workflow appears valid." A concrete, specific list of intended effects:
DRY RUN · customer-offboarding · acct_8812 (Acme Corp)
DELETE contacts 1,204 rows matched by account_id = 8812
DELETE attachments 318 rows cascade from contacts
UPDATE subscriptions 1 row status: active -> cancelled
EMAIL billing@acme.example 1 msg template: offboarding_complete
POST #cs-notifications 1 msg
5 operations · 1,523 rows affected · 1 external message
⚠ attachments delete is not covered by a retention snapshot
That's reviewable. Someone who knows the domain can look at "1,204 contacts" and say that's about right or that's ten times what I expected — a judgement they cannot make from a workflow diagram.
The properties that make it useful:
Real values, not placeholders. Resolve the actual account, count the actual rows, render the actual message body. A dry run showing DELETE FROM contacts WHERE account_id = ? has told you nothing you didn't know.
Counts and scale. The number is what catches errors. A missing filter shows up as a count three orders of magnitude too large, and that's visible at a glance in a way that a wrong predicate is not.
External effects called out separately. Emails, webhooks, payments — everything that escapes your system, listed distinctly, because those are the ones you cannot undo.
Warnings about what can't be predicted. Be honest where the preview is incomplete: conditional branches that depend on data fetched mid-run, loops whose iteration count isn't known in advance. An overconfident preview is worse than a hedged one.
Implementing it
The mechanism is a flag threaded through execution, and the discipline is that the decision to skip lives in one place.
The pattern that holds up: every side-effecting operation goes through a single path that checks the flag, records the intent, and returns a plausible synthetic result. Not each integration deciding for itself — one chokepoint. Integrations that each implement their own dry-run handling will eventually contain one that forgot, and you find out when it sends a real email during a preview.
Three things that are harder than they look:
Reads must be real. A dry run with mocked reads validates nothing. It has to query the actual database and call the actual read endpoints, so that counts and branch decisions reflect reality.
Synthetic results have to be convincing enough to continue. A step that creates a record and passes the ID to the next step needs a fake ID with the right shape. Get this wrong and the dry run diverges from the real path at step three, making everything after it fiction.
Chained effects are approximations. If step two's behaviour depends on what step one actually wrote, the preview can only guess. Say so in the output rather than presenting a guess as a prediction.
Where it pays
Before the first unattended run. Obvious, and the one people do.
On every change to an existing workflow. A diff of the dry-run output before and after an edit is a far better review artifact than a diff of the workflow definition. It shows consequences rather than configuration.
As the content of an approval request. An approval that includes the dry-run output is an approval someone can actually evaluate. This is the highest-value pairing of the two controls.
On a schedule, as a canary. Dry-running a critical workflow nightly and diffing against yesterday's output catches drift in the systems it depends on — a renamed field, a changed row count, a connection whose scope was narrowed — before the real run fails at 3am.
That last use is underrated. Most workflow breakage isn't caused by changes to the workflow; it's caused by changes to everything around it.
The objection
"Our workflows are too dynamic to preview."
Sometimes genuinely true — an agent that decides its steps at runtime cannot have its full plan enumerated in advance.
But the parts that matter usually can be. Even a workflow whose control flow is decided by a model calls a bounded set of tools against a bounded set of connections. Previewing "this run may delete from contacts, send email, and post to Slack, with these credentials and these caps" is less precise than a full plan and still more than most teams have.
Partial visibility beats none. The failure isn't building an imperfect preview; it's deciding that because the preview can't be perfect, you'll keep finding out from the consequences.
Turn one person's AI process into the company's.
Murmurator is invite-only. Already invited? Sign in and build something real.