Skip to navigation

Airtable

Look up and add Airtable records during calls.

Your receptionist can look up a caller in an Airtable table and add a new record, such as a lead or a callback request. Both use webhook tools that call Airtable’s API. You can also add records through an Airtable automation instead, but calling the API directly is recommended: it works on every Airtable plan and needs no automation to maintain.

Look up records

1

Create a personal access token

Go to airtable.com/create/tokens and create a token with the data.records:read scope. Under Access, add only the base your receptionist needs.

2

Find the base and table IDs

Open the table in your browser. The URL contains the base ID, which starts with app, and the table ID, which starts with tbl.

3

Create the webhook tool

Go to Integrations, select Add integration, and choose Webhook Tool.

FieldValue
Namefind_airtable_record
Description”Look up the caller in our customer table. Use it when a caller asks about an existing booking, order, or account.”
MethodGET
URLhttps://api.airtable.com/v0/BASE_ID/TABLE_ID
Request HeadersAuthorization (Secret): Bearer followed by your token
Query ParametersfilterByFormula (string, required): “An Airtable formula that matches the caller, for example {Phone} = '+14155550123'. Use the field names Phone and Name.”
maxRecords (integer, fixed value): 5
Assign to agentsReceptionist

Select Enable.

Replace Phone and Name in the description with your table’s field names, so your receptionist writes formulas that match.

The AI writes the formula, so a caller could ask it to look up someone else, by name or by another number. Tell your receptionist in its instructions to search only by the number the caller is calling from, and never to share another person’s record.

1

Create a token for adding records

Create a second token at airtable.com/create/tokens with only the data.records:write scope, and under Access, add only the same base. Keeping it separate means the lookup token can’t change records.

2

Find the field IDs

Each field the tool fills is a key in the request, and keys can’t contain spaces. If a field’s name has spaces, use its ID instead, which starts with fld. Open airtable.com/developers/web/api/introduction, select your base, and find the table’s fields with their IDs.

3

Create the webhook tool

Go to Integrations, select Add integration, and choose Webhook Tool.

FieldValue
Nameadd_airtable_record
Description”Save a new lead when a caller wants a quote or a callback.”
MethodPOST
URLhttps://api.airtable.com/v0/BASE_ID/TABLE_ID
Request HeadersAuthorization (Secret): Bearer followed by the new token
Body Parametersfields (object, required), with the fields below
typecast (boolean, fixed value): true
Assign to agentsReceptionist

Inside fields, select Add field once for each field to fill, with the field’s name or ID as the key. For example:

  • Name (string, required, from the conversation): “The caller’s full name.”
  • Phone (string, required, from the conversation): “The caller’s phone number, such as +14155550123.”
  • Request (string, required, from the conversation): “What the caller needs, in one or two sentences.”

To give every new record the same value, such as a Status of New, add that field with a fixed value. typecast lets Airtable match text to your single select options and convert other field types.

Select Enable, then test your receptionist with a conversation that triggers the tool. The record appears in the table.

Add records with an automation

1

Create an automation

In your base, open Automations, select Create automation, and choose the When webhook received trigger. Copy the webhook URL. Webhook triggers aren’t on every Airtable plan.

2

Create the webhook tool

Go to Integrations, select Add integration, and choose Webhook Tool.

FieldValue
Nameadd_airtable_record
Description”Save a new lead when a caller wants a quote or a callback.”
MethodPOST
URLThe automation’s webhook URL
Body ParametersOne per field to fill, for example name, phone, and request (all strings, required)
Assign to agentsReceptionist
3

Send a sample and map fields

Test your receptionist with a conversation that triggers the tool. In the automation, select Test trigger to load the request, then add a Create record action and map each body parameter to a field.

4

Turn on the automation

Turn the automation on.

Troubleshooting

ProblemWhat to check
401 or 403 on lookupsThe token needs the data.records:read scope and access to this base.
422 INVALID_FILTER_BY_FORMULAThe field names in the tool’s description must match the table exactly, including case.
Lookups return nothingPhone numbers must be stored in the same format your receptionist sends, such as +14155550123.
401 or 403 when adding recordsThe adding token needs the data.records:write scope and access to this base.
422 UNKNOWN_FIELD_NAMEEach key inside fields must match a field name exactly, including case, or be the field’s ID.
No records are addedWith an automation, it must be on, and Create record must map fields from the webhook trigger.
429 from AirtableAirtable allows 5 requests per second per base. Reduce other API traffic on the base.