Templates / Generate empathetic customer replies with Claude AI and auto-escalation

Generate empathetic customer replies with Claude AI and auto-escalation

Needs changes

by Yusuke ✓ · 75 views · created 2025-11-05 · Ticket Management, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 17 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects Anthropic Chat Model, Slack and Google Sheets.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).

  1. Test Input (Change Me) (Edit Fields (Set)): sets or maps fields
  2. Set Config (Edit Fields (Set)): sets or maps fields
  3. Ensure Session (Code): runs custom JavaScript code
  4. AI Agent: runs an AI agent, with model: Anthropic Chat Model; memory: Memory (Recent 4); output parser: Structured Output Parser
  5. Post-Process & Sanitize (Code): runs custom JavaScript code
  6. Risk & Handover Rules (Code): runs custom JavaScript code
  7. If: checks a condition and branches into true / false
  8. Draft (Needs Review) (Edit Fields (Set)): sets 2 fields: status, note
  9. Draft (Auto-OK) (Edit Fields (Set)): sets 1 field: status
  10. Save to Google Sheets (Google Sheets): append or update

…plus 1 more step. See the full node list below.

Services it uses

Anthropic Chat ModelSlackGoogle Sheets

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 AI Agent (Empathy)1 (v1.6): 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).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (Empathy)1 (v1.6)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (12)

From the author

🧠 Overview Generate empathetic, professional reply drafts for customer or user messages. The workflow detects sentiment, tone, and risk level, drafts a concise response, sanitizes PII/links/emojis, and auto-escalates risky or low-confidence cases to human…

Excerpt from Yusuke's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.