Skip to main content

First In List

Uncontrolled node

Overview

The First In List node is used to extract the first value from a list. This is useful when you want to process or retrieve just the initial item in a collection of data, such as getting the first response from an API, the first user input, or the top item in a sorted list.

This node simplifies workflows that need to focus on a single item from a larger set without manually accessing the list using code or formula nodes.

Inputs

InputTypeDescriptionDefault
ListListA list of items of any type (e.g., text, number, boolean, dictionary)-

Outputs

OutputTypeDescription
OutputAnyThe first item in the provided list

Panel Controls

The First In List node does not require any configuration in the panel. It simply retrieves the first item from the input list when triggered.

If the list is empty, the output will be null.

Tip

Use the First In List node with For Each, Read CSV, or Filter List nodes when you need to select the leading item after processing.