Answer customer chats and escalate complaints with Llama 3.2, Google Sheets, and Slack
Ready for 3.0What this workflow does
This AI workflow has 30 nodes and runs when a chat message arrives (plus 1 other trigger). Along the way it connects Google Sheets and Slack.
How it runs
Trigger: When a chat message arrives (plus 1 other trigger).
- Load Config (Edit Fields (Set)): sets 7 fields: store_name, store_info, sheet_id…
- Is Chat Message? (If): checks a condition and branches into true / false
- Detect Intent by Rules (Code): runs custom JavaScript code
- Load Conversations (Google Sheets): uses Google Sheets
- Needs AI Fallback? (If): checks a condition and branches into true / false
- Load Tickets (Google Sheets): uses Google Sheets
- Classify Unclear Message (HTTP Request): calls an HTTP API (POST)
- Route by Intent (Switch): routes items into 7 branches
- Build Daily Summary (Code): runs custom JavaScript code
- Parse AI Intent (Code): runs custom JavaScript code
…plus 18 more steps. See the full node list below.
Services it uses
Other Google Sheets + Slack templates (1,314)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Quick overview This workflow handles customer chat messages for an online shoe store by routing them to order lookup and product search in Google Sheets or answering policy questions with Llama 3.2 via Ollama, while escalating complaints and other handoffs to…