Automated Gmail support agent with Gemini 2.5, RAG & Cohere reranking
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 8 nodes and runs on Gmail events. Along the way it connects Gmail, Google Gemini Chat Model, Reranker Cohere and Pinecone Vector Store and 2 more.
How it runs
Trigger: On Gmail events.
- Email Support Agent (AI Agent): runs an AI agent, with model: Gemini 2.; 1 tool (Pinecone Retriever); memory: Postgres Memory
- Gmail: reply
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger).
Nodes used (8)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Gmail
n8n-nodes-base.gmail - Reranker Cohere
@n8n/n8n-nodes-langchain.rerankerCohere - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat
From the author
AI Email Support Agent with RAG & Cohere Reranking Transform your inbox into an intelligent support system: automatically detect new emails, retrieve relevant knowledge from Pinecone, rerank with Cohere for precision, generate contextual replies using Gemini…