An n8n workflow that generates 10 items, processes them one by one in batches of size 1, and conditionally stops the loop after the 6th item. Uses core n8n nodes: Manual Trigger, Function, SplitInBatches, IF condition, and Set to signal loop end.