Core Concepts
Loop Mode
Some nodes have “Loop Mode” enabled, which automatically turns the types of the inputs and outputs into lists. This is useful for repeating the same operation with many inputs/outputs.
For example: the generate file node takes in a text as an input. ** When run in list mode, it takes a list of text and will generate n many files, where n is the size of the text list you pass in **
Loop mode is essential for performing the same node on multiple items. Consider it Gumloop’s for loop.
Here we are using the Ask ChatGPT node in list mode to give the same instruction for each email in the list, i.e. “Summarize each unread email in my inbox”.