> 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/readme.md).

# Build

Build workflows in n8n, from first draft to production.

Use this space to learn workflow basics, data handling, logic, code, and AI.

### Explore this space

{% columns %}
{% column %}

#### Foundations

[**Understand workflows**](/build/understand-workflows.md)

Learn the core building blocks, editor concepts, and workflow anatomy.

<a href="/pages/eBnsgPs3CFv0tHLTu55q" class="button secondary">Open</a>

[**Ways of building workflows**](/build/ways-of-building-workflows.md)

Choose the fastest path with templates, AI, MCP, or manual building.

<a href="/pages/EY43yAPnRvbDciEr4S2f" class="button secondary">Open</a>

[**Work with data**](/build/work-with-data.md)

Reference, transform, structure, and test the data moving through workflows.

<a href="/pages/ElxIYzrih32QVZVLoXD5" class="button secondary">Open</a>

[**Code in n8n**](/build/code-in-n8n.md)

Use expressions, the Code node, and developer tools when low-code is not enough.

<a href="/pages/m8JfTYqjIwx0aH690Fa5" class="button secondary">Open</a>
{% endcolumn %}

{% column %}

#### Build and optimize

[**Manage workflows**](/build/manage-workflows.md)

Configure, tag, share, export, and maintain workflows as they grow.

<a href="/pages/Rzb0d39itjjRS4oLoTKP" class="button secondary">Open</a>

[**Flow logic**](/build/flow-logic.md)

Branch, merge, loop, wait, and handle errors with clear workflow logic.

<a href="/pages/1hqzhYpLBsjFvbo8HxAU" class="button secondary">Open</a>

[**Integrate AI**](/build/integrate-ai.md)

Build AI-powered workflows with models, tools, evaluations, and prompts.

<a href="/pages/f4ezivpl2akT8t7PT1a5" class="button secondary">Open</a>

[**Keyboard shortcuts**](/build/keyboard-shortcuts.md)

Move faster in the editor with workflow, canvas, and node shortcuts.

<a href="/pages/NCVm5HSgLyyqbiBvMTKz" class="button secondary">Open</a>
{% endcolumn %}
{% endcolumns %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.n8n.io/build/readme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
