Loop Node

Loop Node: Automate Repetitive Actions Over Data Sets

The Loop Node allows you to execute a portion of your workflow repeatedly over a list of data—similar to a for loop in programming. This node is ideal for scenarios where you need to iterate through multiple items, apply the same logic to each, and return either individual results or a structured collection of outputs.

With the Loop Node, you can define custom logic for each iteration using any supported workflow node types.

Configuring a Loop Node

Loop Node Example

To set up a Loop Node in your workflow, follow these steps:

1. Select Node Type

  • Choose “Loop” as the node type during the node configuration process.

2. Define Node Name and Description

  • Provide a clear and descriptive node name.

  • Add a concise description that explains the purpose and behavior of the node within the workflow.

3. Define the Loop Variable

  • Specify the input list that the loop will iterate over.

  • You can use the output of a previous node as the loop variable, as long as it returns a list.

4. Define Loop Logic

  • Click the round icon at the bottom of the Loop Node to configure the logic executed on each iteration.

  • Within the loop, you can add one or more nodes.

  • All existing node types are supported and can be used inside the loop.

5. Configure the Next Step

  • Use the plus (+) icon on the right side of the Loop Node to define the next step in the workflow.

  • The Loop Node will output a list of results, which can be used as input in subsequent steps.

By using the Loop Node, you can automate repetitive tasks efficiently, process dynamic data collections, and scale your workflows with ease.

Last updated