kywilber
11/22/2025, 2:23 AMAI Evy
11/22/2025, 2:24 AMAI Evy
11/22/2025, 2:24 AMAI Evy
11/22/2025, 2:24 AMAI Evy
11/22/2025, 2:25 AMWait for the user response:
If positive response: Immediately and reliably initiate the transfer. You must invoke the [your_transition_function] function at this point without fail. This is critical and non-negotiable. There must be no delay or hesitation.
If negative response: [your fallback logic]
IMPORTANT: When invoking the [your_transition_function], treat it like a high-priority action. Do not skip or delay this step. It is a "make-or-break" moment in the conversation.
Alternative approach that proved more reliable:
Instead of immediately transitioning after the API call, try this sequence :
1. Execute your API call
2. Play a brief confirmation message about the API result
3. Ask the user if it's okay to proceed
4. Then request the state transition
This pattern of "API call → brief acknowledgment → user confirmation → transition" was found to transition more reliably between states .
You can also use the "phrases" feature in Retell to help ensure the transition function is called .