create_workflow
Define and create a new n8n workflow by supplying a name, nodes array, connections object, and settings object for automation setup.
Instructions
Create a new workflow. Requires name, nodes array, connections object, and settings object.
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>",
"connections": "<connections>",
"settings": "<settings>"
},
"name": "create_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Workflow name | |
| nodes | Yes | Array of node objects | |
| settings | Yes | Workflow settings (e.g. errorWorkflow, timezone, executionOrder) | |
| connections | Yes | Connections object mapping node outputs to inputs |