Create workflow
create_workflowCreate a new empty workflow with manual, cron, or webhook triggers. Returns workflow ID and hook URL for webhook.
Instructions
Create an empty workflow (its steps are built separately by an agent). Returns the new workflow, including its id and — for a webhook trigger — its hook URL. trigger_kind defaults to "manual" (run it on demand with run_workflow); "cron" needs a cron_expr; "webhook" mints a public hook URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A short name for the workflow. | |
| agent_id | No | Optional UUID of one of your agents to record as the workflow's creator. | |
| cron_expr | No | Cron schedule (required when trigger_kind is "cron"), e.g. "0 9 * * *". | |
| description | No | Optional description of what the workflow does. | |
| trigger_kind | No | Optional trigger: "manual" (default), "cron", or "webhook". |