Tailflow
Skip to article
Browse documentation

Airtable · Action

Create or update record

Looks for the record whose match field holds the value you send. If there is one it is updated; if there is none, a record is created.

When to use it

One row per thing rather than one per event: a record per wallet with its latest balance, or per token with its last price.

At a glance

IntegrationAirtable
Credits1
ConnectionAirtable, by signing in

Settings

baseRequired
Base. Picked from your account's own list, or typed.
tableRequired
Table. Picked from your account's own list, or typed.
matchRequired
Match on. The field that says two records are the same thing, such as an address or a transaction hash. Picked from your account's own list, or typed.
fieldsRequiredAccepts event fields
Fields. Include the match field. The other rows are written onto the record. One row per field, each picked from your account's own list.

What it hands on

Actions run in order, and each one can read what the actions above it produced. This one writes the fields below; a later action reaches them as {{ actions.airtable_upsert_record_1.id }} — the action’s key, then which one it is if you use more than one of the same kind.

id
The record's id. It is what Update record and Add comment take.
created_time
When the record was created.
fields
The record's values by field name, for example fields.Status.
created
True when the step made a new record, false when one already existed.

Good to know

  • The match field has to be one of the rows under Fields, with a value.
  • A computed field cannot be matched on.
  • If several records already hold the value, Airtable refuses the write and the step fails.