https://retellai.com/?utm_source=discord&utm_medium=seo logo
a
@AI Evy Hi! We have a situation where we need to transfer a call and then if the first phone number caller doesnt answer it needs to go to a second number, then a third, etc. Is this possible? Can I use dynamic routing for this? Thanks!
a
Thanks for tagging me @Anthony. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] Master The Future of Voice AI - Conversation Design & Agent Persona](

https://www.youtube.com/watch?v=42V0bDQIsb0▾

) [[2] Routing Calls to Dynamic Number](https://discord.com/channels/1186424376300679209/1346575575963144273) ​
### Answer --- Yes, this is possible using warm transfer combined with prompt logic. With a warm transfer, if the agent doesn't pick up, the conversation will still continue—allowing you to prompt the AI to attempt another transfer. [(1) ](

▾

) Here's the approach: 1. Use a warm transfer instead of a cold transfer (pass over) 2. In your prompt, add logic like: "If the transfer was unsuccessful, then transfer to [next number]" 3. You can chain multiple transfer attempts this way As explained in a recent session: "on a warm transfer what happens is if the agent doesn't pick up the conversation will still continue so you could prompt it where it says hey if the transfer was unsuccessful then do this or transfer it over to this number and do another transfer call so you can technically do multiple ones" For dynamic number selection, you can use dynamic variables to set the transfer target at runtime. The phone number should be in E.164 format (e.g.,
+12137771234
) . [(2) ]() Key steps: - Configure a Call Transfer Node with warm transfer - Add fallback logic in your prompt for unsuccessful transfers - Use dynamic variables if the numbers need to change per call [(1) ]() [(2) ]()
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
@AI Evy okay what if I wanted to round robin between 4 phone numbers for transfers. and then if the first number called doesn't answer, go to the next number, etc. What prompt should I put in "Dynamic Routing" for this
a
Thanks for the follow-up, @Anthony. I'll get back to you soon.
### Answer --- Dynamic Routing is specifically for routing at the start of a conversation (e.g., selecting which agent handles the call based on initial conditions) , not for sequential transfer fallback logic during a call. [(1) ](

▾

) For your round-robin + fallback scenario, here's the recommended approach: Use Warm Transfer with Prompt-Based Fallback Logic 1. Set up a warm transfer in your Call Transfer Node or Transfer Call tool. [(2) ]() [(3) ]() 2. **Handle transfer failure via transitions**: The Call Transfer Node has a pre-populated edge for when "transfer fails"—connect that to another transfer node with the next number in your sequence. [(2) ]() 3. Add conditional logic in your prompt to instruct the agent on the sequence. For example: - "If the transfer to the first number fails, transfer to [second number]. If that fails, transfer to [third number]..." [(1) ](

▾

) 4. Use dynamic variables if you want to pass the numbers at runtime (e.g.,
{{transfer_number_1}}
,
{{transfer_number_2}}
) . [(4) ]() [(5) ]() **Key point**: The round-robin logic (cycling through numbers across different calls) would need to be managed externally—either by rotating which number is passed as the first transfer target via dynamic variables when initiating the call, or by tracking state in your backend. For the sequential fallback (first number doesn't answer → try second) , chain your transfer nodes using the "transfer failed" edge, or handle it in
your prompt with warm transfer enabled. [(2) ]() [(1) ](

▾

)
​ To learn more, see the sources I considered: [[1] Part 1: BuildYour First Retell Voice Al Agent That Sells Cars](

https://www.youtube.com/watch?v=p0DusrDjfjA▾

) [[2] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) [[3] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) [[4] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[5] Routing Calls to Dynamic Number](https://discord.com/channels/1186424376300679209/1346575575963144273) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.