Skip to main content

Importing data from Airtable

MetaLocator supports importing and synchronizing data from Airtable

Written by Michael Fatica

MetaLocator can import location data directly from an Airtable base. This allows you to use an Airtable table as the source for your MetaLocator location records.

This article explains how to create an Airtable Personal Access Token and configure the Airtable import connection in MetaLocator.

Before You Begin

You will need:

  • Access to the Airtable account that owns or can access the base you want to import

  • Permission in Airtable to create a Personal Access Token

  • Access to the MetaLocator account where you want to import data

  • An Airtable table containing the data you want to import

Create an Airtable Personal Access Token

MetaLocator connects to Airtable using an Airtable Personal Access Token.

  1. Log in to Airtable.

  2. Open the Airtable Builder Hub.

  3. Go to Personal access tokens.

  4. Click Create token.

  5. Give the token a clear name, such as MetaLocator Import.

  6. Add the following scopes:

    • data.records:read

    • schema.bases:read

  7. Under token access, add the Airtable base or bases that MetaLocator should be allowed to access.

  8. Click Create token.

  9. Copy the token and store it somewhere secure.

The token is only shown when it is created. If you lose it, you will need to create a new token or regenerate the existing one.

Recommended Airtable Token Permissions

For MetaLocator imports, the token only needs read-only access:

Scope

Purpose

data.records:read

Allows MetaLocator to read records from the selected Airtable table

schema.bases:read

Allows MetaLocator to list available bases, tables, and views

You should only grant access to the Airtable base or bases that you want to use with MetaLocator.

Configure the Airtable Import in MetaLocator

  1. Log in to MetaLocator.

  2. Click Locations (or Data)

  3. Click Import

  4. Choose Airtable as the import source.

  5. The Airtable connection screen will open.

  6. Paste your Airtable Personal Access Token into the Personal Access Token field.

  7. Click Test Connection.

If the connection is successful, MetaLocator will display a success message and load the Airtable bases available to your token.

Select the Airtable Base, Table, and View

After testing the connection:

  1. Choose the Airtable Base you want to import from.

  2. Choose the Airtable Table that contains your location records.

  3. Optionally choose a View.

If you select a view, MetaLocator imports the records available in that Airtable view. This is useful when you want to import only a filtered set of records.

If you leave the view blank, MetaLocator imports all records from the selected table.

Continue to Field Mapping

After selecting the base, table, and optional view:

  1. Click Next.

  2. MetaLocator will retrieve the Airtable data.

  3. Continue through the normal import process.

  4. Map the Airtable fields to the appropriate MetaLocator fields.

  5. Review and complete the import.

Airtable fields are converted into a CSV-style import file behind the scenes, so the remaining steps work like other MetaLocator data imports.

Keeping Airtable Data in Sync

Some MetaLocator accounts may see an option labeled Keep Airtable Data In Sync?

When enabled, MetaLocator creates the Airtable import as a background sync job. This allows MetaLocator to refresh the imported data automatically on a recurring basis.

Be sure to publish and schedule the new background job if you checked the Keep Airtable Data In Sync? option by clicking Background Jobs as shown below. Then enable the Published and Scheduled toggles for your new Airtable Job.

If you do not see this option, your account may not include background import support.

How Airtable Field Values Are Imported

MetaLocator reads the fields from Airtable records and prepares them for import.

Common field types are handled as follows:

Airtable value type

How MetaLocator imports it

Text, numbers, dates, and other simple values

Imported as the field value

Checkbox values

Imported as 1 for checked and 0 for unchecked

Multiple select or linked record arrays

Imported as comma-separated values

Attachment fields

Imported as comma-separated attachment URLs

Complex nested values

Imported as JSON text

Troubleshooting

“Personal Access Token is required”

Enter your Airtable Personal Access Token and try again.

“Unable to connect to Airtable”

Check the following:

  • The token was copied correctly.

  • The token has not expired or been revoked.

  • The token includes the required scopes.

  • The token has access to the Airtable base you want to import.

No bases are listed after testing the connection

The token is valid, but it may not have access to any bases. Edit the token in Airtable and add the correct base to the token’s access list.

No tables are listed after selecting a base

Confirm that the selected base contains tables and that the token has access to the selected base.

The wrong records are importing

Check whether you selected a specific Airtable view. If a view is selected, MetaLocator imports records available in that view. To import all records from the table, leave the view blank.

The import fails after clicking Next

Verify that:

  • The Airtable token is valid.

  • The selected base, table, or view has not been deleted or renamed.

  • The selected table contains records.

  • The Airtable API is available.

  • The token still has access to the selected base.

Security Notes

Treat your Airtable Personal Access Token like a password.

  • Do not share the token publicly.

  • Do not send the token over unsecured channels.

  • Grant only the scopes required for the import.

  • Limit token access to only the bases MetaLocator needs.

  • Revoke the token in Airtable if it is no longer needed.

Did this answer your question?