connect
Create connections between workflow nodes to establish data flow paths and define execution sequences in n8n automation processes.
Instructions
Create a connection between two nodes in a workflow
Input Schema
Name | Required | Description | Default |
---|---|---|---|
path | Yes | Path to the workflow file | |
sourceNode | Yes | ID of the source node | |
sourceOutput | No | Output type from source node (default: main) | |
targetInput | No | Input type for target node (default: main) | |
targetNode | Yes | ID of the target node |
Input Schema (JSON Schema)
{
"properties": {
"path": {
"description": "Path to the workflow file",
"type": "string"
},
"sourceNode": {
"description": "ID of the source node",
"type": "string"
},
"sourceOutput": {
"description": "Output type from source node (default: main)",
"type": "string"
},
"targetInput": {
"description": "Input type for target node (default: main)",
"type": "string"
},
"targetNode": {
"description": "ID of the target node",
"type": "string"
}
},
"required": [
"path",
"sourceNode",
"targetNode"
],
"type": "object"
}