The Local Model Ledger
Workflow Kitchen 2026-10-14 11:04 0 reads

A Practical Customer-Support Triage Workflow Using Mistral Large 4

A Practical Customer-Support Triage Workflow Using Mistral Large 4

This article outlines a practical customer-support triage workflow built with Mistral Large 4. It combines structured JSON classification, selective policy retrieval, and a mandatory human review checkpoint. Designed for small teams, the pipeline reduces response time while preventing silent AI errors, ensuring efficient handling of messy support tickets through a balanced human-in-the-loop system.

Support inboxes do not wait for perfect models. They fill up on Monday morning with billing questions, feature requests, angry follow-ups, and the occasional message that is three different problems at once. I used to triage those messages by hand, then later with a collection of brittle rules and a smaller model that needed constant babysitting. Neither approach scaled without either burning time or letting quiet errors through.

This post describes the triage workflow I now run with Mistral Large 4 for a small support volume—roughly 40–70 tickets per week across two related products. The design goal is not full automation. The design goal is faster, more consistent first-pass classification and drafting so that a human can make the final call in less time and with better information. Every output remains reviewable. Every uncertainty is forced into the open.

If it only works in the demo, it isn’t in the workflow yet. A triage system that looks clean on a sample of polished tickets and drifts on the messy ones is still a demo.

Constraints That Shaped the Design

Three realities drove every decision:

  1. Tickets are messy. Customers mix multiple issues, use inconsistent product names, and sometimes contradict themselves inside a single thread.

  2. The cost of a quiet error is high. Mis-classifying urgency or inventing a policy detail creates follow-up work and erodes trust.

  3. I do not have a full-time support engineer. The workflow has to fit into the margins of a normal day and still leave an audit trail.

Those constraints ruled out both pure rule engines (too brittle) and fully autonomous agents (too risky). What remained was a staged pipeline with Mistral Large 4 doing the heavy lifting and a human checkpoint that cannot be skipped for anything that leaves the system.

High-Level Flow

A documentary-style view of a computer screen showing a software data pipeline flowchart.

The workflow has five stages:

  1. Ingestion — new tickets (email or help-desk export) land in a watched folder or API pull.

  2. First-pass extraction and classification — Mistral Large 4 produces a structured triage object.

  3. Policy and history lookup — a lightweight retrieval step pulls relevant internal policy snippets and any prior tickets from the same customer.

  4. Draft response and next-action list — a second model call writes a customer-facing reply and an internal action checklist, conditioned on the triage object and the retrieved context.

  5. Human review surface — I (or a teammate) see the original ticket, the triage object, the sources, the draft reply, and the action list side-by-side before anything is sent or assigned.

Stages 2 and 4 use Mistral Large 4. Retrieval is hybrid (embeddings + keyword). The review surface is a simple notebook view or a lightweight internal page; nothing fancy is required.

Stage 2: Structured Triage That Refuses to Invent

The first model call receives the raw ticket text and a strict schema:

JSON

{
  "primary_category": "billing | technical | feature_request | account | other",
  "secondary_tags": [],
  "urgency": "low | medium | high",
  "product_version_mentioned": "string or null",
  "customer_sentiment": "neutral | frustrated | angry | positive",
  "key_claims": ["list of factual claims the customer makes"],
  "open_questions": ["list of things that are unclear or contradictory"],
  "uncertainty_notes": "string"
}

The system prompt is short and non-negotiable:

“Extract and classify only from the ticket text. Use null when a field is not present. If the ticket contains conflicting statements, list them in open_questions and do not resolve them. Do not invent policy, version numbers, or urgency beyond what the language supports.”

Temperature stays at 0.2. I run the call once for clean tickets and twice when the uncertainty_notes field comes back non-empty, keeping both outputs for the reviewer. The extra cost is trivial; the reduction in silent resolution of ambiguity is not.

In practice the model is strong on primary category and sentiment. It is less consistent on urgency when the customer uses strong language about a low-impact issue. That is exactly why the field is always reviewed.

Stage 3: Give the Model the Right Context, Not All Context

Before the draft-response call I retrieve:

  • the two or three most relevant internal policy or FAQ chunks

  • the last two tickets from the same customer (if any), summarized

I deliberately keep the retrieved set small. Long-context stuffing produced more fluent but less faithful drafts in earlier tests; short, high-relevance context produced drafts that were easier to trust. The retrieval scores and the section headings travel with the chunks so the reviewer can see why each piece was chosen.

Stage 4: Draft Reply and Action List Under Constraints

The second prompt receives the triage object, the retrieved chunks, and clear instructions:

“Write a concise customer-facing reply that addresses the primary issue. Use only the provided policy context. If the triage object lists open questions or uncertainty, do not invent answers—say you will check and follow up. Then produce an internal action list with priority order and an explicit human checkpoint before any account change or refund.”

I ask for two clearly separated blocks: the customer reply and the internal actions. Temperature remains low. When the triage object already flagged uncertainty, I force the reply to include a short “I’m checking on this detail” sentence rather than letting the model smooth it away.

Stage 5: The Review Surface That Keeps the System Honest

The review view shows four panes:

  • original ticket text

  • the structured triage object (with any uncertainty highlighted)

  • the retrieved policy and history chunks

  • the draft reply + internal action list

Two buttons sit at the bottom: Approve (with optional inline edits) and Reject (with a required reason). Approved tickets move to the help-desk as a draft or are sent according to the team’s rules. Rejected tickets are logged with the reason. After a few weeks the rejection log becomes the most useful debugging tool I have; patterns in mis-classified urgency or over-eager policy application appear quickly once they are written down.

For low-urgency, high-confidence tickets I can move fast. For anything involving refunds, account changes, or angry customers the review is slower and more careful by design.

A documentary-style split-screen dashboard displaying support ticket details and AI-generated drafts side by side.

Observed Behavior Over Eight Weeks

Across roughly 380 tickets:

  • Primary category accuracy (after human correction) stayed above 94 %.

  • Urgency required human adjustment on about 12 % of tickets, almost always in the direction of lowering an over-estimated urgency.

  • The model invented a policy detail on only three occasions; each time the retrieved context was thin and the uncertainty field had been non-empty. The review step caught all three.

  • Average time from ticket arrival to approved draft dropped from roughly 6–8 minutes of pure human work to 2–3 minutes of review for routine tickets.

  • The rejection log highlighted two recurring prompt weaknesses that I fixed once; both involved secondary tag consistency.

The model is not perfect. It is, however, consistent enough that the human review becomes a focused check rather than a full rewrite.

Cost, Latency, and Daily Maintenance

API cost per ticket is low—well under ten cents even with the occasional double call. Latency for the two model stages plus retrieval sits between four and nine seconds depending on ticket length. The real ongoing cost is the weekly fifteen-minute pass over the rejection log and any new policy documents that need to be re-indexed. I treat that maintenance window the same way I treat the coffee-roaster cleaning schedule: small, regular, and non-negotiable.

Practical Guardrails I Now Treat as Mandatory

  1. Never let the model resolve open questions silently. Force them into a visible field.

  2. Keep retrieved context short and high-signal.

  3. Require an explicit human checkpoint before any action that changes account state or money.

  4. Log every rejection with a reason; otherwise you cannot see the pattern.

  5. Re-run the triage prompt on a sample of historical tickets after any prompt change. Stability matters more than a single clever improvement.

What I Still Don’t Know

I have not yet tested the same workflow against a much higher ticket volume or against tickets that routinely contain screenshots and log files. I have not measured how the extraction quality changes under local quantization. I have not compared Mistral Large 4’s triage consistency against a smaller specialized model that might be cheaper for the first-pass stage. Those experiments are already on the list.

The current design handles the volume and complexity I actually face. It is intentionally not autonomous. Autonomous is how a quiet mis-classification becomes a customer who feels ignored or a refund that should not have been issued.

Closing Checklist

  • Structure the first model call tightly and force uncertainty into the open.

  • Retrieve only the context that is likely to matter.

  • Separate customer reply from internal actions.

  • Make the review surface show sources and uncertainty side-by-side.

  • Budget the human time; do not pretend the model removes it.

  • Keep a rejection log and read it weekly.

The question is not whether Mistral Large 4 can draft a helpful support reply. It can. The question is whether you want to maintain a triage process that still lets you catch the quiet errors before the customer does. On the evidence of the last eight weeks, this workflow passes that test—provided the human approval step stays exactly where it is.

Here is what I controlled, here is what changed, and here is what I still don’t know. The controlled part is the pipeline above. The rest continues to be measured one ticket at a time.

Last updated — 2026-10-14 11:04
Comments [ 0 ]

No comments yet.

Leave a comment