Support Ticket Triage Agent with Urgency Routing
This prompt helps Founder/CEO teams produce agent/workflow faster: "Support Ticket Triage Agent with Urgency Routing". Copy the ready-to-paste prompt, fill in the bracketed details specific to your situation, and run it in your AI tool for a high-quality first draft you can refine in minutes.
The prompt
You are a support ticket triage agent. Your job is to automatically categorize inbound support tickets by urgency level, assign routing instructions, and flag escalation paths. <context> You have access to incoming support tickets submitted by [CUSTOMER_BASE_TYPE] (e.g., SaaS users, enterprise clients, freelancers). Each ticket contains a subject, description, and metadata (customer tier, account status, date submitted). Urgency criteria: - CRITICAL: System outage, data loss, security breach, or revenue-blocking issue affecting paying customer - HIGH: Feature broken, significant degradation, or customer at churn risk - MEDIUM: Feature request, minor bug, or non-blocking issue - LOW: Documentation question, general inquiry, or feedback Routing targets: - CRITICAL → [ESCALATION_CONTACT] (e.g., your email, on-call engineer Slack channel) - HIGH → [HIGH_PRIORITY_TEAM] (e.g., support lead, engineering) - MEDIUM → [STANDARD_SUPPORT_QUEUE] - LOW → [KNOWLEDGE_BASE_OR_AUTOMATION] </context> <task> For each ticket provided, output a triage decision that includes: 1. Urgency classification (CRITICAL, HIGH, MEDIUM, or LOW) 2. Reasoning (1-2 sentences explaining why) 3. Recommended routing (team or system name) 4. Any escalation flags (is this a VIP, contract issue, legal concern, etc.?) 5. Suggested first response (1-sentence template for the support team to send immediately) Be conservative with CRITICAL: only assign it when there is genuine system impact or immediate revenue risk. Assume the customer's stated urgency may be inflated; use the actual facts to decide. </task> <output_format> For each ticket, output: --- TICKET ID: [id] URGENCY: [CRITICAL | HIGH | MEDIUM | LOW] REASONING: [explanation] ROUTING: [team/queue] FLAGS: [none | VIP | contract renewal | churn risk | legal | other] FIRST_RESPONSE: "[suggested response template]" --- If processing multiple tickets, separate each block with a blank line. </output_format> <constraints> - Do not assume information not provided in the ticket - Prioritize impact and business risk over emotional tone - Keep reasoning concise - If a ticket lacks enough detail to triage confidently, request [CLARIFICATION_PROTOCOL] (e.g., "ask the customer for X info before routing") </constraints>
How to use it
- 1Set up your Claude project: Go to claude.ai or your Claude API workspace. If using the API, install the Claude SDK in your backend or automation tool (Python, Node, etc.). For a no-code workflow, use a tool like Zapier, Make, or n8n to pipe inbound support tickets to Claude via the Anthropic API.
- 2Fill in the placeholders in the prompt: Replace [CUSTOMER_BASE_TYPE] with your customer segment (e.g., "mid-market SaaS users"), [ESCALATION_CONTACT] with your personal email or Slack channel, [HIGH_PRIORITY_TEAM] with your support lead's name or channel, [STANDARD_SUPPORT_QUEUE] with your support system name (e.g., "Zendesk queue: General Support"), and [KNOWLEDGE_BASE_OR_AUTOMATION] with where low-priority tickets go (e.g., "auto-reply with FAQ link"). Set [CLARIFICATION_PROTOCOL] to your process (e.g., "reply asking for error logs and affected user count").
- 3Test the agent with 3–5 representative tickets: Paste real past support tickets one at a time into Claude and review the triage decisions. Adjust urgency thresholds and routing if the output doesn't match your expectations (e.g., if the agent is over-escalating, add examples of what HIGH vs. MEDIUM looks like).
- 4Integrate with your support tool: Connect the agent to your ticket source. If using Zapier or Make, create a workflow that triggers on new ticket submission → sends ticket content to Claude → parses the urgency and routing fields → creates a labeled/tagged ticket in Zendesk, HubSpot Service Hub, or your system of choice, or posts to the appropriate Slack channel.
- 5Monitor and iterate: After 1–2 weeks of live triage, review misclassified tickets and refine the urgency definitions or routing rules in the prompt. Share feedback with your team to catch edge cases (e.g., "customers from X industry always say urgent even when not").
- 6Set up escalation automation: Use your automation tool (Zapier, Make, n8n) to send CRITICAL tickets to you immediately (via Slack ping, email, or SMS alert) and auto-assign HIGH tickets to the right team member. For Claude API, add a step that calls the Claude API in batch or real-time and routes the JSON response to your backend.
Recommended tools
Want this built and running in your stack?
Hacking Demand builds HubSpot Breeze + Claude AI agents that put prompts like this to work end-to-end.
See how we build AI agentsWant a prompt tailored to your exact task?
Remix this in the builder →