Support ticket triage with Claude
Claude Sonnet sorts tickets, then drafts or escalates. This n8n template receives support tickets from an IMAP mailbox or a webhook endpoint. An Anthropic or OpenAI model classifies each ticket by sentiment, urgency and category, writes a summary and a churn risk score, translates messages when needed and, for tickets routed to auto-reply, drafts a reply from the ticket context. The structured result, with priority, category, sentiment, churn risk and the draft reply, is sent to your CRM or helpdesk API. Escalations go to a webhook URL such as Slack, and metrics can be sent to a logging endpoint. It is for support teams with their own CRM API.
Steps
- Trigger: Receives tickets via IMAP email or webhookEmail (IMAP)
- Workflow configuration of the endpoints
- Cleans and normalizes the ticket data
- Detects language and translates if neededAnthropic Claude
- AI classifies sentiment, urgency and categoryAnthropic Claude
Summary, churn risk, recommended path. - Routes to auto-reply or escalation
- AI drafts a replyAnthropic Claude
- Sends ticket data to the CRMHTTP Request
- Sends escalations to the support team
- Output: Logs metrics to an observability endpoint
Optional.
Limits
- Escalations need a webhook URL, for example a Slack one.
- Needs a CRM or helpdesk with an API; endpoint, headers and authentication are set by hand.
What it does well
- Accepts tickets by email (IMAP) or webhook.
- Works with Anthropic or OpenAI credentials.
Before you import
Configure IMAP credentials or the support-ticket webhook, add Anthropic or OpenAI credentials, set the CRM API endpoint, headers and authentication, and add a webhook URL for escalations.
Similar templates
HubSpot tickets to Jira with GPT
Also for customer support, 8 steps.
Jira service desk triage with Gemini
Also for customer support, 9 steps.
Contact form spam and enquiry sorting
Also for customer support, 6 steps.
Sort incoming requests
Other templates that do this task.