Core Concepts
Loop Mode
Some nodes have a “Loop Mode” feature that automatically converts the inputs and outputs into lists. This is helpful when you need to perform the same task multiple times for different inputs and outputs.
For example, the “Generate File” node usually takes a single piece of text as input to create a file. In Loop Mode, it can handle a list of texts and will create one file for each text in the list.
Loop Mode is like a “for loop” in Gumloop, allowing you to repeat the same action for multiple items.
In this example, we’re using the “Summarizer” node in Loop Mode to process a list of emails. The output would be a summary for each email fetched from my inbox.