Back to TemplatesRoute AI-powered customer support via email and Slack with PostgreSQL and Google Sheets
Last update
Last update 3 months ago
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_WEBHOOK and YOUR_ESCALATION_WEBHOOK with your webhook URLs
- Google Sheets: Replace
YOUR_SPREADSHEET_ID with your spreadsheet ID and authenticate
- Email: Configure SMTP/Gmail credentials in the email node
- PostgreSQL (optional): Create
support_conversations table 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