> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vectorshift.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Combine Lists Node

> Combine multiple lists into a single list

<img src="https://mintcdn.com/vectorshift/YP4-JQlrCs6FGFt3/images/platform/pipelines/data-transformation/combine-lists.png?fit=max&auto=format&n=YP4-JQlrCs6FGFt3&q=85&s=976c554d74d7f2c6291b7a058d39b110" alt="Combine Lists" width="768" height="466" data-path="images/platform/pipelines/data-transformation/combine-lists.png" />

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].

## Node Inputs

1. Type: The type of list you want to create
   * Type: `Dropdown`
2. Lists: The lists you want to combine
   * Type: `List<List<T>>` (based on the type of list you choose)

## Node Outputs

1. 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"].

1. Text Node: Contains the following text: `apples,oranges,peaches`
2. Split Text Node: Splits the text on the comma delimiter into a list
   * Text for splitting: `{{text_0.text}}`
   * Delimiter: `Character(s)`
   * Character: `,`
3. Text Node: Contains the following text: `grapes,kiwi,mango`
4. Split Text Node: Splits the text on the comma delimiter into a list
   * Text for splitting: `{{text_1.text}}`
   * Delimiter: `Character(s)`
   * Character: `,`
5. 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}}`
6. Output: The combined list
   * Output: `{{combine_list_0.output}}`

<img src="https://mintcdn.com/vectorshift/YP4-JQlrCs6FGFt3/images/platform/pipelines/data-transformation/combine-lists-example.png?fit=max&auto=format&n=YP4-JQlrCs6FGFt3&q=85&s=44c28aacefa942524da2b76b47444813" alt="Combine Lists Example" width="1905" height="834" data-path="images/platform/pipelines/data-transformation/combine-lists-example.png" />
