n8n_create_workflow
Create an inactive n8n workflow using a name, nodes, and connections; returns the workflow ID.
Instructions
Create workflow. Requires: name, nodes[], connections{}. Created inactive. Returns workflow with ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Workflow name (required) | |
| nodes | Yes | Array of workflow nodes. Each node must have: id, name, type, typeVersion, position, and parameters | |
| connections | Yes | Workflow connections object. Keys are source node names (the name field, not id), values define output connections | |
| settings | No | Optional workflow settings (execution order, timezone, error handling) | |
| projectId | No | Optional project ID to create the workflow in (enterprise feature) |