Overview
Workflows let you define reusable, multi-step automations for your agents. Use the Workflow API to browse the catalog of templates, create custom workflows, run them on demand, and inspect execution logs.Workflows must be enabled on your bot. Set
workflows: true via the Bot Management API update endpoint.Fetch Catalog
Browse available workflow templates.List Workflows
Get all workflows configured for a bot.Response
Get a Workflow
Fetch a single workflow by ID.Create a Workflow
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
bot_id | string | Yes | Bot ID |
name | string | Yes | Workflow name |
description | string | No | Human-readable description |
trigger | string | No | Trigger type: webhook, schedule, manual |
steps | array | No | Ordered array of workflow step objects |
enabled | boolean | No | Whether workflow is active (default: false) |
Update a Workflow
Delete a Workflow
Run a Workflow
Manually trigger a workflow execution.Response
Get Execution Logs
Retrieve past execution history for a bot’s workflows.Response
Error Codes
| Code | Description |
|---|---|
| 400 | Invalid parameters |
| 403 | Workflows not enabled for this bot |
| 404 | Workflow not found |
Next Steps
Heartbeat API
Schedule recurring agent runs
Bot Management
Enable workflows on your bot