๐ฌ Route AI-powered customer support via email and Slack with PostgreSQL and Google Sheets
โก 15 views ยท ๐ฌ Support Chatbots
Description
Automate intelligent customer support responses with AI and Slack
How it works
- Receive request via webhook with customer question
- Analyze sentiment and detect urgency using JavaScript
- Send urgent alerts to Slack for critical cases
- Search knowledge base and fetch conversation history from PostgreSQL
- Generate AI response with context-aware prompts
- Route intelligently: Auto-respond via email OR escalate to Slack
- Log everything to Google Sheets and PostgreSQL for analytics
Setup steps
- Slack webhooks: Replace
YOUR_URGENT_WEBHOOKandYOUR_ESCALATION_WEBHOOKwith your webhook URLs - Google Sheets: Replace
YOUR_SPREADSHEET_IDwith your spreadsheet ID and authenticate - Email: Configure SMTP/Gmail credentials in the email node
- PostgreSQL (optional): Create
support_conversationstable or disable DB nodes - Production: Replace mock AI nodes with OpenAI/Anthropic API nodes
Key features
- Multi-language support (Japanese & English)
- Sentiment analysis with urgency detection
- Smart escalation routing
- Real-time Slack notifications
- Comprehensive analytics logging
๐ Nodes Used
Send Email, Google Sheets, HTTP Request, Postgres, Webhook
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File