https://retellai.com/?utm_source=discord&utm_medium=seo logo
my agent keep returning to the previous node when ...
# ❓・ai-evy-support
a
Thanks for tagging me @george_49497. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, when your agent loops back to a previous node during transfer attempts, this typically happens due to transition condition issues or improper edge configuration. For Call Transfer Node, transitions occur when the transfer fails [(1) ]() . There's a pre-populated edge for transfer failure that you need to connect to an appropriate node to handle the failure scenario . If this edge isn't properly configured or leads back to the previous node, you'll experience the loop you're describing. For Agent Transfer Node, the transition behavior is different—it enables near-instant switching between agents with lower latency than traditional call transfers [(2) ]() . Agent Transfer doesn't require separate phone numbers and maintains full conversation history . To fix your looping issue: 1. Check your transition conditions - Ensure the edges from your transfer node lead to the correct destination nodes and don't inadvertently route back 2. Handle transfer failures properly - Connect the transfer failure edge to a conversation node that can inform the caller and offer alternatives, rather than looping back [(1) ]() 3. Consider using Agent Transfer instead of Call Transfer if you're transferring between Retell AI agents, as it offers better reliability and lower latency [(2) ]() If you're experiencing loops specifically with failed transfers, review your conversation flow to ensure failed transfer edges don't connect back to nodes that trigger another transfer attempt.
​ To learn more, see the sources I considered: [[1] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) [[2] Agent Transfer Node](https://docs.retellai.com/build/conversation-flow/transfer-agent-node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Appreciate the feedback! Feel free to ask me again with additional guidance or context.
g
@User any help here
@Colin - Integrations @ Retell AI Thoughts on why this could be happening?