Ai email auto-responder system- AI RAG agent for email inbox
Needs changesWhat this workflow does
This AI workflow has 27 nodes and runs on Google Drive events (file created) (plus 2 other triggers). Along the way it connects OpenAI Chat Model, Vector Store Question Answer, Pinecone Vector Store and Embeddings OpenAI and 4 more.
How it runs
Trigger: On Google Drive events (file created) (plus 2 other triggers).
- Google Drive: download
- Notion: get many (block)
- Set Data (Edit Fields (Set)): sets 3 fields: Subject, snippet, From
- Pinecone Vector Store: stores documents in the Pinecone vector store, with embeddings: Embeddings OpenAI; document loader: Default Data Loader
- Aggregate: combines items into one
- Check if Question (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
- Edit Fields (Edit Fields (Set)): sets 1 field: content
- If: checks a condition and branches into true / false
- Search Information (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (Get Brand brief, Answer questions with a vector store); memory: Simple Memory
- Response writer (AI Agent): runs an AI agent, with model: OpenAI Chat Model
…plus 2 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623) · Other OpenAI + Google Drive templates (628) · Other Gmail + Google Drive templates (465)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Search Information (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
- Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Search Information (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (20)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Vector Store Question Answer Tool
@n8n/n8n-nodes-langchain.toolVectorStore - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - Gmail Trigger
n8n-nodes-base.gmailTrigger - If
n8n-nodes-base.if - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Gmail
n8n-nodes-base.gmail - AI Agent
@n8n/n8n-nodes-langchain.agent - Edit Fields (Set)
n8n-nodes-base.set - Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - Google Drive
n8n-nodes-base.googleDrive - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Notion
n8n-nodes-base.notion - Aggregate
n8n-nodes-base.aggregate - Google Docs
n8n-nodes-base.googleDocs - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
From the author
AI Email Auto-Responder – Smart Client Reply Automation with RAG This workflow is built for individuals, teams, and businesses that receive regular inquiries via email and want to automate responses in a way that’s intelligent, brand-aligned, and always up to…