Prompt chaining

Splitting a complex task into a sequence of smaller prompts, where each step's output becomes the next step's input.

Last updated: · Markdown version

How to apply it in prompts

Use this concept to reduce ambiguity and improve consistency. If you need strict formatting, combine it with a JSON guide and a per-model template.

What it means
Copy-paste example
Step 1 of 3 — extract.
From the text below, list every factual claim as a numbered list. One claim per line, no commentary.

Text:
"""[paste]"""

(Next step: paste this list into step 2, "draft a summary using only these claims"; then step 3, "check the summary against the list and flag anything not supported".)
Opens the analyzer with the prompt prefilled.
Open in Promptea
FAQ
When is chaining worth it?
When the task has distinct stages, when one big prompt gives inconsistent results, or when you want to inspect or fix the output midway.
How is it different from chain-of-thought?
Chain-of-thought happens inside one response (the model shows its steps). Chaining uses several separate requests that you control.