Route AI-powered customer support via email and Slack with PostgreSQL and Google Sheets

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

0
Downloads
0
Views
8.52
Quality Score
beginner
Complexity
Author:yuta tokumitsu(View Original →)
Created:2/13/2026
Updated:2/22/2026

🔒 Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments