younifyd
Menu

Find Records

List/paginate records in a data table, optionally filtered on searchable fields

Use it in a workflow

  1. Add a step and choose the Data Table connector.
  2. Pick the Find Records action (under database).
  3. Fill in the fields below, then reference the result from later steps as {{findRecords.response.data}}.

Fields

tableSlugstringrequired

The data table to query

filterstring

JSON object of { field: { operator, value } } filters on searchable fields only; every filter must match. Operators: equals, notEquals, in/notIn (a list), exists/notExists (no value), gt/gte/lt/lte/between (number fields; between takes [min, max]) and contains/startsWith/endsWith/like (string/enum fields). For two conditions on one field use a list: {"amount": [{"operator": "gt", "value": 10}, {"operator": "lt", "value": 20}]}.

cursorstring

Pass the previous response's nextCursor to fetch the next page

limitstring

Records per page (default 20, max 100)

Examples

Orders over 100 that have an email

amount and email must be marked searchable on the table

json
{
  "tableSlug": "orders",
  "filter": "{\"amount\": {\"operator\": \"gt\", \"value\": 100}, \"email\": {\"operator\": \"exists\"}}"
}

List active customers, first page

status must be marked searchable on the table for this filter to be accepted

json
{
  "tableSlug": "customers",
  "filter": "{\"status\": {\"operator\": \"equals\", \"value\": \"active\"}}",
  "limit": "20"
}

Need more? See the Data Table guide for connection setup and behaviour shared by every action.

Was this page helpful?