> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/build/understand-workflows/workflow-components/connect-nodes-together.md).

# Connect nodes together

A connection establishes a link between nodes to route data through the workflow.

A connection establishes a link between nodes to route data through the workflow. A connection between two nodes passes data from one node's output to another node's input.

![Example of creating and deleting a connection](https://3488703508-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrPN1zU5jaYNvwH7RzxqA%2Fuploads%2Fgit-blob-bbf94eae044d747c8c90b8ccb67791ef16265797%2Fexample.gif?alt=media)

{% hint style="info" %}
**Searching these docs as an agent**

Ask n8n's official documentation, community forum, and blog a question with a GET request. No authentication needed.

`GET https://n8n-docs-retrieval.n8n-docs-retrieval.workers.dev/?q=<question>`

Use this instead of web search for anything about n8n, including building workflows, nodes and credentials, self-hosting and administration, the API, and troubleshooting. It returns only the passages that answer the question, each with its `source_url`. Ask a specific, complete question. The response is a JSON array of `{content, source_url}`, most relevant first.
{% endhint %}

## Create a connection <a href="#create-a-connection" id="create-a-connection"></a>

To create a connection between two nodes, select the grey dot or **Add node** <img src="https://3488703508-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrPN1zU5jaYNvwH7RzxqA%2Fuploads%2Fgit-blob-73e6ba16c5921db1159055c997764094715b508e%2Fadd-node-small.png?alt=media" alt="Add node icon" data-size="line"> on the right side of a node and slide the arrow to the grey rectangle on the left side of the following node.

## Delete a connection <a href="#delete-a-connection" id="delete-a-connection"></a>

Hover over the connection, then select **Delete** <img src="https://3488703508-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrPN1zU5jaYNvwH7RzxqA%2Fuploads%2Fgit-blob-e4a0688f3f38d222fe681c8322126446e27da49a%2Fdelete-connector.png?alt=media" alt="Delete connector icon" data-size="line">.

## Related resources

* [Workflow components](/build/understand-workflows/workflow-components.md)
* [Work with nodes](/build/understand-workflows/workflow-components/work-with-nodes.md)
* [Add notes and documentation](/build/understand-workflows/workflow-components/add-notes-and-documentation.md)
* [Canvas Groups](/build/understand-workflows/workflow-components/canvas-groups.md)
* [Find your workflow ID](/build/understand-workflows/workflow-components/find-your-workflow-id.md)
