Smart Customer Support System with GPT-4o, Gmail, Slack & Drive Knowledge Base'
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.
Worth a look
- 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
What it does
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., billing, support, spam, urgent). π Knowledge-Based Replies β GPT-4o drafts personalized replies using your support documents synced from Google Drive and stored in Pinecone. π© Automatic Response β The agent replies to the customer in the same Gmail thread. π¨ Escalation Detection β If human support is needed, Slack is notified instantly. π Logging β Each interaction is logged in Google Sheets for tracking and analysis. π Live Sync β Any document added to your Google Drive folder is auto-loaded into the knowledge base for future AI responses. π οΈ Quick Setup Steps π οΈ Quick Setup Checklist β± Time to Deploy: ~10β15 minutes π 1. Connect Integrations β
Gmail (OAuth2) β
Google Drive (OAuth2) β
Google Sheets (OAuth2) β
OpenAI API Key β
Pinecone API Key β
Slack Webhook (for alerts) ποΈ 2. Update Workflow IDs Replace the sample IDs in your nodes: π Google Drive Folder ID β Where your KB lives π Google Sheet ID β Where interactions are logged π¨ Slack Webhook URL β Where urgent alerts go π Pinecone Index β Your vector storage index π¨ 3. Customize Prompt & Tone Go to π§ βResponse Agentβ Node Update the System Prompt to reflect your brandβs tone: e.g. βWeβre always here to help, and we reply fast.β π 4. Upload Your Docs Add .pdf, .txt, or .docx files to your synced Google Drive folder. The agent will auto-read and embed them into Pinecone for AI-powered replies. βΆοΈ 5. Run & Test Send a test email from another account β
Watch the reply come through Gmail β
Check Slack for urgent alert β
Confirm logging in Google Sheets β
Done!