Airtable Integration
Sync your items to and from a Airtable base
Last updated
Was this helpful?
Sync your items to and from a Airtable base
Last updated
Was this helpful?
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.
Here's a brief overview of how to make this integration work:
Copy Template Base: Start by copying a template Airtable base.
Set Up Integration: Configure the integration in the app, choosing items to sync and the Airtable base to sync with.
Sync: When you sync, changes are updated between the app and Airtable. The most recently modified data will override the other.
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.
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.
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.
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.
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.
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.
Performance concerns: The current implementation has performance concerns. We suggest not to sync more than 1000 items through one single integration.
To set up an Airtable integration, go to Settings → Integrations → Add 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.
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:
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.
Open this template base, and click "Copy base" at the top of the page.
Open the copied base and click the dropdown icon on the top to rename your base. You can also select a custom color and icon.
Check the URL of your space. Extract the part between the first and second /
after https://airtable.com
, that is your base ID.
For example, https://airtable.com/appkerRLVkDoMWQXB/tbl8oDcDYNKKht4eO/viwKm29KCru8FCZi2?
-> appkerRLVkDoMWQXB
is your base ID.
Open https://airtable.com/create/tokens, click "Create token" under "Personal access tokens".
➊ Enter a recognizable name for your access token. ➋ Click "Add a scope" and add the 4 scopes: data.records:read
, data.records:write
, schema.bases:read
and schema.bases:write
. ➌ Click "Add a base" and select the base you want to integrate with.
Your page should look similar to the following image. Click "Create token" after you're done.
You're personal access token is now ready. Copy it for further usage.
Press the "Start Synchronization" button to start a sync. Only the data modified after the last sync will be synced. If you find anything that is not synced correctly, switch on "Full Sync" and press "Start Synchronization" to do a full sync. If an error occurred during sync, performing a full sync may also fix it.
To ensure things went as expected, you can review the data updated by the integration.
If you find any unwanted changes, you can revert it by pressing on an item, or revert all changes by pressing "Revert All Changes." The reverted changes will be synced back to Airtable on the next sync.