nicolas_46952
09/18/2025, 2:31 PMAI Evy
09/18/2025, 2:31 PMAI Evy
09/18/2025, 2:32 PMjson
{
"type": "end_call",
"parameters": {
"message": "Great, we're all set—thanks!"
}
}
- Improve your transition conditions by using deterministic prompts, such as: if the system receives END, move to end_call.
- Add a timeout or loop-safety fallback, such as:
json
{
"type": "tool",
"name": "end_after_max_turns",
"parameters": {
"maxTurns": 3
}
}
- Make sure agent responses vary and the flow has clear end points to avoid being flagged as looping.
- If your flow is long by design, you can contact Retell support to request a higher loop protection limit or whitelist your use case.
For more details, check: [Retell AI Conversation Flow Overview]() and you can also reach out to support@retellai.com with your org ID if needed [(1) ]() , [(2) ]() , [(3) ]() .AI Evy
09/18/2025, 2:32 PMAI Evy
09/18/2025, 2:32 PMnicolas_46952
09/18/2025, 2:33 PMAI Evy
09/18/2025, 2:33 PMAI Evy
09/18/2025, 2:33 PM///## Identity
Your name is Mike.
Your date of birth is June 10, 1999.
Your order number is 7891273.
///## Goal
Your primary objective is to return the package you received and get a refund.
///## Personality
You are a patient customer. However, if the conversation becomes too long or complicated, you will show signs of impatience. If the issue remains unresolved, you may become frustrated and angry.
Explicitly define what the simulated user wants to accomplish and how they should behave. This helps the agent recognize the goal and end the conversation naturally, reducing loops. Also, set clear evaluation metrics for test completion, such as confirming the agent called an end_call function or kept responses concise [(1) ]() .AI Evy
09/18/2025, 2:33 PMAI Evy
09/18/2025, 2:34 PM