🎫 Generate empathetic customer replies with Claude AI and auto-escalation

⚑ 39 views · 🎫 Ticket Management & Triage

Description

🧠 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 review.


βš™οΈ How It Works

  1. Input β€” Manual Test or Webhook Trigger
  2. AI Agent (Empathy) β€” returns { sentiment, tone, reply, confidence, needs_handover }
  3. Post-Process & Sanitize β€” removes URLs/hashtags, masks PII, caps length
  4. Risk & Handover Rules β€” checks confidence threshold, risk words, and negativity
  5. Routing β€” auto-send safe replies or flag to Needs Review

🧩 Setup Instructions (3–5 min)

> Tip: If you need to show literal angle brackets in messages, use backticks like <example> (no HTML entities needed).


πŸ“š Use Cases

1) SaaS Billing Complaints

2) Product Bug Reports

3) Delivery/Logistics Delays

4) Community Moderation / Abuse

5) Safety / Self-harm Mentions


🚨 Auto-Escalation Rules (defaults)


πŸ§ͺ Notes & Best Practices


πŸ”— Resources

πŸ”— Nodes Used

Google Sheets, Slack, Webhook, Schedule Trigger, AI Agent, Anthropic Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup