Dry run preview

Show the full sequence the agent intends to execute, with side effects marked, before anything runs.

WorkflowPricing-change goodwill credit Dry run · nothing changed
MMilky's plan
plan 7f3a · 5 steps
  1. Find accounts under 50 seats that downgraded or cancelled after 1 July
    Read only 38 accounts match
  2. Leave out accounts with an open billing dispute
    Read only 2 left out: Dana Ortiz, Harbor Yoga
  3. Add a $120 goodwill credit to each account
    Moves money 36 × $120 = $4,320 · reversible for 30 days
  4. Email each account owner about the credit
    Emails customers 36 emails · template "We heard you" · can't be unsent
  5. Post a summary to #billing-ops
    Writes 1 message
If you run this plan
  • Credits issued$4,320
  • Customer emails36
  • Team chat posts1
  • Records deleted0

The run executes plan 7f3a as shown. If live data no longer matches it, Milky stops and asks.

Try it: Read the plan and its side effects, switch the customer emails off if you like, then run it and see the receipt match the preview line for line.

In the wild

How one product ships this pattern. Click a screenshot to enlarge it.

Agentforce Builder Preview panel set to 'Simulate Mode' with a test conversation on the left and an Interaction Details list on the right: Input, Reasoning, Transition to Topic, Reasoning, Output Evaluation, plus a written summary and a 2.60 s timer.
Salesforce Agentforce
Agentforce Builder runs test conversations in Simulate mode and lists every reasoning step, topic switch and action the agent would take, before it is deployed.
Source: Salesforce Trailhead ↗

When to use

Bulk operations, migrations, and workflows a user cannot easily inspect afterwards.

Seen in

Terraform-style plan views in agent builders, Zapier test runs, Gemini Agent Designer preview.

For engineers

Generate the preview from the same plan object the executor consumes, or it will drift.

Build prompt

A neutral, component-only prompt for a coding agent. Edit the stack block or anything else to fit your project, then copy it.

Download this prompt as Markdown, or every prompt as JSON for an agent.

Critique checklist for governors

0 of 4 checked

These questions apply to every pattern in this family. Ticks are saved in this browser.