Get startedGet started for free

Process data in batches

You're helping Acme Corp refresh a product feed that arrives as one long list. The ops team needs every item tagged with which processing batch it belonged to, without losing any of the original fields.

You'll import a starter workflow with fifty pinned product rows, add a Loop Over Items node to pull them through in batches of ten, then add an Edit Fields node that sets processed and batch_label using $runIndex, and wire the loop so all fifty items receive labels.

This exercise is part of the course

Intermediate Workflow Automation with n8n

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise