The Pattern
Sometimes a single prompt can't do everything you need. But you can break complex tasks into steps, where each step's output becomes the next step's input. This is prompt chaining.
The flow is simple: Prompt 1 → Output 1 → Prompt 2 (includes Output 1) → Output 2 → Prompt 3...
Example: From Topic to Article
Here's how you might chain prompts to write a blog post about productivity tips:
2. "Productivity Theater" — Stop performing busyness and start measuring outcomes.
3. "The Async Advantage" — Why the best remote workers embrace time zone chaos...
(and 2 more)
[paste the 5 angles from step 1]
I. Hook: The Slack green dot doesn't mean you're working
II. What is Productivity Theater?
III. Why Remote Work Made It Worse...
(full outline)
[paste the outline from step 3]
Why Chaining Works
Each prompt in a chain has a focused job. Generate ideas. Evaluate options. Expand details. When you separate concerns, you get better results at each step.
Chaining also lets you inspect and adjust between steps. Don't like the ideas? Ask for more before continuing. See a flaw in the outline? Fix it before writing the draft.
Think of it like an assembly line where each station does one thing well, passing its work to the next station.
The Technique
Break your goal into steps. Run each step as its own prompt. Copy the output into the next prompt as context. Each step builds on the last.
When to Chain
- • The task has natural stages (brainstorm, evaluate, create, refine)
- • You want to review intermediate results before continuing
- • A single prompt would be too complex or unfocused
- • Different steps need different "mindsets" (creative vs analytical)
- • You need to transform data through multiple formats
Chain Length
Most effective chains are 2-5 steps. Longer chains work but require more attention — errors can compound. If you find yourself going beyond 5 steps, consider whether some steps could be combined.
You can chain manually by copying outputs between prompts, or automate it with code. Either way, the principle is the same: output becomes input.