# Filter

Stop the run unless its conditions are met.

## Do things in Filter

Add a **Filter** step. Choose the row to see all its fields.

- [Filter](https://docs.gorunner.io/apps/filter#fields-f-filter): Continue only when the conditions pass; otherwise the run stops here and finishes.

Later steps read a step’s output by its name: see [Use data from earlier steps](https://docs.gorunner.io/build/use-data-from-earlier-steps).

Not in your list? See [When an app isn’t here](https://docs.gorunner.io/apps/when-an-app-isnt-here#q-not-in-list).

## For developers

In the API, which calls apps pieces, Filter is `pieceId: "filter"` with `actionId: "filter"`. [Get an app](https://docs.gorunner.io/api/apps/get-app) returns every field.

It computes from its inputs only (`pure`). See [How versions and side effects work](https://docs.gorunner.io/apps#q-versions).

### Filter › Filter

Continue only when the conditions pass; otherwise the run stops here and finishes. This is a gate, not a fork. To run different steps per case, use Branch.

- **Conditions · Required**: Continue only when these conditions are met. Conditions in a group must all hold; add an Or group for an alternative set.

Source: https://docs.gorunner.io/apps/filter
