Skip to content
AI Agent How-To

Home ›Connect agents to apps

Connect an AI Agent to Airtable with n8n

Intermediate ~4 min read Last tested November 2026

Updated 2026-11-03

You connect an AI agent to Airtable in n8n by attaching the Airtable node as a tool on the AI Agent node. The agent lists or reads records from a base you authorize. Start with read-only operations before you expose create or update tools. Last tested 2026-11-03.

Docs used:

Prerequisites

  • n8n Cloud or self-hosted n8n with a current AI Agent node (not deprecated v1 agent types)
  • An Airtable account and a base ID (from the base URL or API docs)
  • A chat model credential in n8n (OpenAI, Anthropic, etc.)

Steps

1. Create an Airtable credential in n8n

  1. In Airtable, create a personal access token with scopes that match read access to your base (Airtable tokens).
  2. Grant the token access to the base you want the agent to query.
  3. In n8n, add an Airtable credential and paste the token. n8n’s Airtable credentials page lists supported auth types for your n8n version.

2. Add the AI Agent and chat model

  1. Add an AI Agent node and connect a Chat Model sub-node.
  2. Optional: attach n8n AI agent memory so follow-ups like “show the second record” keep context.
  3. For a chat UI, add a Chat Trigger and set the agent Prompt to the connected trigger.

3. Attach Airtable as a read tool

  1. Connect an Airtable node as a tool sub-node on the AI Agent.
  2. Set Operation to List or Read (avoid Delete until you trust prompts).
  3. Enter your Base ID and Table name (or table ID).
  4. For List, open Add Option → Filter By Formula when the model should search by field values. Airtable formula syntax is documented in Airtable’s formula reference.

Let the model fill search text with $fromAI():

{{ $fromAI('filterFormula', 'Airtable formula to filter rows, e.g. {Status}="Open"', 'string') }}

Wire that expression into Filter By Formula only if you want the model to construct formulas; for safer runs, hard-code the formula and use $fromAI() only for a single text field like {Name}.

4. Test in the chat panel

Ask for records you know exist, for example “List open tasks from the Tasks table.” The execution log should show the Airtable tool returning rows. If the agent never calls Airtable, confirm both a chat model and the Airtable tool sub-node are connected.

5. Add write tools carefully (optional)

The Airtable node supports Append, Update, and Delete. Expose Append first with required fields filled via $fromAI(), and keep Delete disconnected from the agent until you add human approval or a confirmation step.

Common errors

401 or invalid authentication. Regenerate the personal access token and confirm it includes the base.

Table not found. Base ID and table name are case-sensitive; copy them from Airtable’s API docs for the base.

Agent returns prose but no tool call. Connect the Airtable tool sub-node and a chat model; both are required on the AI Agent node.

Formula errors in List. Invalid Airtable formula from the model. Validate formulas or restrict the agent to Read with a fixed record ID from a prior List step.

FAQ

How do I connect an AI agent to Airtable with n8n?

Create an Airtable credential, add an AI Agent with a chat model, and connect the Airtable node as a tool with List or Read operations.

Can I use Google Sheets instead?

For spreadsheets in Google Workspace, see Connect an AI agent to Google Sheets. For CRM-style records in n8n, compare Connect an AI agent to HubSpot with n8n.

Does the agent need memory?

Not for one-shot lookups. Attach n8n AI agent memory when users ask follow-up questions about the same records.