Templates / Smart Customer Support System with GPT-4o, Gmail, Slack & Drive Knowledge Base'

Smart Customer Support System with GPT-4o, Gmail, Slack & Drive Knowledge Base'

Ready for 3.0

by David Olusola βœ“ Β· 545 views Β· created 2025-05-31 Β· Support Chatbot, AI RAG

Ready 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

Nodes used (15)

GmailText ClassifierOpenAI Chat ModelGoogle SheetsGoogle DrivePinecone Vector StoreEmbeddings OpenAIDefault Data LoaderRecursive Character Text SplitterAI 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!

View the original on n8n.io β†’ Check your own copy

Get the weekly β€œwhat broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.