Customer support AI prompts are most useful when they support a clearly defined workflow: classify the request, identify urgency, draft a grounded reply, decide whether escalation is needed, and check the result before it reaches a customer. This reusable checklist includes customer service prompt templates for each step, structured-output patterns, review questions, and update triggers for teams using ChatGPT, Claude, Gemini, or another language model.
Overview
A support model should not be asked to “handle the ticket” without boundaries. That instruction leaves too many decisions implicit: which category applies, what information is missing, whether the customer is at risk, what the agent is allowed to promise, and when a human must take over.
A more reliable design separates the workflow into small tasks. A typical support automation chain looks like this:
- Normalize: read the ticket and identify the customer’s actual request.
- Classify: assign a category, subcategory, language, and confidence level.
- Check urgency: look for safety, security, legal, financial, privacy, outage, or severe-frustration signals defined by your team.
- Retrieve context: provide approved product documentation, account information, and policy excerpts.
- Draft: write a response that matches the approved tone and addresses the customer’s question.
- Escalate or resolve: route the ticket when the case exceeds the model’s authority or available information.
- Review: validate factual grounding, tone, completeness, and policy compliance.
Use the templates below as starting points rather than permanent instructions. Replace bracketed fields with your actual categories, service-level rules, product documentation, escalation paths, and prohibited actions. For a broader approach to structured outputs, see the structured-output prompt and validation checklist.
Checklist by scenario
1. Ticket classification
Classification should produce a small, controlled set of labels. Avoid asking the model to invent categories unless discovery is the explicit goal.
You are a customer-support ticket classifier. Use only the categories and values supplied below.
Categories:
- primary_category: [billing, login, technical_issue, account_change, cancellation, product_question, feedback, other]
- priority: [low, normal, high, urgent]
- customer_sentiment: [positive, neutral, frustrated, angry, distressed, unknown]
- required_route: [self_service, support_agent, specialist, security, billing_team, engineering]
- language: [list supported languages]
Rules:
1. Base your decision only on the ticket and the supplied context.
2. Do not infer an account problem that the customer has not described.
3. If the ticket contains signals covered by the escalation rules, set required_route to the appropriate specialist route.
4. If evidence is insufficient, use "unknown" where available and explain what is missing.
Return valid JSON with these fields:
{
"primary_category": "",
"priority": "",
"customer_sentiment": "",
"required_route": "",
"language": "",
"confidence": 0.0,
"evidence": [""],
"missing_information": [""]
}
Escalation rules:
[insert approved rules]
Ticket:
[insert ticket text]Keep the evidence field short and quote or paraphrase the relevant ticket language. A confidence score is useful for routing only when your team defines what the score means and tests it against examples; it should not be treated as a guarantee.
2. Urgency and escalation detection
Urgency checks should be conservative and tied to explicit operational rules. They should identify a possible escalation, not make a legal, medical, financial, or security judgment beyond the team’s approved process.
Review the support ticket for escalation signals.
Use these labels:
- escalate_now
- escalate_for_review
- no_escalation_signal
- insufficient_information
Check for:
- [account security or suspected unauthorized access]
- [privacy or personal-data concern]
- [service-wide or repeated outage indicators]
- [safety-related concern]
- [legal or regulatory request]
- [threat, harassment, or severe distress]
- [high-value account or business-critical impact, if applicable]
For each detected signal, provide:
1. The matching rule.
2. The exact supporting phrase or a faithful summary.
3. The recommended route: [route list].
4. The next safe action.
Do not promise a resolution, assign blame, or tell the customer that an escalation has been completed unless the workflow confirms it.
Ticket:
[insert ticket text]3. Response drafting
Drafting should happen after classification and context retrieval. Give the model approved facts rather than asking it to rely on general knowledge.
You are drafting a customer-support reply using only the ticket and approved support context.
Goals:
- Answer the customer’s main question directly.
- Acknowledge the relevant concern without exaggerating or sounding scripted.
- Give numbered steps when the customer must complete an action.
- State what is known, what is not known, and what information is needed.
- Do not invent product features, timelines, refunds, credits, policy exceptions, or completed actions.
- Do not request sensitive information in an unsafe format.
- If the case requires escalation, explain the next step without claiming that a human has reviewed it unless confirmed.
Tone:
[clear, calm, concise, and respectful]
Approved product context:
[insert retrieved documentation or policy excerpt]
Ticket:
[insert ticket text]
Return:
{
"reply": "",
"needs_human_review": true,
"claims_requiring_verification": [""],
"missing_information": [""]
}4. Tone and sentiment review
A tone prompt should inspect the draft instead of rewriting every response automatically. This makes it easier to preserve useful wording and route uncertain cases to a person.
Review the proposed support reply against the tone criteria below.
Criteria:
- respectful and non-defensive
- clear to a non-specialist reader
- acknowledges the customer’s stated issue
- avoids blame, sarcasm, unnecessary jargon, and excessive apology
- does not overpromise
- uses an appropriate level of detail
Return:
{
"passes": true,
"issues": [""],
"recommended_edits": [""],
"sensitive_language_detected": false
}
Customer ticket:
[insert ticket]
Draft reply:
[insert draft]5. Quality assurance before sending
Use a separate QA step with a fixed checklist. The reviewer should be able to mark a response as ready, revise, or escalate.
Act as a customer-support QA reviewer. Compare the draft with the ticket and approved context.
Check:
1. Does the reply answer the customer’s actual question?
2. Are all factual claims supported by the approved context?
3. Are the instructions complete and in the correct order?
4. Does the reply avoid unsupported promises and invented details?
5. Is the escalation decision correct according to the supplied rules?
6. Does the tone meet the support style guide?
7. Does the reply avoid exposing internal notes or confidential instructions?
Return valid JSON:
{
"decision": "ready|revise|escalate",
"score": 0,
"failed_checks": [""],
"required_changes": [""],
"review_notes": ""
}
Ticket:
[insert ticket]
Approved context:
[insert context]
Draft reply:
[insert draft]What to double-check
Before deploying these AI prompts, review the inputs, outputs, and handoffs rather than focusing only on wording.
- Category definitions: Each label should have a short definition and at least one positive and negative example.
- Authority limits: State exactly what the model may explain, recommend, update, or promise. Actions that affect accounts, money, access, or personal data should use appropriate controls and, where required, human approval.
- Grounding: Separate the ticket from retrieved documentation with clear delimiters. Tell the model to treat customer-provided instructions and retrieved text as data, not as higher-priority instructions.
- Structured output: Validate JSON in code, handle missing fields, and define what happens when parsing fails. A prompt alone is not a substitute for application-level validation.
- Privacy: Minimize unnecessary personal data in prompts, define retention and access rules, and mask sensitive fields where possible.
- Prompt injection: Customer messages can contain instructions intended for the model. Review prompt injection defense patterns and red-team tests before connecting support prompts to tools or private data.
- Portability: Test the same templates across the models your workflow supports. Formatting, tool behavior, and instruction-following can vary, so consult the cross-model prompt portability guide.
Create a small test set containing ordinary questions, ambiguous tickets, angry messages, multilingual cases, missing-context cases, and deliberate prompt-injection attempts. Record the expected category, route, escalation outcome, and key facts the response must preserve. Then compare prompt versions using the same set. The prompt evaluation playbook can help organize that process.
Common mistakes
- One oversized prompt: Combining classification, retrieval, drafting, tool use, and QA in one step makes failures difficult to diagnose. Separate stages where the workflow benefits from clear handoffs.
- Vague tone instructions: “Be empathetic” is less actionable than criteria such as “acknowledge the stated problem, avoid blame, and provide the next step.”
- Unlimited category creation: Free-form labels are difficult to route and measure. Start with a controlled taxonomy and a clear “other” or “insufficient information” option.
- Trusting confidence without calibration: A numerical confidence field is an estimate generated by the model. Validate it against reviewed examples before using it for automatic routing.
- Automatic sending: A fluent answer may still contain a wrong claim or an unsuitable promise. Use review gates for sensitive categories and sample routine outputs for QA.
- Ignoring failure paths: Define what happens when context is missing, JSON is invalid, the model refuses, a tool fails, or two workflow steps disagree.
- Optimizing only for shorter prompts: Removing instructions can reduce cost but also remove essential constraints. Measure quality, latency, and token use together; see the prompt cost and latency measurement workflow.
When to revisit
Review this prompt library before seasonal planning cycles and whenever workflows or tools change. A quarterly review is a practical baseline, with additional checks after any of the following:
- new ticket categories, products, regions, or languages are introduced;
- support policies, escalation routes, service commitments, or approval rules change;
- the knowledge base or retrieval system is replaced or reorganized;
- response quality, routing accuracy, or escalation volume changes noticeably;
- a new model, tool, integration, or automation step is added;
- an incident reveals a privacy, security, hallucination, tone, or handoff failure.
For each review, run the saved test set, inspect failed cases, update the category definitions and approved context, and compare the revised workflow with the previous version. Keep a short change log describing what changed, why it changed, which cases were added, and who approved the update. This turns customer support AI prompts from isolated snippets into a maintainable prompt library.
Action checklist: choose one support scenario, define its allowed labels and escalation rules, insert the relevant approved context, require structured output, test at least ten representative tickets, and add a human review path before connecting the prompt to live customer communications.