Menu
Upsert Record
Create a record, or update it if one already exists with the same primary key
Use it in a workflow
- Add a step and choose the Data Table connector.
- Pick the Upsert Record action (under database).
- Fill in the fields below, then reference the result from later steps as
{{upsertRecord.response.data}}.
Fields
Examples
Sync a record from an external system
Creates the record if id 'order_123' doesn't exist yet, or fully replaces its data if it does
{
"tableSlug": "orders",
"data": "{\"id\": \"order_123\", \"status\": \"active\"}"
}
Need more? See the Data Table guide for connection setup and behaviour shared by every action.
Was this page helpful?