> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/flow-logic/split-in-batches.md).

# Process items in batches in Duaer

In Duaer, most nodes already run once per item. Split In Batches is for a fixed batch size, with a pause between batches.
## Connect the work back to this node

1. Add Split In Batches and set Batch Size to how many items each batch should hold, for example 10.
2. Connect the loop output to the nodes that handle that batch.
3. Connect the last of those nodes back to Split In Batches.
4. The done output runs after every batch has finished.

Do not add an If in front just to ask whether any items are left. With no items, this node does not spin. For the usual per-item run, refer to [Use loops in Duaer](/flow-logic/looping.md).
## Questions

### Does every per-item step in Duaer need Split In Batches?

No. Most nodes already run once per item. Use Split In Batches when you need a batch size and a return path between batches.

