Airtable

UI Bakery allows you to connect easily to Airtable without any additional layers like APIs and third-party services.

Configuration

Prerequisites

To connect your Airtable database to UI Bakery, you'll require the following components:

Obtaining personal access token

You can create and copy it from your Airtable Developer page. Here, you need to click the + Create new token button, specify the Name, Scopes, and Access properties according to your requirements, and proceed to creating the token.

Copy the created token and save it for later.

Obtaining database ID

Open the Airtable APIs page, select the database you want to connect, and copy the base ID.

Obtaining list of database tables

Open your database and copy the exact names of the Tables you need to use in your app.

Connecting the data source

Now that you've obtained all the necessary parameters, you can proceed to connecting your datasource in UI Bakery.

On the Data sources page, paste the personal access token, base ID and table names in the corresponding fields.

Verify that the configuration is correct by testing the connection first and then click Connect Datasource.

UI Bakery will extract the database structure and store column types to suggest the proper table columns and form field types.

Usage

Once you have established a connection between UI Bakery and Airtable, you can access Airtable data, load it, and send it back.

Airtable supports the following action steps:

Loading table views

Additionally, it is possible to set a specific Airtable view that will be loaded for the selected table. This may come in handy if you'd like to configure advanced filters on the Airtable side and load the pre-configured view.

To do this, scroll down in the Load Table action to the Additional params section and specify view as the key and the name of your view as the value.

Filtering by linked items

Unfortunately, Airtable API is limited to filtering only by displayed values, thus filtering by internal ID is not supported (other than by the record ID of the table).

To add a filter by linked items, you'll need to follow the steps below:

  1. Create a new ID formula field with the RECORD_ID() formula in the related table - this will list the internal record ID as a value.

  2. Next, in the main table, create a lookup field to display the value from step 1, for example, Related Ids.

  3. Finally, use your filtering logic on the value from step 2, for example, you can use in or = operators.

Last updated

Was this helpful?