workflows.fit
Back to n8n workflows
n8n templateFreeBy Baptiste Fort

Automatically reply to customer emails with Airtable, Gmail, and GPT-4.1 Mini

Automatically Reply to Customer Emails with Airtable, Gmail, and OpenAI ![repondreautomatiquementemailsn8nairtablegmailopenai.png](fileId:2643) Introduction This guide walks you step by step through setting up an auto...

Data & StorageCommunicationHITLAILangchainCore NodesAgentGmail Trigger
Loading interactive preview...

Template notes

Automatically Reply to Customer Emails with Airtable, Gmail, and OpenAI ![repondreautomatiquementemailsn8nairtablegmailopenai.png](fileId:2643) Introduction

This guide walks you step by step through setting up an automated agent that: - Receives emails sent by your customers. - Analyzes the content of the email. - Generates an appropriate response using an AI model (OpenAI GPT). - Stores all information (received email, AI response, date, customer email) in Airtable. - Automatically replies to the customer in the same Gmail thread.

---

Prerequisites

Before you start, you’ll need: - A [Gmail](https://mail.google.com) account connected to n8n. - An [Airtable](https://airtable.com) account. - An [n8n](https://n8n.io) instance (cloud or self-hosted). - An [OpenAI](https://platform.openai.com) API key.

---

Prepare the Airtable Base

![Baseairtable.png](fileId:2645)