Airtable Integration

Sync your items to and from a Airtable base

The Airtable integration offers the capability to sync items with an Airtable base. This feature empowers you to efficiently manage and organize items using Airtable's user-friendly spreadsheet-like interface with various viewing and filtering options.

How It Works

Here's a brief overview of how to make this integration work:

  1. Copy Template Base: Start by copying a template Airtable base.

  2. Set Up Integration: Configure the integration in the app, choosing items to sync and the Airtable base to sync with.

  3. Sync: When you sync, changes are updated between the app and Airtable. The most recently modified data will override the other.

Limitations

  1. Airtable restrictions: Depending on your Airtable plan, there may be limits on the number of records per base and API calls per month. Exceeding these limitations may prevent the integration from working. To save these quotas, you can sync only the necessary items you want, perform a sync only when needed, or create a new workspace to sync your data.

  2. Do not delete a record in Airtable; use a special checkbox to mark the record as should-be-deleted instead: Deleting a record may break the integration while the record will simply disappear without anyone knowing that it should be deleted. Instead of deleting a record, one should check the checkbox on the "Delete" field, and that record will be deleted both on Airtable and the app during the next sync. If a record is accidentally directly deleted in Airtable, performing a full sync might resolve the inconsistency.

  3. Not able to rename synced tables and fields: Renaming or removing synced tables or fields can disrupt the integration or even corrupt your data. While you are free to add new tables or fields, be aware that these additions will not sync back to the Inventory system.

  4. Beware of overlapping edits: The sync is not performed in real-time, and changes made on the same item will be overwritten by the last edit made. It is considered best practice to initiate a sync both before and after using Airtable to edit data to minimize the risk of data conflicts.

  5. You'll need a server to sync images from and to Airtable: You'll need to have your database synced with a remote CouchDB server and have a public image access endpoint to sync images from and to Airtable.

  6. The power comes with risks: The Airtable integration, unlike CSV import, does not offer a preview of changes during synchronization. Unwanted changes might occur. Do review the data updated by the integration frequently (go to "Data Updated by This Integration" in the integration screen), and revert any unwanted changes as soon as possible if you find any.

  7. Performance concerns: The current implementation has performance concerns. We suggest not to sync more than 1000 items through one single integration.

Setup

To set up an Airtable integration, go to SettingsIntegrationsAdd Integration and select "Airtable." Follow the instructions in the app to complete the setup.

The following are instructions you may need for some of the steps.

Prepare your Airtable base and get the base ID

Get a personal access token

Using A Public Images Endpoint

To sync your item images from and to Airtable, you'll need public URLs for your images which Airtable will use to download them from. One way to do this is through using the couchdb-public-server package.

If you use couchdb-public-server, your public images endpoint should be:

http(s)://<your_couchdb_public_server_host_name>/<couchdb_database_name>/images

You can try to access http(s)://<your_couchdb_public_server_host_name>/<couchdb_database_name> to check if your server works. See the console output for error messages.

Usage

Last updated