Triage and answer ecommerce support tickets with DeepSeek, Gmail, Sheets and Slack
Needs changesWhat this workflow does
This AI workflow has 26 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects DeepSeek Chat Model and Gmail. It also calls sheets.googleapis.com and hooks.slack.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- 01 - Normalize Message (Code): runs custom JavaScript code
- S1 - Read Ticket Log (HTTP Request): calls sheets.googleapis.com
- E1 - Error Context (Edit Fields (Set)): sets 1 field: text
- 02 - Classify Intent & Priority (Code): runs custom JavaScript code
- S2 - Build Daily Digest (Code): runs custom JavaScript code
- E2 - Alert Team on Error (HTTP Request): calls hooks.slack.com (POST)
- 03 - Route by Intent (Switch): routes items into 4 branches
- S3 - Email Daily Digest (Gmail): send (message)
- 04a - Order Status Reply (Code): runs custom JavaScript code
- 04b - Refund & Return Reply (Code): runs custom JavaScript code
…plus 12 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
HTTP calls to: sheets.googleapis.com, hooks.slack.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in 05 - DeepSeek Support Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) 05 - DeepSeek Support Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (12)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - AI Agent
@n8n/n8n-nodes-langchain.agent - DeepSeek Chat Model
@n8n/n8n-nodes-langchain.lmChatDeepSeek - Merge
n8n-nodes-base.merge - Respond to Webhook
n8n-nodes-base.respondToWebhook - Gmail
n8n-nodes-base.gmail - HTTP Request
n8n-nodes-base.httpRequest - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Error Trigger
n8n-nodes-base.errorTrigger - Edit Fields (Set)
n8n-nodes-base.set
From the author
Quick overview Runs an e-commerce support desk end to end: it classifies each incoming message, answers what it is allowed to answer, sends the reply, escalates the rest to a human in Slack, appends every ticket to a Google Sheets log, and emails a daily…