younifyd
Menu

Get Record

Fetch a single record from a data table by its primary key

Use it in a workflow

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

Fields

tableSlugstringrequired

The data table to read from

pkstringrequired

JSON object with the primary key field(s), e.g. {"id": "abc123"}

Examples

Get a customer by id

data is null if no record exists at this primary key

json
{
  "tableSlug": "customers",
  "pk": "{\"email\": \"ada@example.com\"}"
}

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

Was this page helpful?