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

Turning lists into text (smushing)

What happens when you want one output for a list of inputs? Say an AI generated report about all of your reviews. In these cases, we need to turn our list into text using the Join List Items node, also known as smushing.

Turning Lists into Text

If you pass a list into a node, it will go into Loop Mode and return the same number of items in the output as your input list. That is perfect for situations where you want to loop over every item (categorizing a list of reviews, summarizing many blog posts). 


But often you want one output for a list of inputs: a report about all reviews, one summary of all Slack messages. In those cases, we don’t want the node receiving a list to go into Loop mode. If we pass it a list it must go into loop mode. Therefore we need to turn the list into text. The Join List Items node does exactly that, it takes as input a list and turns it into a blob of text, it smushes the list.

Once you’ve smushed your list, it can be passed into the Ask AI node (or any other node) as context! 

Whenever you want one output for a list of outputs, think smushing and use Join list items. 

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