# Design and run workflows

Turn a recurring job into distinct responsibilities with explicit handoffs, review gates, and one obvious repair point.

- Outcome

  A named workflow whose steps have distinct responsibilities, output contracts, consumers, and acceptance checks.

- Best for

  Recurring work where evidence, expertise, output form, retry point, or human approval changes.

- Before you begin

  A representative input and a clear final result; existing Library prompts are optional.

- You are done when

  A normal and difficult run both produce an accepted result, and every failure has one earliest repair point.

## Before you begin

Choose a recurring job, one representative input, and the exact artifact that should exist when the work is complete.

A workflow is valuable because its handoffs are useful—not because it contains many prompts.

## Use the split-or-merge test

Keep one prompt when the same input, method, output, and evaluation form one coherent responsibility. Split only when evidence, expertise, output contract, intended consumer, independent evaluation, human approval, or retry point changes. Merge an adjacent step that merely continues, restates, extracts another field from the same source, or cosmetically reformats work its producer could cleanly deliver.

| Decision   | Example                                                                     | Why                                       |
| ---------- | --------------------------------------------------------------------------- | ----------------------------------------- |
| One prompt | Extract decisions, questions, actions, owners, and dates from meeting notes | Same evidence, method, and record         |
| Split      | Create the record, then audit it against the source                         | Different contract, gate, and retry point |
| Merge      | Analyze vendors, then evaluate the same vendors against the same criteria   | Same comparison responsibility            |
| Split      | Compare vendors, then write an executive decision brief                     | Different audience and output contract    |

## Define the saved system contract

Before opening the builder, write the **Trigger**, **Source input**, ordered **Responsibilities**, exact **Output**, **Review gate**, and **Destination**. For every proposed step, name its input, one responsibility, output structure, consumer, and acceptance check. If two adjacent rows have the same five answers, merge them.

## Build through the five stages

Stage

### Output Type

Choose the final deliverable, not an intermediate step.

Select **New Workflow**, choose the output family and closest format, then continue.

**Expected result:** The selected output type describes what the complete workflow produces.

Stage

### Workflow Structure

Choose an ordered workflow only after the split-or-merge test proves useful handoffs exist.

Choose **Multi-Step Workflow**. If the job is coherent without an independent handoff or gate, choose **Single Prompt** instead.

![AirPrompter chooser offering Single Prompt and Multi-Step Workflow](https://airprompter.com/docs/screenshots/workflows/prompt-or-workflow-choice.webp)

Choose one focused prompt or a guided sequence after selecting the result you want to create. [Open full-size image](https://airprompter.com/docs/screenshots/workflows/prompt-or-workflow-choice.webp)

**Expected result:** Multi-Step Workflow is selected for a job with at least two meaningful responsibilities.

Stage

### Build Steps

Assign a focused prompt to each responsibility in dependency order.

1. Choose the closest task type.
2. Attach a Library prompt or write a new one.
3. Define the exact input and bounded output.
4. Add the next step only when it passes the split test.
5. Reorder when a required input does not yet exist; remove pass-through work.

![AirPrompter workflow builder with an empty sequence and a workflow step chooser](https://airprompter.com/docs/screenshots/workflows/blank-workflow-builder.webp)

Build the sequence in order by choosing focused tasks such as Research, Outline, Create, or Format. [Open full-size image](https://airprompter.com/docs/screenshots/workflows/blank-workflow-builder.webp)

**Expected result:** Every step has a prompt, distinct output, named consumer, and acceptance check.

Stage

### Add Details

Make discovery and intended use obvious.

Name the full outcome, state when to use it and what it produces, select relevant categories, and include only supported execution platforms. Then continue.

![AirPrompter Add Details stage for a synthetic Meeting follow-up workflow](https://airprompter.com/docs/screenshots/workflows/meeting-follow-up-add-details-focused.webp)

Name the complete outcome, explain when to use it, and select only relevant categories and platforms. [Open full-size image](https://airprompter.com/docs/screenshots/workflows/meeting-follow-up-add-details-focused.webp)

**Expected result:** Name, description, categories, and platforms describe the complete recurring job.

Stage

### Approve

Review the entire system before saving it to the Library.

Verify the workflow map, prompt titles and descriptions, output type, Library preview, privacy state, categories, and platforms. Confirm every variable changes per run. Do not use `{{previous_output}}`; reference every prior result in prose. Select **Save Workflow** only after the map matches the contract.

![AirPrompter Approve stage showing a synthetic two-step Meeting follow-up workflow ready to save](https://airprompter.com/docs/screenshots/workflows/meeting-follow-up-approve-focused-v2.webp)

Review the ordered responsibilities, Library preview, privacy state, details, and final Save Workflow action. [Open full-size image](https://airprompter.com/docs/screenshots/workflows/meeting-follow-up-approve-focused-v2.webp)

**Expected result:** The workflow is private, ordered correctly, fully reviewed, and ready to save.

## Write reliable handoffs

The producing step defines what the next step receives:

```text
Output a research table with Claim, Evidence, Source, Confidence, and Open question.
Do not write the recommendation.
```

The consumer names how it uses the accepted result:

```text
Using the accepted research table, compare supported options against
{{decision_criteria}}. Exclude low-confidence claims from the recommendation.
```

Double braces are for user-supplied values. Earlier-step context is handled by the execution path.

## Use coherent workflow recipes

### Weekly operating review

1. **Collect** updates into an evidence table.
2. **Analyze** movement, blockers, and contradictions into a decision brief.
3. **Audit** the brief against updates for owners, dates, evidence, and unresolved risk.

**Why this is a workflow:** normalization, synthesis, and independent checking produce different artifacts and retry points. **Merge it when:** inputs already use the exact required table and no independent review is needed.

### Content production

1. **Research** the question into a source-backed evidence set.
2. **Outline** the reader journey and claim placement.
3. **Draft** only from the accepted outline and research.
4. **Audit** claims, required sections, and audience fit.
5. **Finalize** only accepted corrections into delivery-ready copy.

**Why this is a workflow:** evidence, structure, prose, independent review, and controlled revision each have a distinct contract. **Merge it when:** a low-risk short message can be drafted and checked coherently in one prompt.

### Vendor decision

1. **Collect** heterogeneous proposals and requirements into one evidence matrix—skip this when sources are already normalized.
2. **Evaluate** options against supplied `{{decision_criteria}}`, producing a recommendation with assumptions and unknowns.
3. **Audit** criterion coverage and evidence traceability, returning PASS or a correction ledger.
4. **Transform** the accepted analysis into an audience-specific decision brief.

**Why this is a workflow:** normalization is conditional, evaluation makes the decision, audit gates unsupported claims, and transformation serves a different audience. **Merge it when:** one short normalized input can be compared and written for one audience without a separate approval gate.

1. **Source**Approved proposals, requirements, criteria, and audience
2. **Work product**Evidence-backed recommendation with unknowns
3. **Review gate**Traceability audit against matrix and criteria
4. **Accepted result**Audience-specific decision brief from accepted analysis
5. **If it fails**Return to the earliest matrix, evaluation, or audit defect

## Run it in the right surface

Use the [browser extension](https://airprompter.com/docs/browser-extension) beside a supported AI chat when you want visible, manual control of each step. Supply variables, inspect each output against its acceptance check, and continue only when it is safe context.

Use [Connect](https://airprompter.com/docs/connect) when a supported AI host is authorized to find and continue workflows by name. Ask the host to identify required inputs before starting. Host capability and permission vary; the current Connectors page is authoritative.

## Evaluate and repair the earliest defect

Run one ordinary and one difficult case. Record whether each input was present, output matched its contract, gate caught a meaningful issue, and consumer could proceed without repairing hidden defects.

| Symptom                                | Earliest repair                      |
| -------------------------------------- | ------------------------------------ |
| Research contains unsupported claims   | Research source and evidence rules   |
| Outline misses a required topic        | Outline coverage contract            |
| Draft ignores evidence                 | Draft input and citation contract    |
| Audit says “looks good” without checks | Audit criteria and verdict format    |
| Finalize changes approved meaning      | Finalize preservation rules          |
| Every step needs the same correction   | Shared input or first producing step |

Stop before weak context compounds. Correct or rerun the responsible producer, then rerun every downstream gate that depends on it.

**Expected result:** the accepted final artifact can be traced to approved source material, and any failure identifies one earliest responsible step.

## Troubleshooting

### Add Details is disabled

Open every incomplete step and assign a Library prompt or complete its instruction.

### Two steps produce nearly the same answer

Fill in Input, Responsibility, Output, Consumer, and Acceptance for both. Merge them when those contracts do not materially differ.

### A later step lacks context

Fix both sides: the producer must output required fields, and the consumer must say how it uses the accepted result.

### A connected host cannot run it

Confirm the connection, exact workflow name, host tool list, and permissions on [Connect](https://airprompter.com/docs/connect). Review Personal and Team credential boundaries in [API keys and scopes](https://airprompter.com/docs/api-keys).

## Completion checklist

- The name describes the final outcome.
- Every step has one responsibility and a named consumer.
- Each handoff changes evidence, expertise, output, retry, or approval.
- Variables are consistent and previous results are referenced in prose.
- A normal and difficult run meet explicit acceptance checks.
- Every failure points to one earliest repair location.

## Next steps

Run the system with the [browser extension](https://airprompter.com/docs/browser-extension) or authorize a supported host through [Connect](https://airprompter.com/docs/connect).

---

Canonical: https://airprompter.com/docs/workflows
