Skip to content

Loop Over Items#

The Loop Over Items node helps you loop through data.

The node saves the original incoming data, and with each iteration, returns a predefined amount of data through the loop output.

When the node execution completes, it combines all the data and returns it through the done output.

Node parameters#

Batch Size#

Enter the number of items to return with each call.

Node options#

Reset#

If turned on, the node will reset with the current input-data newly initialized with each loop.

Check if you need this node

Localmind Automate automatically processes incoming items. You may not need the Loop Over Items node in your workflow. To learn more about how Localmind Automate handles multiple items, refer to the documentation on Looping in Localmind Automate.

Check that the node has processed all items#

To check if the node still has items to process, use the following expression: {{$node["Loop Over Items"].context["noItemsLeft"]}}. This expression returns a boolean value. If the node still has data to process, the expression returns false, otherwise it returns true.

Get the current running index of the node#

To get the current running index of the node, use the following expression: {{$node["Loop Over Items"].context["currentRunIndex"];}}.