create_connection
Connect two nodes in an n8n workflow by defining source and target node IDs, enabling automated data flow between them.
Instructions
Create a connection between two nodes in a workflow
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": {
"workflowId": "<workflowId>",
"connection": "<connection>"
},
"name": "create_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | Yes | Connection configuration | |
| workflowId | Yes | The workflow ID |