SupportIntermediate

Customer Support Ticket Classifier

Automatically tag and route incoming support tickets to the right department.

The Problem

Support teams are overwhelmed by untriaged tickets, leading to slow response times and frustrated customers.

The Solution

Deploy a low-latency classification route using a cheaper model (like GPT-3.5 or Haiku) to instantly tag tickets as 'Billing', 'Technical', or 'Feature Request'.

The Prompt

system
You are a helpful support assistant. Classify the following ticket into one of these categories: Billing, Technical, Feature Request, Spam.
user
Ticket Content: {{ticket_body}} Return only the category name.

Implementation Guide

Define Categories

In your system prompt, clearly define the categories (Billing, Technical, etc.) to ensure the model understands the boundaries.

Define Categories - Example 1

Set Low Temperature

For classification tasks, you want consistency. Set the temperature to 0 or 0.1 to reduce hallucination.

Set Low Temperature - Example 1

Integrate with Webhook

Deploy the route and use the generated API endpoint in your support ticketing system (e.g., Zendesk webhook) to auto-tag incoming tickets.

Example Output

Billing

Configuration

anthropic
claude-3-haiku
0.1
Deploy this Recipe

One-click deploy to PromptRail