create_workflow
Create an n8n workflow with nodes, connections, settings, and optionally activate it immediately.
Instructions
Create a new n8n workflow with nodes, connections, and settings. Optionally activate immediately.
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>"
},
"name": "create_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the workflow | |
| tags | No | Tag IDs to attach to the workflow | |
| nodes | No | Array of node objects. Each node needs: id, name, type, typeVersion, position [x,y], parameters. Use list_common_nodes tool to see examples and structures. | |
| activate | No | Automatically activate the workflow after creation | |
| settings | No | Workflow settings | |
| connections | No | Node connections map. Format: {SourceNodeName:{main:[[{node:'TargetNodeName',type:'main',index:0}]]}} |