Treat routing as a decision, not a single label
A service ticket can involve a product module, issue type, customer tier, language, service window, and required technical skill at the same time. Asking a model to return only “billing” or “technical support” rarely identifies the team that should actually own the work. Start by defining the complete routing output: primary queue, priority, required skills, possible collaborators, and whether a person must confirm the decision.
Next, inventory the signals available to the router. Structured inputs may include form selections, customer plans, product versions, source channels, and account records. Unstructured inputs include the subject, description, attachment summaries, and prior conversation. Their reliability differs. A product identifier supplied by the system is usually stronger evidence than a product name typed by a customer, while free text is better for recovering intent and context that a form did not capture.
Routing quality should not be reduced to agreement with a historical category. More useful questions are whether the ticket reached a team capable of resolving it, whether it was transferred again, whether a risky incident was missed, and whether a supervisor can understand the routing reason. These outcomes determine where deterministic rules are required and where probabilistic judgment is acceptable.
Use rules for boundaries that must not be crossed
Rules are appropriate for explicit, stable conditions that must be applied consistently. A contracted customer may require a dedicated queue, a security indicator may require escalation, a language may require qualified staff, or an ERP contract status may limit the available service. These are policy decisions, not semantic guesses, and they should not be delegated to an AI model.
A rule engine should not become an uncontrolled collection of overlapping keyword checks. Every rule needs an owner, priority, scope, rationale, and retirement condition. The system should record which rules fired and define how conflicts are resolved. For example, a risk rule may take precedence over an efficiency rule, while an entitlement restriction from the contract system may override an inference from ticket text.
- Use rules for: compliance and security escalation, contractual entitlements, service hours, authoritative product identifiers, and fixed organizational ownership.
- Use AI for: natural-language intent, synonymous expressions, mixed issues, candidate categories from incomplete descriptions, and concise summaries.
- Use people for: ambiguous ownership, high-impact incidents, low-confidence predictions, exceptions, and decisions requiring commercial judgment.
- Do not auto-route when: required fields are absent, attachments cannot be processed, account matching fails, or rules and AI recommendations materially disagree.
Make AI return candidates, confidence, and evidence
AI is useful when customers describe the same problem in different ways. A user may never say “permissions,” but may explain that a colleague can access a feature while they cannot. A model can map this language to an approved taxonomy and combine it with product, account, and interaction context to suggest a queue. If a knowledge base or operating manual is available, retrieval can add relevant policy context, but the system should preserve the source and version behind every cited instruction.
The model should produce a constrained structure rather than an open-ended paragraph. Useful fields include primary and secondary categories, recommended queue, confidence band, supporting evidence, missing information, and alternative candidates. Application logic then decides what to do. A high-confidence result with no risk trigger may be routed automatically; an uncertain result may enter a fast review lane; a low-confidence or conflicting result may request more information. Thresholds should reflect the cost of an error for each category instead of applying one universal score.
Implementation also requires defensive controls. Ticket text must not be allowed to override system instructions, and the model should select only from approved queue and category identifiers. Personal data such as names, contact details, and conversation history should be sent only when necessary, with clear masking, retention, and audit policies. If the external model is unavailable, intake should fall back to deterministic routing or an unclassified queue rather than stopping ticket creation.
Turn human corrections into a governed learning loop
A manual reassignment is more than a model error; it is valuable operational evidence. The review interface should capture why the correction occurred: missing source information, an unclear taxonomy, an outdated rule, a semantic misunderstanding, a special customer arrangement, or a change in team responsibility. Saving only the old and new queues does not tell engineers whether to change a rule, prompt, taxonomy, integration, or training example.
Corrections should not flow directly and immediately into model training. Agents may reroute work because of temporary capacity, and reviewers may apply categories inconsistently. Engineering and service teams should periodically sample corrections, reconcile disputed labels, and approve examples before changing the system. When a rule, prompt, or model version changes, replay a retained evaluation set to check whether the target cases improve without creating regressions elsewhere.
A production-ready design records the rule version, model version, input sources, recommendation, human correction, and final owner for every decision. Begin in shadow mode, comparing recommendations with the existing process, and then automate low-risk categories in stages. This exposes taxonomy and data-quality problems while rollback remains simple. Where routing spans CRM, LINE, ERP, and service platforms, an experienced integration team can help build the observable, reversible pipeline needed to keep those decisions consistent over time.