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.

n8nRead on 2026-11-1610 steps

Steps

  1. Trigger: Receives tickets via IMAP email or webhookEmail (IMAP)
  2. Workflow configuration of the endpoints
  3. Cleans and normalizes the ticket data
  4. Detects language and translates if neededAnthropic Claude
  5. AI classifies sentiment, urgency and categoryAnthropic Claude
    Summary, churn risk, recommended path.
  6. Routes to auto-reply or escalation
  7. AI drafts a replyAnthropic Claude
  8. Sends ticket data to the CRMHTTP Request
  9. Sends escalations to the support team
  10. 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