Classify Support Tickets with AI
Billing, Technical, Account, How-To, Feature Request — ticket triage with definitions that decide the borderline cases for the model.
Product, Pricing, Support Experience, Onboarding, Documentation — multi-label topic classification for open-ended survey answers.
Open-ended survey questions produce the most valuable and least countable feedback: one answer touches pricing, onboarding, and the docs in three sentences. This setup classifies responses by topic in Multiple Labels mode — every topic that's genuinely addressed, strongest first — with definitions that keep adjacent topics apart: Support Experience is about interactions with the team, Documentation is about the help content itself, Onboarding is the getting-started phase regardless of what it touched. Conservative ambiguity keeps topic counts honest.
Classify per response
Each answer gets its own label list — aggregation into counts happens in your sheet, with traceability per response.
Respect the mention threshold
"A merely mentioned topic does not earn its label" — a pricing aside in an onboarding story should not count as pricing feedback.
Keep waves comparable
Freeze the label set and definitions across survey waves — changed definitions mean uncomparable counts.
With definitions that draw the line, not just label names. Support Experience is defined as feedback about interactions with the support team, while Documentation is about guides, help articles, or missing documentation — the content itself. CLASSIFICATION RULES require matching text against the definitions, not the names, so a complaint about the help article lands as Documentation even if support is mentioned nearby.
Yes — this runs in Multiple Labels mode. The EDGE CASE RULES return every label that applies and order them by how strongly each applies, strongest first, which fits open-ended answers that bundle pricing, onboarding, and docs in one response. Output is a single JSON object with a "labels" array using the label text exactly as defined.
A deliberate honesty threshold sits in the EDGE CASE RULES: "A merely mentioned topic does not earn its label — it must be a real subject of the text." A pricing aside inside an onboarding story doesn't count as pricing feedback. Combined with the conservative AMBIGUITY POLICY, it keeps topic counts driven by real signal so trend lines across waves stay meaningful.
Billing, Technical, Account, How-To, Feature Request — ticket triage with definitions that decide the borderline cases for the model.
The blocks a reliable classification prompt needs: defined labels, classification rules, edge-case rules, an ambiguity policy, and a confidence contract.
Praise, Complaint, Feature Request, Bug Report, Question — multi-label feedback categorization where one message can carry three signals.
Free text in, named fields out. The extraction prompt pattern that turns any unstructured text into consistent, parseable records.
Stop getting 'Sure, here is the JSON…' — the output-contract pattern that forces models to return only parseable JSON: schema, example, and a strict rule block.
The JSON won't parse and you can't see why. Deterministic cause-sniffing — trailing commas, single quotes, unclosed brackets — and the repair prompt that fixes it.
Build classification prompts that assign labels from a closed set — with label definitions and edge-case rules.