Documentation Index
Fetch the complete documentation index at: https://docs.asteragents.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Airtable integration lets your agents discover, read, and write records across your Airtable workspaces. Works with any standard or custom table — agents can enumerate the bases they have access to, inspect fields at runtime, and perform full CRUD operations, including batch upserts.Features
- Dynamic Discovery: Agents can list accessible bases and inspect table schemas (fields, types, select choices, views) without hardcoded configuration
- Flexible Search: Three query modes — free-text
searchTerm+searchFields, fullfilterByFormula, or plain list with sort/view/fields - Full CRUD + Upsert: Create, read, update, delete, and batch-upsert records (up to 10 per call — Airtable’s API limit)
- Field Typecasting: Optional
typecastflag coerces string values to existing select options, numbers, and dates so agents don’t have to format values exactly - View-Aware Queries: Scope results to a named view so the agent honors the same filters your team uses in the UI
- Offset Pagination: Seamlessly page through large tables via the
nextOffsetcursor
Prerequisites
- Active Airtable account (free tier works)
- A Personal Access Token (PAT) with the correct scopes and the right bases granted
Setup Guide
Create a Personal Access Token
Go to airtable.com/create/tokens/new. Give the token a descriptive name (e.g., “Aster Agents”).Add these scopes:
data.records:read— read table recordsdata.records:write— create, update, and delete recordsschema.bases:read— discover bases, tables, and field metadata
pat and is only shown once.PATs are tied to the creating user’s permissions. If that user loses access to a base, the token loses access to that base too. For long-lived service use, create the PAT under a dedicated service account.
Enable Airtable Integration
In Aster Agents, navigate to Control Hub > Integrations and locate the Airtable card. Click Connect to begin setup.
Add Tools to Your Agent
Edit your agent and enable the Airtable tools you need:
- Get Airtable Schema — list bases, or inspect tables and fields inside a base
- Search Airtable — find records with free-text search, formula filters, and sorting
- Manage Airtable Records — create, read, update, upsert, and delete records
baseId, tableIdOrName, and field names before searching or writing.Available Tools
Get Airtable Schema
Discover the structure of your Airtable workspace:- Without a baseId: returns every base the integration has access to (id, name, permission level)
- With a baseId: returns every table in that base with fields (id, name, type, description, select choices) and views
Search Airtable
Query records in a table with three modes:- Free-text:
searchTerm+searchFields— case-insensitive substring match across the listed fields, built viaOR(SEARCH(...)) - Formula:
filterByFormula— any valid Airtable formula, for AND/OR logic, date math, linked-record filtering, etc. - Plain list: no filter — returns records optionally scoped to a
view, with sort/fields/maxRecords applied
nextOffset when more records are available.
Manage Airtable Records
Perform CRUD operations:- get — retrieve a single record by ID
- create — insert 1–10 records in one call
- update — patch specific fields on existing records (requires each record’s
id) - upsert — batch insert-or-update using
fieldsToMergeOnas the match criteria - delete — remove records by ID (single via
recordId, or up to 10 viarecords[].id)
typecast: true when writing human-readable values to select / number / date fields — Airtable will coerce strings to match existing options.
Security Considerations
- Grant only the bases you need — PATs can be scoped to specific bases; avoid “all workspaces” unless the agent genuinely needs it
- Use minimum scopes — if the agent only reads, don’t grant
data.records:write - Rotate PATs periodically — Airtable tokens do not expire automatically; treat them like long-lived API keys
- Use a dedicated service user — creating the PAT under a shared service account avoids losing access when an individual leaves
- Monitor token activity — Airtable’s token settings page shows last-used timestamps
Troubleshooting
Authentication Failed
Authentication Failed
- Verify your token is correct and starts with
pat - Check the token hasn’t been revoked in your Airtable token list
- Confirm the creating user still has access to the base (PAT permissions inherit from that user)
Base / Table Not Found
Base / Table Not Found
- The token must explicitly list the base under Access — it’s not sufficient for the user to have base access
- Use
airtable_get_schema(without a baseId) to see exactly which bases the token can reach tableIdOrNameaccepts either the table ID (starts withtbl) or its display name — IDs are more stable against renames
Rate Limiting
Rate Limiting
- Airtable limits each base to 5 requests per second per integration
- The tool surfaces a clear error with the retry-after duration when hit
- For bulk work, use the batch upsert action with up to 10 records per call rather than single-record creates
Write Fails on Select Fields
Write Fails on Select Fields
- By default, writing a string that doesn’t exactly match an existing option fails
- Pass
typecast: trueto let Airtable coerce the string to an existing option (or create a new one for single/multi-select) - For linked records, pass an array of record IDs (not names)
Formula Errors
Formula Errors
- Wrap field names in
{}— e.g.,{Status}='Active' - Escape single quotes in string literals as
\' - Use Airtable’s formula playground to validate complex formulas before passing them in
Related Tools
- Get Airtable Schema - Discover bases, tables, and fields
- Search Airtable - Query records with search, formula, or view filters
- Manage Airtable Records - CRUD + batch upsert on records
