Create workflow
create_workflowCreate a workflow from a definition validate_workflow_definition approved.
Needs that call's validation_token, for these exact definition bytes. Without confirm=true it creates nothing and returns what to show the user, or a workflow you already have that does this (force=true skips the check). Returns workflow_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | What the user will see it called. Its own question; never invented. | |
| force | No | Skips the offer of an existing workflow. Only after the user chose to build a new one. | |
| confirm | No | false creates nothing and returns what would be created. true creates it. | |
| definition | Yes | The graph, as {"graph": {"nodes": [...], "edges": [...]}}. Get the skeleton from get_node_info. | |
| validation_token | Yes | From validate_workflow_definition, for these exact definition bytes. Expires in 10 minutes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| created | No | ||
| next_step | No | ||
| console_url | No | ||
| workflow_id | No | ||
| not_included | No | ||
| workspace_slug | No | ||
| workflow_summary | No | ||
| requires_confirmation | No |