Get started
Gumloop 101
Button Text
Social media monitoring
Button Text
Text, Lists & Looping
Button Text
Videos
MCP nodes
Button Text
MCP Node Best Practices
Button Text
Ask AI node
Button Text
Explore
All
Button Text
Sales
Button Text
Growth
Button Text
Marketing
Button Text

Lists & Loop mode

Nodes perform one action at a time. When you pass a text value to a node, it executes once - using that text value. When you pass a list to a node (that has 10 items) the node will execute 10 times - once for each value of text in that node. Let’s understand how that impacts your workflows in Gumloop.

Text as Input

Let’s say you’re working with a text input—a new row from your Google sheet, a scraped website. 

When you pass that value to the next node, it will run once and process that value. Give an AI Categorizer node your latest review and it can tell you whether that review is positive or negative. Give that same review to an Ask AI node and it can return a summary. 

In most cases, provide a text input to a node and that node will return text. 

List as Input

In Gumloop, you can also work with lists—all of your reviews, recent messages from Slack, a list of contacts.

When you pass a list value to a node, it will automatically set the node to Loop Mode. This is because lists contain multiple text inputs - and nodes can only perform one task at a time.

With Loop Mode on, the node works through your list item by item. Give an AI Categorizer node a batch of customer reviews to categorize as positive or negative, and it sends back a matching list of categories, one for each review.

Looping is like a for loop

Think of Loop Mode like a For loop in programming. The node will run once for every item in the list you give it. Give it a list of 10 customer reviews - it will give you a list of 10 categories when using the AI Categorizer node.‍

Looping is perfect when you want a list output the same size as your input list (10 reviews, 10 sentiments). But often you want one output for a list of inputs (one report of all 10 reviews). We’ll cover that in the next lesson!

Previous Lesson
Turning lists into text (smushing)
Button Text
Previous Lesson
Lists & Loop mode
Button Text
Previous Lesson
Text vs Lists
Button Text
Next Lesson
Turning lists into text (smushing)
Button Text
Next Lesson
Lists & Loop mode
Button Text
Next Lesson
Text vs Lists
Button Text