create_workflow
Create a new workflow from JSON with offline validation. Workflows are created inactive—activate afterwards.
Instructions
Create a new workflow from JSON (name, nodes, connections, settings). Runs offline validation first and refuses to create invalid workflows unless skipValidation=true. New workflows are created inactive — use activate_workflow afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Workflow name | |
| nodes | Yes | Workflow nodes | |
| connections | Yes | Connections object keyed by source node name, e.g. {"Webhook": {"main": [[{"node": "Set", "type": "main", "index": 0}]]}} | |
| settings | No | Workflow settings (executionOrder, errorWorkflow, timezone, ...) | |
| skipValidation | No | Create even if offline validation finds errors |