Workflows
Build multi-step pipelines by chaining tool calls, AI processors, and data transformations.
Workflows
Workflows let you define a sequence of steps — scrape a page, summarize it, post the result somewhere — as a repeatable, executable pipeline.
When to use a workflow
| Situation | Use |
|---|---|
| Open-ended conversation | Agent session |
| Single automated task | Task (single mode) |
| Multi-step pipeline with defined I/O | Workflow |
| Scheduled automation | Task with cron + workflow |
Anatomy of a workflow
A workflow has:
- Nodes — individual steps
- Edges — connections defining order and data flow
- Input schema — what data it needs to start
- Output schema — what it produces when done
Data flows between nodes using {{nodeId.output}} references. Inputs come from {{inputs.fieldName}}.
Node types
tool — call a tool
agent_processor — AI-powered step
data_transformer — reshape data
conditional — branch on a value
Create a workflow
Example: Scrape and summarize
Example: Research, write, and post (3 steps)
Execute a workflow
Response:
Stream execution progress
SSE events arrive as each node runs:
View execution history
Each record shows status, timing, and the output of every node.
SDK example
Visual editor
In the web app, go to Studio → Workflows → Create → Open Editor:
Add nodes from the sidebar or click the
+ button on the canvasClick each node to set its type, tool name, and parameters
Connect nodes by dragging from one output handle to another node's input
Define inputs in the Inputs panel
Click Run to test directly from the editor
Publish and fork
Make a workflow public for others to find and reuse:
Browse public workflows:
Fork one to your account:
Schedule a workflow
Run a workflow automatically on a cron schedule by combining it with a task: