← All posts

STAYCHARTED BLOG · IT SERVICE MANAGEMENT

AI ticket routing for any ITSM tool, trained on your own tickets

Train a private AI model on resolved tickets to suggest categories, assignment groups and priorities in your ITSM workflow, with confidence and human review.

By Manoj Mohandas ·

Your ticket history is the starting point

Your service desk already knows where every ticket goes.

A ticket arrives: "Outlook keeps asking for my password since this morning." Someone reads it, picks a category, picks an assignment group, sets a priority. Thirty seconds, maybe a minute. Then it happens again, a few hundred times a day.

Most of those choices are ones your team has made thousands of times before. And when a ticket lands in the wrong queue, it waits, gets reassigned, and waits again. Ask any service desk how many tickets are filed under "Other".

Your ticket history already holds the answer. Every resolved ticket records what was reported, and where it really ended up. That's exactly what a model needs to learn from.

Decisions your tickets already record

Decision Learned from What it saves
Category and subcategory The final category on resolved tickets Clean reporting, fewer "Other" tickets
Assignment group The group that resolved it, not the first one it went to Reassignments and waiting time
Priority or urgency The priority after triage Urgent tickets found sooner
Request type How agents re-filed tickets that came in through email Portal forms that match what people meant
Access requests Past approvals and denials Routine requests confirmed in one click; unusual ones reviewed in full

One model can answer several of these at once: category, group and priority together, with one confidence for the whole answer. Or train one model per decision, so each has its own confidence.

Why not rules, or a general AI assistant?

Keyword rules work until someone writes "can't get in" instead of "password", or until the rule list reaches 400 lines and nobody knows which rule fired.

A general AI assistant knows what a password reset is. It doesn't know that, at your company, VPN problems from the Austin office go to Network Ops and everyone else's go to the Service Desk. Your categories are your team's conventions, and conventions are learned from examples, not definitions.

We measured that difference on BANKING77: 13,083 real customer-service messages sorted into 77 overlapping intents. That's the same shape of problem as ticket categories, though not tickets themselves. A model trained on about 10,000 labeled examples got 93.7% of 3,080 unseen messages right. Claude, given a definition of each category, got 84.7%: the trained model made fewer than half as many mistakes. Read the comparison →

How it fits your service desk

The model sits inside the workflow you already have; it doesn't replace it.

  1. A ticket is created. Your ITSM tool sends its subject, description and any fields you choose to your StayCharted model, through the API.
  2. The model answers with a category, group and priority, and how sure it is.
  3. Your rule decides what happens:
    • Confident answers fill the fields, or appear as a suggestion the agent accepts in one click.
    • Unsure answers go to a person, as today. On Essentials and Business, answers below the model’s cutoff also enter StayCharted’s Review Queue. Choose one place to review; corrections made in your ITSM tool must be sent back to StayCharted if you want to use them for retraining.
  4. Corrections recorded in StayCharted become training examples. Retrain monthly, and the model follows your current groups and categories, not last year's.

In practice it looks like this (from our test on a ServiceNow developer instance; your categories and confidences will differ):

Show Code example
INC0010007 · "Outlook keeps asking for my password"

Work note   StayCharted: Category Software, Assignment group Service Desk, 80% sure.
            Filled in: Category, Assignment group.

StayCharted never connects to your ITSM tool. It answers the question your workflow sends, and your workflow and your people act.

It works with the ITSM tool you already have

Any tool that can send an HTTPS request when a ticket is created can ask the model. Where to add the call:

Tool Where the call goes
ServiceNow An IntegrationHub REST step (requires the appropriate subscription) in a Flow Designer flow, or an asynchronous business rule on the Incident or Requested Item table
Jira Service Management An automation rule: "Work item created", then Send web request, then a comment or field edit with the answer
Freshservice Workflow Automator: a Web Request node, then a JSON Parser node, then set the fields or add a note
Zendesk A trigger sends the ticket to a webhook. Zendesk doesn't read the reply, so a small function, Power Automate or Zapier writes the answer back through Zendesk's API
TOPdesk An action sequence: one HTTP request to the model, then a second to TOPdesk's own API to update the ticket
HaloITSM A runbook triggered when a new ticket is logged, using the answer in the next step
ManageEngine ServiceDesk Plus A custom trigger that runs a webhook or custom function
BMC Helix ITSM, Ivanti Neurons for ITSM, SysAid, SolarWinds Service Desk and others The tool's own workflow or integration features, or Power Automate, Zapier or a short script calling the API

What's available can depend on your edition; your administrator can confirm. We've tested the ServiceNow business rule end to end on a ServiceNow developer instance: step-by-step ServiceNow guide →. The other rows come from each vendor's documentation and haven't been tested by us yet. The classification call can send the fields used during training:

Show Command example
curl -s "https://amt.staycharted.com/api/v1/models/$MODEL_ID/classify" \
  -H "Authorization: Bearer $STAYCHARTED_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"Subject":"Outlook keeps asking for my password","Description":"Since this morning, on my laptop and phone","Location":"Austin"}}'

For a no-code action, follow the StayCharted Zapier guide to map ticket fields to your published model and route the answer.

Where to start

  1. Export 6 to 12 months of resolved tickets from one queue or one service: the subject and description, the fields known when the ticket was opened (such as the caller's department and location), and the final category, group and priority.
  2. Use the final values, not the first ones. The first group a ticket went to is often the mistake you're trying to avoid.
  3. Leave out anything filled in later, such as resolution notes or "resolved by". They make the test score look great and the model useless on new tickets.
  4. Train, and read the report by category. An overall 95% can hide a group the model gets right only half the time.
  5. Choose a review cutoff by what a misrouted ticket costs you, then connect it to new tickets.

If the numbers work for your team, you're live. If they don't, you've spent an afternoon and learned how consistently your team categorizes. Our best practices guide covers each step.

For requests arriving by email, see AI email routing.

Integration documentation

Which StayCharted model to use

ServiceNow, Jira, Freshservice, Zendesk, TOPdesk, HaloITSM, ManageEngine ServiceDesk Plus, BMC Helix, Ivanti Neurons, SysAid and SolarWinds are trademarks of their respective owners. StayCharted is not affiliated with them.

Common questions

Doesn't my ITSM tool already have AI for this?

Many include AI features in higher editions or as add-ons. If you have them, compare them on your own tickets. StayCharted supplies the same classification API across tools; your ITSM edition may need paid integration features. It and shows how often it's right on tickets it never saw before you connect it.

Will it reassign or close tickets on its own?

No. It returns suggestions and confidences. Your rule decides whether a field is filled in or a person is asked, and closing a ticket stays with your team.

What about personal information in tickets?

StayCharted sees only the fields your workflow sends. Before training, Data quality finds email addresses and phone numbers in your examples so you can mask them. The model rarely needs a name to pick a category.

Our groups change every few months. Then what?

Retrain after a reorganization. Corrections from the Review Queue go straight into the next training run, and you publish the new version only if its report is better.

Tickets in several languages?

The AI Classifier Model and the Dedicated AI Model read meaning, not just words, so one model can handle tickets written in different languages.

Which plans?

Training on your history works on every plan, Free included. The API, which your ITSM tool needs, and the Review Queue are on Essentials and Business.

Put it into practice

Step-by-step: ServiceNow ticket routing →

Explore support ticket routing →

Model training best practices · API reference

STAYCHARTED AI MODEL TRAINER

Train AI to categorize the way your team does.

Start with examples you already have, see how often it’s right on items it never saw, and use confidence to prioritize the ones a person should review.

Start free