Menu
CoddyTech

Ticket Router

Part of the Prompting Techniques section of Coddy's AI Prompts journey. Lesson 21 of 24.

A support team wants every ticket routed automatically. Their app reads a JSON object with two keys: team (billing, shipping or tech) and urgency (low or high).

Route this ticket:

I can't log in since the update and I have a client demo in an hour.

The app breaks on anything that is not exactly that JSON object, so the reply must be the object and nothing else.

challenge icon

Challenge

Hard

Write the routing prompt. List the labels, give examples, then the ticket:

I can't log in since the update and I have a client demo in an hour.

The AI's response must:

  • Be a JSON object with exactly the keys team and urgency
  • Route the ticket correctly
bugsy Main icon

Start this challenge with Coddy's AI tutor

What is Bugsy?
quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Prompting Techniques