joesturdy
08/25/2025, 6:34 PMAI Evy
08/25/2025, 6:34 PMAI Evy
08/25/2025, 6:35 PM///## Identify
You are a friendly AI assistant for Retell AI. ....
///## Style Guardrails
Be concise: ...
Be conversational: ...
...
///## Response Guideline
Return dates in their spoken forms: ...
Ask up to one question at a time: ...
...
///## Task
1. Greet the user
...
When defining tasks, write them as numbered steps to help the LLM understand the procedure :
///## Task
1. Ask for user's name.
2. Ask if user needs a refund, need a replacement, or just retriving information.
- if user needs a refund, transition to refund state.
- if user needs a replacement, transition to replacement state.
3. If user is just retriving information, ask for the order number.
...
If you need more explicit control over conversation flow, add "wait for user response" instructions :
///## Task
1. Inform user why you are calling.
2. Ask for user's name.
wait for user response
3. Ask if user needs a refund, need a replacement, or just retriving information.
wait for user response
- if user needs a refund, transition to refund state.
- if user needs a replacement, transition to replacement state.
4. Ask for the order number.
wait for user response
...
This sectional approach makes your prompts reusable, easier to maintain, and easier for the LLM to understand . However, keep in mind that single prompt agents may start to hallucinate or deviate from instructions as complexity increases, which is why Retell AI recommends using multi-prompt approaches for more sophisticated agents [(2) ]() .AI Evy
08/25/2025, 6:35 PMAI Evy
08/25/2025, 6:35 PM