The n8n data structure: a list of items on every wire
By Christophe Paka · Facts checked on 23 October 2026
You open a node and the INPUT view shows a wall of brackets. You wanted one order, and you got an array. You type $json into a field and get undefined. Most beginners stall right here, on their first real workflow.
It costs more than a lost evening. If you cannot tell one item from a list, you cannot tell why a step ran once, or ran 36 times. The n8n data structure rests on one rule: all data passed between nodes is an array of objects. The figure below draws that rule as a belt, with three orders on it and one order traced from start to end.

Use this diagram on your site
Free to share in your blog post, docs, course or slides, as long as the credit link stays. Paste the code below where the figure should go.
How to read this figure
Start at the trigger. Three new rows arrive at once, so the trigger outputs one array of 3 items, with the ids 41, 42 and 43. An array is an ordered list, written in square brackets. An object is a group of named values in curly braces, and each object is one item. In the figure,
json: id 41just means the item's fields, here one field called id.Watch Node A run three times. Node A adds a field, tier vip. You set it up once, but it runs 3 times, once per item. The post one node, three runs zooms in on this. Each item now holds its id and the new tier. The count on the wire stays at 3.
See what Node B keeps. Node B sends a mail and runs 3 times too. Its output items hold only its own result, sent, not the order fields. The fields are not lost: the next step shows how n8n still knows which order each result came from, so a later node can reach back and read them.
Follow item 2 along the bottom band. The band traces one order. Item 2 holds id 42, then id 42 with tier vip, then sent. Each step links back to the item that made it. n8n calls this item linking: each output item carries a hidden note naming the input item that produced it. That is how a later node can ask for the email of this same order, from a node three steps back.
Mind the numbering. The figure numbers items 1, 2, 3, the way people count. Inside n8n, the first item is item 0. Nothing changes in the flow; the numbers differ only when you name an item by its position in an expression. So order 42 is item 2 in the picture and item 1 in n8n.
Key takeaways
- When a node misbehaves, ask how many items came in before you ask anything else.
- Say this item or these items, never the data: one item and a list of items behave differently.
- Read JSON from the outside in: the square brackets are the list, each curly brace group is one item.
Try this: watch three items flow across three nodes
Any n8n instance works, and you need no account with another app. Watch the item count at the top of each INPUT and OUTPUT view.
- Create a workflow, add a Manual Trigger and select Execute step.
- In the OUTPUT view, select JSON, then Edit, and paste three orders with orderId 41, 42 and 43. Select Save.
- Add an Edit Fields (Set) node, add a field tier with the value vip, and select Execute step.
- Add a second Edit Fields (Set) node with a field status set to confirmed, then select Execute workflow.
Expected result: Every node shows the same count: 3, 3, 3. You set each field once, each node ran three times, and the whole run is one execution.
Questions readers ask
Why does $json give undefined in n8n?
$json means the fields of the item in front of the node. Undefined usually means the field name you typed does not match the input. Drag the field from the input panel instead of typing it. If an earlier node dropped the field, reach back to the node that had it by name, as in one expression, three answers.
What is an item in n8n, and is it a row?
An item is one record in the list a node passes on. Often it is a row: when n8n reads Google Sheets, each row becomes one item and each column a field. But an item can also be one email, one shop order or one search result.
What is the difference between json and binary in an item?
Under the json key sit the item's fields, such as an order's email and total. Under the binary key sits a file, such as a PDF or an image, with its type and name. Most items in a first workflow carry only fields.
Do I need to write JSON to use n8n?
You need to read it, not write it. Every node shows its input and output as JSON. Read the brackets from the outside in, find a field by its name, and ask whether a value is one item or a list inside one item. A list inside one item does not make the next node run more times.
Sources: Understand n8n's data structure (n8n docs); How items link through workflows (n8n docs).
This figure is from n8n Made Crystal Clear, chapter 2.
The chapter builds the idea step by step, with recipes you can follow, a Try it to check yourself, and every source.
Get the book


