Smart Customer Support System with GPT-4o, Gmail, Slack & Drive Knowledge Base'
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail, OpenAI Chat Model, Google Sheets and Google Drive and 2 more.
How it runs
Trigger: On Gmail events (plus 1 other trigger).
- Email Content Preprocessor (Code): runs custom JavaScript code
- Google Drive: uses Google Drive
- Intelligent Email Classifier (Text Classifier): classifies text into categories with AI, with model: GPT-4o Language Model
- Pinecone Vector Store: uses the Pinecone vector store, with embeddings: Embeddings OpenAI; document loader: Default Data Loader
- Urgent Email Filter (If): checks a condition and branches into true / false
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 2 tools (Gmail, Pinecone Vector Store)
- Slack Notification Hub (HTTP Request): calls an HTTP API
- Analytics Data Logger (Google Sheets): uses Google Sheets
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 Inbox Monitor).
Nodes used (15)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Code
n8n-nodes-base.code - Text Classifier
@n8n/n8n-nodes-langchain.textClassifier - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - Gmail Tool
n8n-nodes-base.gmailTool - Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - Google Drive
n8n-nodes-base.googleDrive - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
The AI Support Agent combines Gmail, Slack, and Google Drive into a seamless support workflow powered by GPT-4o and Pinecone. 🧠 Email Monitoring – New support emails are pulled from Gmail every minute. 📤 Classification – AI categorizes emails (e.g.,…