Skip to main content

Filter List

Uncontrolled node

Overview

The Filter List node evaluates a condition for each item in a list and returns only the items that match the condition.

This is useful when you want to remove unwanted values, filter by criteria, or prepare data for the next step in a workflow.

Inputs

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

Outputs

OutputTypeDescription
OutputListA filtered list containing only items that meet the condition

Panel Controls

The right-side panel includes a Pattern field, where you can define a Python-style condition using the variable value. Only values that return True from this condition will be included in the output list.

Example

If your list is:

"hello", "world"

and the pattern is:

value != "hello"

The output will be:

"world"

Tip

Use expressions like value.startswith("a"), len(value) > 3, or value["status"] == "active" to filter based on content.