Core Concepts
Workflows
Orchestrate multiple agents and automate complex processes with visual workflow builder.
What are Workflows?
Workflows allow you to chain multiple agents together, add conditional logic, integrate with external services, and automate complex business processes. Build visually with our drag-and-drop builder or define programmatically.
Node Types
- Trigger Nodes - Start workflows via webhook, schedule, or event
- Agent Nodes - Execute an AI agent with configurable inputs
- Condition Nodes - Branch based on conditions or agent output
- Integration Nodes - Connect to Slack, JIRA, email, etc.
- Transform Nodes - Modify data between nodes
- Human Review Nodes - Pause for human approval
Example: Support Escalation Workflow
{
"name": "Support Escalation",
"nodes": [
{ "id": "trigger", "type": "webhook" },
{ "id": "classify", "type": "agent", "agent_id": "classifier" },
{ "id": "route", "type": "condition", "rules": [
{ "if": "priority == 'high'", "then": "escalate" },
{ "else": "respond" }
]},
{ "id": "respond", "type": "agent", "agent_id": "support" },
{ "id": "escalate", "type": "integration", "service": "pagerduty" }
],
"edges": [
{ "source": "trigger", "target": "classify" },
{ "source": "classify", "target": "route" },
{ "source": "route", "target": "respond" },
{ "source": "route", "target": "escalate" }
]
}Workflow Execution
- Triggers - Webhooks, schedules (cron), events, manual
- Execution Modes - Sync, async, or streaming
- Error Handling - Retry policies, fallback nodes, notifications
- Monitoring - Real-time execution logs and traces