Skills & Workflow

Workflow

A workflow is a defined sequence of steps — carried out by an agent, a human, or both — that runs from some starting trigger to a finished result.

TriggerStep 1Step 2Result
A workflow runs from a trigger through defined steps to a result.

Ask an agent to do something once and you get a single response. Give it a workflow, and you're describing a repeatable sequence: do this, then that, then check something, then produce a result. The term predates AI agents by decades — it's the same word used for business processes and CI pipelines — but in an agent context it usually means the sequence of steps an agent (or a system built around one) follows to get from a request to an outcome.

A workflow doesn't have to be fully automated. It's common for a workflow to include a step where a human reviews or approves something before the next step runs — the agent handles the mechanical parts, a person handles judgment calls.

Workflows can be described informally in prose (a playbook), encoded as an explicit sequence a framework executes (a pipeline), or, when steps can run in parallel and later need to converge, modeled as a dag-workflow. “Workflow” is the general umbrella term that covers all of these.

How it works

Concretely, a workflow starts from a trigger — a new support ticket, a schedule, a manual command — and then runs through its defined steps in order. Each step can be an agent doing work, a script running, or a human approving something. The workflow ends when the final step produces its result, which might be a merged PR, a sent report, or an updated record.

Example

A content-review workflow for a blog might run: a new draft is submitted (trigger) → an agent checks it against a style guide (step 1) → an editor approves or requests changes (step 2) → the post is published (result).

How it differs

Workflow vs. pipeline: pipeline usually implies a stricter, code-defined sequence built for data flowing through transformation stages; workflow is the broader term and comfortably includes human steps, branching, and looser, prose-described processes.

Common misconceptions

Often assumed: A workflow means the whole process is automated end-to-end.
Actually: Many workflows deliberately include human review or approval steps; automating some steps doesn't require automating all of them.
Often assumed: Workflow and pipeline mean the same thing.
Actually: They overlap heavily, but pipeline tends to imply a more rigid, linear, code-defined sequence, while workflow is used more loosely, including for processes with human steps or branching.

FAQ

What does workflow mean for an AI agent?
It's the ordered sequence of steps the agent (and possibly people) follow, from a trigger to a final result.
Is a workflow the same as automation?
Not necessarily — a workflow can include manual approval steps alongside automated ones.
What's the difference between a workflow and a pipeline?
Pipeline usually means a stricter, linear, code-defined sequence; workflow is the broader term that also covers looser or human-involved processes.

Last checked: 2026-08-28

Related terms