What a good chat prompt covers
Identity and scope
Identity and scope
Who the agent is, which business it speaks for, and what it is allowed to talk about. Name the boundary explicitly — “you only handle questions about orders and delivery; anything else, say you will pass it to the team.”
Tone and message length
Tone and message length
Messaging is not a phone call. Say how long replies should be (“two or three short sentences”), how formal, and which language to reply in — usually the language the customer wrote in.
When to call each function
When to call each function
The single most common reason a function is never used is a prompt that never mentions it. For each function, say the situation that should trigger it: “when the customer asks for the price list, call
send_price_list.”What not to do
What not to do
Negative instructions are as important as positive ones. No competitor comparisons, no discounts you have not authorised, no medical or legal advice, no promises about delivery dates.
What ends the conversation
What ends the conversation
Describe the states that count as done — order placed, question answered, customer said they are not interested. The follow-up stop condition can refer back to this, so the agent stops chasing conversations that are actually finished.
Example skeleton
Prompt tips specific to chat
Related
How to write a good prompt
The voice-agent prompt guide — most of it applies here too
Functions
What you are describing triggers for