Skip to main content
Glama

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

NameRequiredDescriptionDefault
fromYes
toYes
workflowIdYes

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" }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/get2knowio/n8n-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server