Prerequisites
- An Airtable account with access to the base
- A personal access token with the
data.records:readscope - The base ID and table ID
Create an access token
- Go to Airtable token settings and click Create new token.
- Add the
data.records:readscope. - Under access, add the bases you want to import.
- Copy the token. Airtable shows it only once.
Find the base and table IDs
Open the table in a browser. The URL looks like this:appXXX...is the Base ID.tblYYY...is the Table ID.
Setup
- Go to Knowledge > Sources and click Create New Source.
- Enter a name and select
airtableas the Source Type. - Paste the token under Authentication.
- Enter the Base ID and Table ID, and map the fields (see below).
- Click Save, then open the source and click Sync Source.
Configuration
Field names are case-sensitive.
Linked fields
A linked field adds data from the records it points to. Set it in Advanced (JSON), with one entry per linked field:
In this example, each article includes the name and description of its related products.
What gets imported
Each record becomes one document:- Title: the value of the title field
- Content: the selected fields, then the linked record fields, each under its own heading
- Link: an “Open in Airtable” link at the end of the content
Tips
- Use a descriptive field as the title, not an auto-generated ID.
- Include fields that help answer questions. Leave out status codes, dates and internal IDs unless they add context.
- Start with a small table to check the field mapping.
Troubleshooting
Authentication failed
Authentication failed
- Check the token is correct and has the
data.records:readscope. - Check the token has access to this base.
No records imported
No records imported
- Check the base ID and table ID.
- Check the table contains records.
Missing content or wrong fields
Missing content or wrong fields
- Check the field names match exactly, including case.
- For linked fields, check the target table ID and the field names in that table.
Rate limit errors
Rate limit errors
Airtable allows 5 requests per second per base. Large tables and many linked tables take longer to sync. Sync again later if the limit is hit.
Related
- Knowledge Connectors: all connectors
- Knowledge Source Management: managing sources
