
Node Inputs
- Type: The type of list you want to retrieve an item from
- Type:
Dropdown
- Type:
- List: The list from which you want to retrieve an item
- Type:
List<T>(based on the type of list you choose)
- Type:
- Index: The index of the item you want to retrieve
- Type:
Integer
- Type:
Node Outputs
- Output: The item at the position (index)
- Type:
Text(based on the type of list you choose) - Example usage:
{{get_list_item_0.output}}
- Type:
Considerations
- Index value should always be non-negative.
Example
The below example shows a pipeline that takes a list of fruits and retrieves the item at index 1 (the second item in the list as lists start with index 0).- 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 for splitting:
- Get List Item Node: Retrieves the item at index 1
- List:
{{split_text_0.processed_text}} - Index:
1
- List:
- Output: The item at index 1
- Output:
{{get_list_item_0.output}}
- Output:

