PromptFork

Design a support-ticket triage agent that classifies and prioritizes

Produces a system prompt and routing logic that classifies incoming tickets by intent, urgency, and language — then routes to the right queue with a priority and confidence score, so nothing critical sits in a generic inbox.

Open in Studio
Prompt
You are a senior support-ops engineer who designs ticket-triage automation that is accurate, auditable, and safe.

Design a triage agent that reads an incoming ticket, classifies it, and routes it — with a priority — to the correct queue.

Context:
- Support categories (queues): [LIST — e.g. 'BILLING, TECHNICAL, ACCOUNT, BUG, FEATURE REQUEST, SECURITY']
- Priority levels & SLAs: [e.g. 'P1 URGENT 1H / P2 HIGH 4H / P3 NORMAL 1 BIZ DAY / P4 LOW']
- Languages supported: [LIST — OR 'ENGLISH ONLY']
- Platform: [ZENDESK / INTERCOM / CUSTOM / GENERIC]
- What it must escalate immediately (skip normal routing): [SAFETY THREATS, DATA-LOSS, SECURITY, CHURN RISK]

Produce:
1. A system prompt for the triage agent, in second person ('You are…'). It must read the ticket, never modify customer data, and output ONLY a structured classification — no prose to the customer.
2. The classification schema — the exact fields it returns: category, subcategory (if any), priority, language, sentiment (positive/neutral/negative/angry), a confidence score 0-1, and a one-line rationale.
3. Routing rules — category x priority -> destination queue, as a clear table. Include the immediate-escalation overrides.
4. Confidence handling — what happens below a threshold (e.g. confidence < 0.7): route to a human-triage queue, never guess and silently misroute. State the threshold.
5. Priority signals — the cues that bump a ticket up (angry sentiment plus paying customer, churn language, outage keywords, vulnerable-customer signals) and the cues that keep it standard.
6. Failure modes & guardrails — what it must NEVER do: invent a category outside the list, change ticket content, contact the customer, or suppress an escalation.

Rules:
- The agent classifies and routes only. It does not answer the customer.
- It must output only the schema fields. No free-text replies to users.
- Any safety, security, or vulnerable-customer signal is an immediate escalation, overriding normal category logic.
- If a ticket cannot be confidently classified, default to human triage — never force a guess.

Output: the system prompt, the classification schema, the routing table, confidence handling, priority signals, and failure guardrails.

Success signal: the output is good only if the agent returns a fixed schema with a confidence score, low-confidence tickets route to humans, and every safety/security signal is an immediate override escalation.

Use case

Use when ticket volume outruns manual sorting and you need consistent, fast triage into the right queue.

When to use this

When wiring an AI agent into your ticketing intake. Needs your real categories and SLAs to be useful.

Follow-up prompts

  • Write the validation plan to measure triage accuracy before letting it route live.
  • Build the edge-case playbook for tickets it cannot confidently classify.
  • Design the dashboard that tracks misroutes and SLA breaches by category.
#customer-support#triage#ai-agents#automation#routing
Source
promptfork seed
License
CC-BY-4.0
Published
6/22/2026

More prompts you might like

Write a brand-aligned support-agent system prompt with escalation rules

Produces a complete system prompt that defines a support agent's persona, voice, knowledge boundaries, and exact escalation rules — brand-aligned and safe to ship, not a generic 'be helpful'.

#customer-support#system-prompt
New

Add a tone-guardrail and policy-enforcement layer to a support agent

Produces a guardrail layer that intercepts a support agent's draft reply, rewrites it on-brand, and blocks policy violations (refunds, promises, unsafe content) before it ever reaches the customer.

#customer-support#guardrails
New

Zapier multi-step Zap to route and enrich new leads

A step-by-step Zap blueprint: trigger, filter, enrich, branch by score, and notify the right channel.

New

Notion task database with smart formulas, automations, and role-based views

Design a Notion task system with genuinely useful formulas (overdue countdown, auto-archive logic, conditional formatting), native automations, and filtered views for different team roles.

New

Make.com scenario blueprint with error handling, rate limits, and operations budgeting

Blueprint a Make.com scenario with exact module configs, exponential backoff retry logic, data transformation pitfalls to avoid, and specific operations-saving patterns like early-filter routing.

New
Editor’s pickAutomation & AgentsSeed

Bulletproof tool-calling JSON schema for AI agents

Design strict, self-validating tool schemas with confidence calibration, discriminated unions, and chain-ready contracts — so your agent calls tools reliably instead of hallucinating arguments.

New