# Filter List Items

**Introduction**&#x20;

This step filters items in a list based on specified conditions, outputting a new list containing only those items that meet the criteria.

**Configuration**

* **List**: Select the list variable you want to filter. This list should be of List type. This is a required field.
* **Conditions**: Define the conditions to filter the list items. Each item in the list will be checked against these conditions, and only those meeting the criteria will be included in the output list. When defining conditions, you can access the item variable by selecting **Steps > Filter list items** (name of the current step) **> Item**

**Outputs**

* **List**: The filtered list, containing only items that passed the specified conditions. The type of items in this list corresponds to the original list's item type.

**Usage**&#x20;

Ideal for processing and managing data within lists, such as selecting specific records or filtering out irrelevant information.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flexy.bot/modules/lists/steps/filter-list-items.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
