Support template

Ticket classification prompt template

Route a message to exactly one category with a confidence. Routing tickets or messages to queues, where your code needs exactly one label and a confidence to decide on human review.

The prompt

prompt.md
## Task
Classify the support message below into exactly one category: billing, bug, feature_request, account_access, or other.

## Requirements
- Choose "other" when no category clearly applies.
- Base the decision only on the message text.

## Output format
Return only valid JSON with the keys category and confidence, where confidence is a number from 0 to 1.

## Input
<message>
{{message}}
</message>

Variables

VariableWhat to pass in
{{message}}The message to classify, exactly as received.

Each variable sits inside its own tags so the model treats what you insert as data, not instructions.

How it scores

100/100 with no warnings or critical issues, checked in CI on every change.

DimensionScore
Clarity100
Specificity100
Completeness100
Structuren/a
Consistency100
Output specification100
Efficiency100
Security100

Tokens and cost per model

Input tokens for the template itself, before you fill in the variables. Costs use the list prices in the model catalog, each dated with when it was last verified; confirm with your provider.

ModelTokensInput cost / 1,000 calls
GPT-4.190 $0.1800
GPT-4.1 mini90 $0.0360
Claude Sonnet 5.590 (approx.)$0.1800
Claude Haiku 4.590 (approx.)$0.0900
Gemini 2.5 Flash90 (approx.)$0.0270

Adapting it

After editing, the workspace re-scores the prompt as you type and flags anything that regresses.

More templates