Basic questions about the Split Out node

I have a Split Out node which turns my array into separate items.

  1. Do I understand correctly that every node downstream of the Split Out node will be executed first with the contents of Item1, then Item2 etc. until all items are processed?

  2. Where/how can I put nodes that I want to execute only after all items have been processed?

FWIW, I’m thinking I need to use Split Out instead of Loop Over Items based on this post.

Information on your n8n setup

  • n8n version: 1.67.1
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): ???
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: unRaid

Hey @RichardC

Yes

Where/how can I put nodes that I want to execute only after all items have been processed?

If you still on the same topic, each node process all the items before handing the data over for further processing to the next connected node. Each n8n node processes all incoming items one by one before the next node can start processing that data from the previous node too. In other words, you do not need to worry about making sure all items have been processed first by a specific node, it is done automatically.

2 Likes

Awesome answer! This has finally crystalized my understanding of grouped processing.

I’d imagine this is already in the docs, but it didn’t jump out at me. In particular, highlighting the important differences between sending an array item that contains x records versus x separate items.

Cheers,

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.