> 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/work-with-data/overview.md).

# Overview

In n8n, data flows through your workflow from node to node. Each node receives data, processes it, and passes the results to the next node. Understanding how data moves and transforms in your workflows is essential for building effective workflows.

## How data works in n8n <a href="#how-data-works-in-n8n" id="how-data-works-in-n8n"></a>

**Data flows through nodes**: When you connect nodes, data automatically passes from one to the next. Each node processes the incoming data and outputs results based on its configuration.

**View data at every stage**: You can inspect data at any point in your workflow:

* **Node details view**: Double-click any node to see its input and output data. Choose between **Schema**, **Table** and **JSON** views. Schema view shows a simplified structure from the first item only, Table and JSON display the full dataset.
* **Execution logs**: Review past workflow runs to see the data that passed through each node.

**Reference previous data**: Use [data mapping](/build/work-with-data/reference-data.md) to reference data from earlier nodes in your workflow. You can:

* Select values from previous nodes using the UI
* Write [expressions](/build/work-with-data/expressions-versus-data-nodes.md) to dynamically access and combine data
* Reference specific nodes by name to get their output

**Transform data**: n8n provides multiple ways to modify data:

* Use dedicated transformation nodes (Aggregate, Split Out, Sort, and more)
* Write [expressions](/build/work-with-data/transform-data/expressions-for-data-transformation.md) directly in node parameters
* Use the [Code node](/build/work-with-data/expressions-versus-data-nodes.md#code-node) for custom JavaScript or Python logic
* Apply the [AI Transform node](/build/work-with-data/expressions-versus-data-nodes.md#ai-transform-node) for AI-assisted transformations

**Understand the data structure**: n8n uses a [consistent data structure](/build/work-with-data/understand-n8ns-data-structure.md) across all nodes, making it predictable how data flows and transforms throughout your workflows.

## In this section <a href="#in-this-section" id="in-this-section"></a>

* [How n8n structures data](/build/work-with-data/understand-n8ns-data-structure.md)
* [Transforming data](/build/work-with-data/transform-data/approaches-for-transforming-data.md)
* [Processing data using code](/build/work-with-data/expressions-versus-data-nodes.md#code-node)
* [Pinning, mocking, and editing data](/build/work-with-data/pin-and-mock-data.md) during workflow development
* [Referencing data](/build/work-with-data/reference-data.md) and [item linking](/build/work-with-data/reference-data/link-data-items.md): how data items link to each other


---

# 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/work-with-data/overview.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.
