14 · flow
Process items in chunks — loop until the batch is empty.
When to use it
Large item arrays that would overwhelm a downstream API if sent all at once.
Writeup
Process items in chunks — loop until the batch is empty. Large item arrays that would overwhelm a downstream API if sent all at once.
Step by step — how to wire it
01
Produce many items
Sheets read / HTTP list upstream.
02
Add Split In Batches
Set batch size (start small: 5–10).
03
Do work per batch
Batch → HTTP Request / HubSpot. Optional Wait for pacing.
04
Loop until done
Connect back into Split In Batches; use the done output for a final Slack summary.
How it functions
Batch size
You set how many items leave per loop (e.g. 10).
Loop pin
Done output vs loop — wire work on the batch, then back into Split In Batches until done.
Used for
Used for 1
Respecting API rate limits
Used for 2
Updating hundreds of Sheet rows safely
Used for 3
Paginated fan-out with a Wait between loops
Tips
Always handle partial failures inside the batch or one bad row aborts the loop.
Log batch index in Slack when debugging long runs.