πŸ“– Chat with your Airtable CRM using OpenAI GPT-4.1-mini

⚑ 3 views Β· πŸ“– Internal Wiki & Knowledge Base

Description

Video Introduction

Video Walkthrough

Want to automate your inbox or need a custom workflow? πŸ“ž Book a Call | πŸ’¬ DM me on Linkedin


Workflow Overview

This workflow creates an intelligent AI chat agent that allows you to query and retrieve data from your Airtable base using natural language conversations. Instead of manually searching through tables or writing complex formulas, simply ask questions like β€œList all Microsoft employees” or β€œShow me contacts from California,” and the agent will intelligently search the appropriate tables and provide accurate answers.

The agent is powered by OpenAI’s GPT model and equipped with two specialized tools: one for searching your Contacts table and another for searching your Companies table. It maintains conversation context through built-in memory, allowing for follow-up questions and more natural interactions.

Key Features

Setup Requirements

Airtable Connection:

  1. Create a Personal Access Token at airtable.com/create/tokens
  2. Add these scopes: data.records:read, data.records:write, and schema.bases:read
  3. Grant access to your bases and copy the token
  4. Add the token as an Airtable credential in n8n
  5. Update both Airtable tool nodes to point to your specific base and tables

OpenAI Connection: Connect your OpenAI API credentials in the OpenAI Chat Model node. The workflow uses GPT-4.1-mini by default, but you can select any available model.

Once published, the workflow provides a chat URL where you can start asking questions about your Airtable data immediately.

πŸ”— Nodes Used

AI Agent, OpenAI Chat Model, Simple Memory, Chat Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup