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

# Create List Node

> Create a list from its constituent elements

<img src="https://mintcdn.com/vectorshift/fUdgBpX7VNpDIEaX/images/platform/pipelines/data-transformation/write-json-value.png?fit=max&auto=format&n=fUdgBpX7VNpDIEaX&q=85&s=ceebc14281c8da64f1b33b85e54ce115" alt="Write JSON Value" width="530" height="307" data-path="images/platform/pipelines/data-transformation/write-json-value.png" />

The create list node allows you to transform individual items to a list format.
For example, passing in “a” and “b” outputs: \["a", "b"].

## Node Inputs

1. Type: The type of list you want to create
   * Type: `Dropdown`
2. Fields: The items in the list
   * Type: `T` (based on the type of list you choose)

## Node Outputs

1. Output: The list created from the input items
   * Type: `List<T>`
   * Example usage: `{{create_list_0.output}}`

## Considerations

* The order in which you input the fields is the same order in the output list.

## Example

The below example is a pipeline for creating a list of 3 names.

If the inputs receive the following values:

* `name_0` : "John"
* `name_1` : "Adam"
* `name_2` : "Alan"

The output will be `["John", "Adam", "Alan"]`

<img src="https://mintcdn.com/vectorshift/YP4-JQlrCs6FGFt3/images/platform/pipelines/data-transformation/create-list-example.png?fit=max&auto=format&n=YP4-JQlrCs6FGFt3&q=85&s=dd6644a36be86fa8232ae33ea8deec93" alt="Create List Example" width="1278" height="474" data-path="images/platform/pipelines/data-transformation/create-list-example.png" />
