AcademyWorkflowsDevelopment

Split In Batches noItemsLeft example

Developers and automation builders who run n8n loops over lists of records and need a clear stop condition.

  • Recommendedour rating
  • 5,813views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

split-in-batches-node-noitemsleft-example.json

Loading the file...

What it does

A small n8n example that shows how to detect when the Split In Batches node has no items left to process. A mock data step feeds the node, an IF node checks the noItemsLeft flag, and a Set node prints a message once the loop is finished. You can replace the mock data with your own.

Use cases

  1. 01See how to end a batch loop cleanly
  2. 02Process records one at a time, in order
  3. 03Run a follow-up step after the last batch

Questions about
Split In Batches noItemsLeft example.

What is Split In Batches noItemsLeft example used for?

Developers and automation builders who run n8n loops over lists of records and need a clear stop condition. A small n8n example that shows how to detect when the Split In Batches node has no items left to process. A mock data step feeds the node, an IF node checks the noItemsLeft flag, and a Set node prints a message once the loop is finished. You can replace the mock data with your own.

How do I import Split In Batches noItemsLeft example into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Split In Batches noItemsLeft example safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.