Turning lists into text (smushing)
.png)
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.