Skip to main content
A pipeline runs several workflows one after another as a single run. Between them it can stop at a checkpoint, where a person reviews, edits or picks something before the next workflow starts. Use a pipeline when one job has distinct stages and you want a say in the middle. For example, an SEO article pipeline finds keywords, lets you pick the competitor pages to beat, writes an outline, lets you edit it, then writes and scores the article. Pipelines are under Workflows > Pipelines in the sidebar.

Stages, checkpoints and runs

  • Stage. An ordinary workflow from your workspace. It takes text start inputs, runs its steps, and hands its final output to the stages after it. You edit a stage in the normal workflow editor, and it still runs on its own.
  • Checkpoint. A pause for a person. The run waits until someone answers, then carries on with their answer. See Checkpoints.
  • Start inputs. The values a run begins with, such as a keyword. Like workflow start inputs, they are text.
  • Run. One pass through the pipeline. Each stage creates its own workflow run, grouped under the pipeline run.
  • Revision. A re-run of a finished run with something changed. Stages that would give the same result are reused, so you only pay for what runs again. See Re-running.
Each stage passes data on through its final output. End every stage workflow with a JSON Schema step that names the fields the next stage needs, such as keywords or outline. Later stages and checkpoints read those fields, for example {{outline.output.sections}}. They never read the steps inside a stage.

When should I use a pipeline instead of a workflow?

Use a single workflow when the job runs start to finish without anyone stepping in. Use a pipeline when:
  • a person should review, edit or choose part way through,
  • you want to change one answer and run only what depends on it again,
  • the job is easier to build and test as separate workflows that each do one thing well.
A stage workflow can’t contain a Human in the Loop or Sub-workflow step. Put the pause in the pipeline as a checkpoint instead.

How do I create a pipeline?

  • From a template. On the Pipelines page, click Use a template, pick one and click Use template. Fetch Hive copies every stage workflow and the pipeline into your workspace as a draft. See Pipeline templates.
  • With your AI assistant. Ask an assistant connected to Fetch Hive (Claude, ChatGPT or another MCP client) to build a pipeline from workflows you already have. See AI Assistant (MCP).

Can stages run at the same time?

Yes. Stages that sit next to each other in the order can be put in a parallel group. The pipeline starts them together, waits until every one of them has finished, and then moves on. Use it when several stages do independent work from the same inputs, such as three searches that a later stage merges.
  • Stages in the same group can’t use each other’s outputs, because none of them has finished when the others start. A later stage can use the outputs of all of them.
  • A group holds up to 8 stages. Checkpoints can’t be in a group.
  • If a stage in the group fails, the others still finish. The run then stops, unless that stage is set to continue on failure.
  • The run costs the same as running the stages one after another. It only takes less time.
To set one up, ask your AI assistant to run those stages in parallel.

How do I run a pipeline?

  1. Open the pipeline and click Start a run.
  2. Fill in the start inputs. The dialog shows the expected cost when the stages have run before.
  3. Optionally set Spending cap for this run (USD).
  4. Click Start.
The run page shows every stage and checkpoint in order, with its status, time and cost. Click Show output to see what a stage handed on, or Open workflow run to see its steps. View trace opens one trace for the whole run, with each stage’s own workflow trace inside it. When the run reaches a checkpoint, its status is Waiting for a person and the answer form appears on the run page. You can also start runs from your AI assistant.

Versions and deployments

Pipelines have the same version history and deployments as workflows.
  • Save version. In the pipeline editor, click the save icon on the bar under the canvas and describe your change. A version records the pipeline’s settings, its start inputs, and its stages and checkpoints in order. It does not record the steps inside each stage workflow: open that workflow to see its own version history.
  • Version history. Click the history icon next to it to compare versions and roll back to one. Rolling back is saved as a new version, so nothing is lost.
  • Deploy. Click Deploy in the top bar, then Create deployment and give it a unique key, such as seo-article. This saves a copy of the pipeline as the deployment’s production variant.
  • Variants. Use Add a variant for another copy under a new name, such as staging, and Update a variant to copy your latest changes into an existing one. Editing the pipeline changes nothing that is deployed until you update a variant.
Runs started from the API or a schedule use a deployed copy. Your AI assistant can deploy a pipeline for you too, and put it on a schedule, and asks before it does either. To start one from your own code, send the deployment’s key and, optionally, the variant:
Without variant, the deployment’s first variant runs. Every deployment is listed under Pipelines > Deployments, where you can open it to see each variant and its history. On a deployment’s page, the code button gives ready-to-copy code for the variant you pick, with the secret that signs the callback. When you create a schedule for a pipeline that has more than one variant, pick the variant it should run; leave it on Default variant to run the first variant of the oldest deployment. In Pipelines > Logs, a run started from a deployment shows its variant and version under the name, such as production v1, as workflow runs do. GET /v1/pipeline/runs/{id} returns the same as deployment_name, deployment_variant and deployment_version, and what the run cost: total_charge, plus platform_charge (task credits) and wallet_charge_usd (wallet), whose sum is the Total Cost shown in Logs. Agent steps inside the stages are included.

Building an app on a pipeline

If your own app runs a pipeline for its users and shows the checkpoints itself, these calls help:
  • POST /v1/pipeline/templates/{template_id}/install copies a pipeline template into your API key’s workspace and deploys it. Call it before a run: when the workspace already has it, you get the same pipeline and deployment back, with "installed": false.
  • GET /v1/pipeline/deployments/{key} (or GET /v1/pipeline/pipelines/{id}) returns the start inputs, the stages and checkpoints in order, and an estimated cost per run based on earlier runs. The estimate is null until each stage has run at least once.
  • GET /v1/pipeline/runs?deployment={key} lists earlier runs, newest first, with their start inputs. Add status, page and per_page (up to 50) to narrow it.
  • When you start a run, add "poll": true inside async to follow it with GET /v1/pipeline/runs/{id} and GET /v1/pipeline/runs/{id}/checkpoint instead of a callback, and "notify_checkpoints": false so checkpoints send no email or Telegram message.

Limits and cost

Click Settings on a pipeline to set:
  • Spending cap per run (USD). The run stops before a stage that would take it over this amount. You can raise it for one run when you start it.
  • Working time limit per run (minutes). Three hours unless you set it. Time spent waiting at a checkpoint is never counted, so a run can wait for an answer for days. Each stage also has its own 30 minute limit.
  • When a run finishes, tell me by. Email, Telegram or Slack, for every run or only when a run fails or is stopped.
A pipeline run costs the sum of its stage workflow runs. Checkpoints are free. Your usual plan limits, credit and workspace spending caps apply before every stage.

Where do I see pipeline runs?

  • Workflows > Logs > Pipelines in the sidebar lists every pipeline run with its stage runs grouped under it.
  • Approvals has a Pipeline checkpoints card listing the checkpoints waiting in your workspace.

Pipelines and public share pages

A pipeline can’t be published as a public share page, and neither can a workflow with a Human in the Loop step. Share a pipeline as a template instead.