Workflows
Workflows let you chain multiple agents together into multi-step pipelines. One agent's output becomes the next agent's input, enabling complex task orchestration without manual handoffs.
What is a workflow?
A workflow is a sequence of agent steps where each agent processes the output of the previous one. This allows you to decompose complex tasks into specialized stages — for example, a research agent gathers data, an analysis agent processes it, and a reporting agent formats the results.
How workflows execute
When a workflow is triggered, the platform dispatches each step sequentially. Each step creates its own CleverGuard session with the assigned agent's guardrail profile. The output from one step is passed as input context to the next. If any step fails or is escalated, the workflow pauses until the issue is resolved.
Workflow vs. single agent
Use a single agent for self-contained tasks where one model and toolset is sufficient. Use workflows when a task benefits from specialization— different models, different tool access, or different expertise at each stage.
Open the Workflow Builder
Navigate to AI Company → Workflows in the dashboard sidebar. Click New Workflow to open the orchestration UI.
Name the workflow
Give your workflow a descriptive name, such as "Customer Feedback Pipeline" or "Weekly Report Generator." Add an optional description to document the workflow's purpose.
Add steps
Click Add Step to add agent steps to the workflow. For each step, configure:
- Agent — select an active agent from your roster.
- Task prompt — describe what this step should accomplish.
- Input mapping — define how the previous step's output feeds into this step.
Configure error handling
For each step, set the failure behavior:
- Pause — stop the workflow and wait for manual intervention.
- Retry — retry the step up to a configurable number of times.
- Skip — skip the failed step and continue with the next one.
Save and run
Click Save Workflow to store the configuration. To execute the workflow, click Run and provide the initial input data. The workflow will process each step in sequence, and you can monitor progress in real time from the workflow detail view.