Workflow practice
Prompt chaining: make each handoff checkable
Design a three-step AI workflow with explicit inputs, intermediate outputs and stop conditions. A worked source-summary example shows where errors enter.
By Prompt & Workflow Lab editorial · Published
Original worked examples are hypothetical, not measured product results. Sources checked 2026-11-09.
Split work where an intermediate result needs review
Prompt chaining means using one model call’s output as input to a later call. Its practical value is the opportunity to inspect a meaningful intermediate result. Simply dividing a long instruction into three messages does not automatically make the work more accurate. If an early step invents a fact and later steps accept it, the chain can make the invented fact look increasingly polished.
Use a chain when extraction, drafting and checking have distinct responsibilities. For a short wording change with no evidence to reconcile, one well-specified prompt may be easier to review. Extra stages create more handoffs, and every handoff needs a purpose.
Technical references: AWS prompt-chaining workflow
Start with a small source pack
Consider an original fictional source pack for a product update. S1 says: “CSV exports now include the selected date range. Limit: 5,000 rows.” S2 says: “The new export is available to workspace admins during the pilot.” S3 says: “A rollout date for other roles has not been agreed.”
The requested output is an internal summary of what changed, who can use it and what remains undecided. A dangerous summary would announce that all users can export unlimited records next week. The problem is not tone. Every important part of that sentence contradicts or exceeds the supplied evidence.
Stage 1: extract an evidence ledger
Ask the first step to produce records with a claim, source ID and qualification. For the example, one record should pair date-range export with S1 and its 5,000-row limit. Another should pair pilot access with S2 and the admin restriction. A third should retain the unresolved rollout date from S3.
Review this ledger before drafting. The gate passes only if source IDs exist, claims are supported and important qualifications remain attached. A source ID alone proves nothing: a model can attach S1 to an unsupported sentence. Read the actual passage. If the ledger says “all roles,” repair this stage rather than asking the final writer to be more careful.
Stage 2: draft only from the reviewed ledger
Give the next step the reviewed ledger, the audience and a clear output shape. In this example: a short change summary, an access restriction and an open-decisions line. Tell it to preserve numeric limits and unresolved status. Include the original source pack when needed for verification, but do not let an unreviewed earlier draft silently replace the evidence.
An acceptable illustrative output is: “During the pilot, workspace admins can export records for the selected date range, up to 5,000 rows. Availability for other roles has not been scheduled.” This is an authored demonstration of the desired evidence boundary, not a recorded model result.
The handoff should also state what may not happen. Drafting this summary does not authorize publishing it, updating a release tracker or notifying customers. Those are separate actions with their own recipient, timing and approval requirements.
Stage 3: check against the original inputs
The final check should compare the draft with the source pack, not merely with the previous model output. Otherwise a mistake in the ledger can survive every stage. Ask for unsupported claims, lost qualifications, numerical changes and unresolved conflicts, with a correction for each finding.
Use a concrete review question: “Does the summary preserve the 5,000-row limit and admin-only pilot?” This is easier to judge than “Is the summary good?” A second model response can help identify discrepancies, but it is not independent proof that the sources are true or that the final text is correct. A person remains responsible for the release decision.
Technical references: OpenAI evaluation best practices
Write a handoff contract for every boundary
Before running a chain, fill out a short record for each transition. If you cannot say what the next step consumes or what would stop it, the split is probably not helping.
- Input: name the exact source pack and reviewed intermediate artifact.
- Output: define the fields or sections the next step needs.
- Invariants: identify facts, limits and uncertainty that must survive.
- Gate: state which checks must pass before continuing.
- Failure action: repair the earliest faulty stage, ask a question or stop.
- Record: save the prompt version and relevant outputs without unnecessary private data.
Run the chain deliberately in Prompt & Workflow Lab
The Lab prepares prompts; it does not execute a chain or automatically transfer model outputs. After each step in your chosen AI tool, inspect the result and explicitly provide the reviewed material needed by the next step. A new conversation will not know what “the preceding ledger” means unless you include it.
Use the source-pack workflow as a starting point, then adapt the handoff fields to your task. The downloaded run pack preserves assembled instructions and review marks, not proof that the model ran them successfully. Keep execution results and unresolved issues alongside it. A useful chain makes the source of an error easier to find and correct; it does not remove the need to check.
Sources and scope
Provider rules and supported features can change. These sources support the technical background; the worked examples and decision checklists are authored for this article.
- AWS prompt-chaining workflow
Primary explanation of sequential calls and intermediate outputs. Checked 9 November 2026.
- OpenAI evaluation best practices
Primary guidance on task-specific criteria, datasets, comparison and evaluation after changes. Checked 9 November 2026.