mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
25 lines
1.6 KiB
Markdown
25 lines
1.6 KiB
Markdown
---
|
|
contentType: explanation
|
|
---
|
|
|
|
# Transforming data
|
|
|
|
n8n uses a predefined [data structure](/data/data-structure/) that allows all nodes to process incoming data correctly.
|
|
|
|
Your incoming data may have a different data structure, in which case you will need to transform it to allow each item to be processed individually.
|
|
|
|
For example, the image below shows the output of an [HTTP Request](/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/) node that returns data incompatible with n8n's data structure. The node returns the data and displays that only one item was returned.
|
|
|
|

|
|
|
|
To transform this kind of structure into the n8n data structure you can use the data transformation nodes:
|
|
|
|
* [Aggregate](/integrations/builtin/core-nodes/n8n-nodes-base.aggregate/): take separate items, or portions of them, and group them together into individual items.
|
|
* [Limit](/integrations/builtin/core-nodes/n8n-nodes-base.aggregate/): remove items beyond a defined maximum number.
|
|
* [Remove Duplicates](/integrations/builtin/core-nodes/n8n-nodes-base.removeduplicates/): identify and delete items that are identical across all fields or a subset of fields.
|
|
* [Sort](/integrations/builtin/core-nodes/n8n-nodes-base.sort/): organize lists of in a desired ordering, or generate a random selection.
|
|
* [Split Out](/integrations/builtin/core-nodes/n8n-nodes-base.splitout/): separate a single data item containing a list into multiple items.
|
|
* [Summarize](/integrations/builtin/core-nodes/n8n-nodes-base.summarize/): aggregate items together, in a manner similar to Excel pivot tables.
|
|
|
|
|