submit_workflow
Submit a multi-step workflow using BWDL to the Botverse engine. Returns a workflow ID instantly; poll every 5-10 seconds for status.
Instructions
Submit a multi-step workflow to the Botverse workflow engine. Steps execute in dependency order; parallel branches (multiple steps with the same depends_on) run simultaneously. Returns a workflow_id immediately — poll get_workflow_status every 5–10 seconds until terminal. Requires auto-refill to be enabled at botverse.cloud/dashboard/billing to prevent mid-workflow balance failures. Workflow definition uses BWDL (Botverse Workflow Definition Language) — schema at botverse.cloud/schemas/workflow/v1.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| definition | Yes | BWDL workflow definition. Must include workflow_id (string) and steps (array). Each step needs id, tool, and inputs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | Unique workflow identifier. Pass to get_workflow_status. | |
| status | Yes | Initial status: QUEUED or PROCESSING. | |
| step_count | No | Number of steps in the workflow. | |
| already_exists | No | True if this workflow_id was already submitted — idempotent resubmit. |