Skip to main content

Airtable

List, search, create, update and delete records, and look up bases and tables in Airtable.

Slugairtable
Base URLhttps://api.airtable.com/v0
Auth optionsSign in with Airtable, Personal access token
Test connectionGET /meta/whoami

1. Choose how to connect​

  • Sign in with Airtable is one click: you approve on Airtable's consent page and you're done. It's only shown when Blokkio offers one-click sign-in for this app; otherwise use the token option below.
  • Personal access token: go to airtable.com/create/tokens → Create token. Add the scopes data.records:read, data.records:write and schema.bases:read, add the bases (or the workspace) it may access, then Create token and copy it (pat…). Airtable shows it once.

2. Create the connection​

  1. In Blokkio, go to Apps and open Airtable.
  2. Click Connect on the option you want. For a token, paste it into Personal access token (or click Use secret) and click Create.
  3. Click Test connection. It calls GET /meta/whoami.

Base, table and record ids​

Open the table in your browser: the URL is https://airtable.com/appXXXX/tblYYYY/viwZZZZ. app… is the Base ID, tbl… the table id. For Table you can also use the table's name. List bases and List tables return them too.

Fields and formulas​

Fields is a JSON object of field names (or ids) and values:

{ "Name": "Ada Lovelace", "Email": "ada@example.com", "Tags": ["VIP"] }

Turn on Convert values to let Airtable turn text into the field's type (dates, numbers) and create missing select options. Search records takes an Airtable formula, for example {Email} = 'ada@example.com' or AND({Status} = 'Open', {Amount} > 100). In expressions, quote text values: {Email} = '{{ $trigger.body.email }}'.

Create or update record matches on the fields in Match on fields (for example Email): it updates the record with the same values there, or creates one.

Actions​

Use them with the App Action node. Lists return { items, count }; actions that read every page return { items, pages } (turn off Fetch all pages or lower Max pages in the node to read less).

ActionKeyWhat it doesInputs (required)
List baseslist_basesBases the connection can access.—
List tableslist_tablesTables of a base with their fields and views.Base ID
List recordslist_recordsRecords of a table, optionally filtered and sorted (all pages).Base ID, Table, Filter formula, View, Sort by field, Sort direction, Max records
Search recordssearch_recordsRecords matching a formula, e.g. {Email} = 'ada@example.com'.Base ID, Table, Filter formula, View, Sort by field, Sort direction, Max records
Get recordget_recordBase ID, Table, Record ID
Create recordcreate_recordBase ID, Table, Fields, Convert values
Update recordupdate_recordChanges only the fields you send.Base ID, Table, Record ID, Fields, Convert values
Create or update recordupsert_recordUpdates the record whose merge fields match, or creates it.Base ID, Table, Fields, Match on fields, Convert values
Delete recorddelete_recordBase ID, Table, Record ID

Triggers​

Use them with the App Trigger node. A trigger checks the app at its polling interval (the shortest allowed depends on your plan, see Plans and limits) and starts one run per new item, oldest first. The first check after you publish only records what already exists, so only items created after that start runs. Each run gets the item as $trigger (for example {{ $trigger.id }}).

TriggerKeyWhat starts a runInputs (required)Output
New recordnew_recordRecords created in a table. Each check looks at records created in the last 24 hours (up to 1,000).Base ID, Table, Viewid, createdTime, fields

Use View to only start runs for records that appear in a view (for example a filtered "Approved" view).

Troubleshooting​

MessageWhat to do
HTTP 403 … INVALID_PERMISSIONS_OR_MODEL_NOT_FOUNDThe token doesn't have the scope, or the base isn't added to the token. Edit the token at airtable.com/create/tokens.
HTTP 422 … UNKNOWN_FIELD_NAMEA field name in Fields doesn't exist in the table (names are case-sensitive).
HTTP 422 … INVALID_FILTER_BY_FORMULAFix the formula; field names with spaces need braces: {First name}.
HTTP 429Airtable allows 5 requests per second per base. Add a Wait node in loops or turn on retries.