- Home
- Resources
- Integrations
- Loop Over Items (Split in Batches)
n8n Loop Over Items (Split in Batches) nodeConfigure Loop Over Items (Split in Batches) in n8n.
Most n8n nodes already handle a list of items on their own. The n8n Loop Over Items (Split in Batches) node earns its place when they don't: it sends a fixed number of items through the loop output on each pass, then releases everything through done. Two parameters, version 3.
Verified Trustpilot reviews · AI, automation & growth agency
What does the n8n Loop Over Items (Split in Batches) node actually do?
Loop Over Items splits the data arriving from the previous node into batches and iterates over them. It keeps the original incoming data in memory, returns a predefined amount of it through the loop output on every iteration, and once the execution completes it combines all the processed data and returns it through the done output. The node name in a workflow file is n8n-nodes-base.splitInBatches.
Start with the question the docs ask first: do you need it at all? By default n8n nodes are built to process a list of input items, so a hundred rows go through a single node run without any loop. Reach for Loop Over Items when that default breaks down, and leave it out otherwise. A workflow with a loop wrapped around something that already loops is slower and harder to read.
The first real case is a node that only handles the first item it receives. Reading two RSS sources is the example the docs walk through: a Code node emits two items carrying a url field, Loop Over Items sits between them with Batch Size at 1, and the RSS Feed Read node gets each URL in turn through the expression {{ $json.url }}, an expression being the way a node reads a field from the item it just received.
The second is rate limiting. Batching requests keeps a workflow from firing everything at an API at once, which matters when the loop wraps a HTTP Request call, a Gmail send or a write to Google Sheets. The third is pagination against a service whose page count nobody knows in advance: the loop queries one page, processes it, increments the page number, and an If node decides whether to go round again.
That third case is also where the node bites. The docs are blunt about it: a loop like that needs a valid termination condition, and if the condition never matches, the execution gets stuck in an infinite loop. Two expressions help you watch what is happening. {{$("Loop Over Items").context["noItemsLeft"]}} returns a boolean, false while data remains and true once it is done, and {{$("Loop Over Items").context["currentRunIndex"];}} gives the index of the current run.
Nothing here is specific to one tool, which is the point: the same two parameters sit between a Slack post and a spreadsheet read just as well. If you want the wider picture of the platform before wiring this in, the n8n review covers it, and the n8n training goes through flow logic hands on.
Which parameters does Loop Over Items expose?
The Loop Over Items (Split in Batches) node has 2 parameters. For each one: the node as you configure it in n8n, what the parameter changes, and our field notes.
Parameters index
Batch Size
batchSizeWhat you see in n8n
Notes & use cases
Sets the number of items to return with each call, so it decides how much data leaves the loop output per iteration and how many iterations the node will run in total.
Key parameters
- Batch Size: a number field, entered directly in the panel. At
1the downstream branch sees a single item per pass, which is what the RSS example uses so the reader node gets one feed URL at a time.
Options
optionsWhat you see in n8n
Notes & use cases
A collection opened with Add option. Nothing inside it applies until you add it, and options left out keep their default value. One option is available on this node.
Key parameters
- Reset: a boolean. Turned on, the node starts again from the beginning of the input items and treats incoming data as a new set rather than a continuation of the previous items. Switch the parameter from Fixed to Expression and the result of that expression decides when the reset happens.
Need help automating Loop Over Items (Split in Batches) with n8n?
A person reads every message.
Loop Over Items, questions people ask
01Is the Loop Over Items node included with n8n?
02What do you need to set up before using it?
03What are the limits of the n8n Loop Over Items (Split in Batches) node?
04When should you add this node instead of letting n8n loop by itself?
05n8n or Make for looping over a list?
Get our weekly integration tips.
No spam. Unsubscribe anytime.


