AI-powered Gmail customer support with OpenRouter & Pinecone knowledge base
Ready for 3.0What this workflow does
This AI workflow has 9 nodes and runs on Gmail events. Along the way it connects Gmail, OpenRouter Chat Model, Pinecone Vector Store and Embeddings OpenAI.
How it runs
Trigger: On Gmail events.
- Text Classifier: classifies text into categories with AI, with model: OpenRouter Chat Model
- AI Agent: runs an AI agent, with model: OpenRouter Chat Model; 1 tool (knowledgeBase)
- Reply to a message (Gmail): reply
Services it uses
Other OpenAI + Gmail templates (1,623) · Other Gmail + OpenRouter templates (135) · Other OpenAI + Pinecone templates (128)
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 - Text Classifier
@n8n/n8n-nodes-langchain.textClassifier - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - No Operation, do nothing
n8n-nodes-base.noOp - AI Agent
@n8n/n8n-nodes-langchain.agent - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Gmail
n8n-nodes-base.gmail
From the author
This workflow automates customer email support by combining Gmail, AI classification, and a knowledge base to provide instant, accurate, and friendly responses. It’s designed for businesses that want to improve customer satisfaction while reducing manual…