πŸ’¬ Smart Customer Support System with GPT-4o, Gmail, Slack & Drive Knowledge Base’

⚑ 478 views Β· πŸ’¬ Support Chatbots

Description

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!

πŸ”— Nodes Used

Google Sheets, HTTP Request, Google Drive, Google Drive Trigger, Gmail Trigger, AI Agent

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup