Skip to main content The combine lists node allows you to combine multiple lists into a single list.
For example, [a, b, c] combining with [d, e, f] becomes [a, b, c, d, e, f].
The combine lists node allows you to combine multiple lists into a single list.
For example, [a, b, c] combining with [d, e, f] becomes [a, b, c, d, e, f].
- Type: The type of list you want to create
- Lists: The lists you want to combine
- Type: List<List<T>>(based on the type of list you choose)
 
Node Outputs
- Output: The combined list
- Type: List<T>
- Example usage: {{combine_list_0.output}}
 
Example
The below example shows a pipeline that takes two lists of fruits ([“apples”, “oranges”, “peaches”] and [“grapes”, “kiwi”, “mango”]) and combines them into a single list ([“apples”, “oranges”, “peaches”, “grapes”, “kiwi”, “mango”].
- Text Node: Contains the following text: apples,oranges,peaches
- Split Text Node: Splits the text on the comma delimiter into a list
- Text for splitting: {{text_0.text}}
- Delimiter: Character(s)
- Character: ,
 
- Text Node: Contains the following text: grapes,kiwi,mango
- Split Text Node: Splits the text on the comma delimiter into a list
- Text for splitting: {{text_1.text}}
- Delimiter: Character(s)
- Character: ,
 
- Combine Lists Node: Combines the two lists into a single list
- List 1: {{split_text_0.processed_text}}
- List 2: {{split_text_1.processed_text}}
 
- Output: The combined list
- Output: {{combine_list_0.output}}
 
