younifyd
Menu

Update Record

Update fields on an existing record, looked up by primary key

Use it in a workflow

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

Fields

tableSlugstringrequired

The data table to update

pkstringrequired

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

datastringrequired

JSON object with only the field(s) to change

Examples

Mark an order shipped

404s if no record exists at this primary key — use Upsert if it might not exist yet

json
{
  "tableSlug": "orders",
  "pk": "{\"id\": \"order_123\"}",
  "data": "{\"status\": \"shipped\"}"
}

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

Was this page helpful?