The Query Filter node narrows the rows coming from the Data Source. It does three things, all optional: filter out rows that don’t match, sort what’s left, and limit how many continue. It never changes the values inside a row.
Use it whenever a pipeline shouldn’t produce a document for every row — only active customers, only unpaid invoices, only this month’s orders.
Filters
Each filter is a field, an operator, and (for most operators) a value. The operators on offer depend on the field’s type:
| Field type | Operators |
|---|---|
| Text | Equals, Not equals, Contains, Not contains, Starts with, Ends with, Is empty, Is not empty |
| Number | Equals, Not equals, Greater than, Greater than or equal, Less than, Less than or equal, Is empty, Is not empty |
| Date | Equals, Not equals, After, On or after, Before, On or before, Is empty, Is not empty |
With more than one filter, choose AND (a row must match all of them) or OR (a row must match at least one).
Sort and limit
- Sort — pick a field and ASC (ascending) or DESC (descending).
- Limit — the maximum number of rows to pass on. Leave it empty for no limit.
Sort and limit work together: sort by amount descending with a limit of 10 and you get the ten largest.
Preview
The node shows a preview of the rows that survive the filters. “No rows match the current filters” means the logic excludes everything — often an AND that should be an OR, or a value with a typo.
Good to know
- A pipeline has at most one Query Filter.
- It isn’t available in pipelines started by a form submission, which have no Data Source to filter.
See also
- Data Source node — where the rows come from
- Schema Mapping node — the usual next step