List Operations
Join List Items Node
Join list items into a single string
Joins a list of items into a single piece of text. For example, joining [“a”, “b”, “c”] becomes: “abc”.
Node Inputs
- Type: The type of list you want to create
- Type:
Dropdown
- Type:
- List to Join: List of items to join as text
- Type:
List<T>
(based on the type of list you choose)
- Type:
- Join Characters: Specified characters to join list items into a single string (e.g., if you were to join the above list using “@”, the output would be: a@b@c.
- Type:
Text
- Type:
Node Parameters
- Join By Newline: Separate each element by a new line in the final output string.
You can either Join Characters or Join by Newline.
Node Outputs
- Output: List as a joined string.
- Type:
Text
- Example usage:
{{join_list_item_0.joined_text}}
- Type:
Example
The below example shows a pipeline that demonstrates the capabilities of the join list node. In the example, the join list item node takes in the list of text [“a”, “b”] and outputs “ab”.
- Text Node: Contains string
a
- Text Node: Contains string
b
- Create List Node: Creates a list from the two strings
- Field 1:
{{text_0.text}}
- Field 2:
{{text_1.text}}
- Field 1:
- Join List Item Node: Joins the list into a single string
- List to Join:
{{create_list_0.output}}
- List to Join:
- Output: The joined string
- Output:
{{join_list_item_0.joined_text}}
- Output: