n8n_create_workflow
Create a new n8n workflow by supplying workflow JSON with nodes and connections. Defines node positions and parameters, optionally activates the workflow after creation.
Instructions
Create a new n8n workflow. Provide the full workflow JSON including nodes and connections.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"nodes": "<nodes>"
},
"name": "n8n_create_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Workflow name | |
| nodes | Yes | Array of workflow nodes | |
| activate | No | Activate workflow after creation | |
| connections | No | Array of connections between nodes | |
| server_name | No | Server name. Uses default if omitted. |