API Blog Sign in

AI Ticket Classification

Helpdesk uses AI to automatically classify incoming tickets across multiple dimensions. Classification runs on every new ticket and helps agents prioritize, route, and respond faster.

Classification fields

FieldDescription
Spam scoreLikelihood the ticket is spam or promotional (0-100)
Automation scoreLikelihood the ticket is an auto-reply or out-of-office (0-100)
SentimentDetected emotion: positive, neutral, negative, or frustrated
IntentWhat the customer is trying to accomplish (e.g. billing inquiry, feature request)
LanguageDetected language of the ticket
Suggested priorityAI-recommended priority level based on content
Detected skillsSkills extracted from the ticket for routing
ConfidencePer-field confidence scores indicating how certain the AI is

How classification works

  1. A new ticket arrives via email, form, or API
  2. The AI model analyzes the subject and body
  3. Classification results are attached to the ticket
  4. Agents see the results on the ticket detail page
  5. Automations and triggers can use classification fields as conditions

Classification runs asynchronously. If the AI service is temporarily unavailable, tickets are queued for retry via the backfill queue.

Using classification in automations

AI classification fields can be used as conditions in triggers and automations. For example:

  • Auto-close tickets with a spam score above 90
  • Escalate tickets with negative sentiment to a senior group
  • Route tickets by detected intent to the appropriate team
  • Auto-tag tickets based on detected language

AI-powered authoring

In addition to classification, Helpdesk offers AI-assisted email composition:

  • Compose — Generate a draft reply from a short intent description. Optionally include ticket context and knowledge base articles for more relevant responses.
  • Rewrite — Transform existing text with options to rewrite, expand, shorten, fix grammar, or change tone.

Both features are rate-limited to 20 requests per minute per agent.