n8n_create_workflow
Create an n8n workflow by providing name, array of nodes (each with id, name, type, typeVersion, position, parameters), and connections. Returns the inactive workflow with its unique 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 | |
| settings | No | Optional workflow settings (execution order, timezone, error handling) | |
| projectId | No | Optional project ID to create the workflow in (enterprise feature) | |
| connections | Yes | Workflow connections object. Keys are source node names (the name field, not id), values define output connections |