> 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/integrations/builtin/cluster-nodes/sub-nodes.md).

# Sub-nodes

Understand sub-nodes in n8n, and browse the sub-nodes library.

Sub-nodes attach to root nodes within a group of cluster nodes. They configure the overall functionality of the cluster.

[Cluster nodes](/key-concept-glossary.md#cluster-node-n8n) are node groups that work together to provide functionality in an n8n workflow. Instead of using a single node, you use a [root node](/key-concept-glossary.md#root-node-n8n) and one or more [sub-nodes](/key-concept-glossary.md#sub-node-n8n) that extend the functionality of the node.

![A workflow diagram with one root node connected to two sub-nodes](broken://spaces/GixZThfitWP21x2gQFpD/files/GbA7RoHTpD75RG5oDkF8)

{% 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 %}
