Create Workflow Template
create_workflow_templateCreate a new custom workflow template the caller owns, so a multi-step pipeline can be built in conversation instead of by hand in the browser. Saves the same definition the web builder saves. The slug is derived from the name and is returned — use it with run_workflow. Steps run sequentially in the order given; depends_on is builder metadata only and does not change execution order. Requires authentication and the workflows:write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Template name, e.g. 'Competitor Teardown'. The saved slug is derived from this. | |
| tags | No | Optional tags for discovery. | |
| steps | Yes | The pipeline steps, in the order they will run. | |
| domain | No | Optional grouping domain, e.g. 'research'. Defaults to 'general'. | |
| description | No | Optional description of what the workflow does. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |