Create n8n Workflow
n8n_create_workflowCreate a new n8n workflow by providing name, nodes, connections, and optional settings. Receive the new workflow ID for immediate use.
Instructions
Create a new workflow in n8n.
Args:
name (string): Workflow name
nodes (array): Array of node objects (n8n node definitions)
connections (object): Node connection map
settings (object?): Workflow settings
active (boolean): Whether to activate immediately (default false)
Returns: Created workflow with its ID.
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>"
},
"name": "n8n_create_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Workflow name | |
| nodes | Yes | Array of n8n node definitions | |
| active | No | Activate immediately after creation | |
| settings | No | Workflow settings | |
| connections | Yes | Node connection map |