connect_nodes
Link workflow nodes to establish data flow between them in n8n automation processes. Specify source and destination nodes to create connections that enable automated task execution.
Instructions
Connect two nodes in an n8n workflow
Input Schema
Name | Required | Description | Default |
---|---|---|---|
from | Yes | ||
to | Yes | ||
workflowId | Yes |
Input Schema (JSON Schema)
{
"properties": {
"from": {
"properties": {
"nodeId": {
"type": "string"
},
"outputIndex": {
"type": "number"
}
},
"required": [
"nodeId"
],
"type": "object"
},
"to": {
"properties": {
"inputIndex": {
"type": "number"
},
"nodeId": {
"type": "string"
}
},
"required": [
"nodeId"
],
"type": "object"
},
"workflowId": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
},
"required": [
"workflowId",
"from",
"to"
],
"type": "object"
}