Sorting tickets and forms in bulk
Send Qwen3.8-Flash batches of short texts such as support tickets or order notes and extract the issue type, order number and request into fixed JSON fields. Check a few dozen results by hand before scaling up, and review any record with empty fields separately.
Example: Which category does this ticket belong to?
Material
- Ticket #48213
- Order SO-20261104-77 was delivered a week ago, but my refund still hasn’t arrived. Can you check?
- Field spec
- category: refund / shipping / account; order_id: order number starting with SO-; request: what the customer wants, in one sentence.
PromptExtract category, order_id and request from the ticket and return JSON. category must be one of refund, shipping or account; use null for any field you can’t find.
Sample answer · written by hand to show the reasoning
{"category": "refund", "order_id": "SO-20261104-77", "request": "Find out why the refund hasn’t arrived"}. The ticket mentions delivery, but the customer is asking about a refund, so it goes under refund, not shipping.