https://retellai.com/?utm_source=discord&utm_medium=seo logo
If I'm using a Conversation Flow workflow that tra...
# ❓・ai-evy-support
f
@AI Evy If I'm using a Conversation Flow workflow that transfers to several different agents, is it possible for me to transfer to a specific agent when a customer is tagged with a certain value in my database?
a
Thanks for tagging me @fakedane. I'll look through relevant sources and get back to you shortly.
### Answer I don't have specific information about conditional agent transfers based on customer database values in the available documentation. The sources show that Conversation Flow agents support custom tools and dynamic variables [(1) ]() [(2) ]() , but don't detail conditional transfer logic based on external data. You can implement custom tools in your conversation flow to check customer tags from your database [(2) ]() . The conversation flow supports edges with transition conditions that can be based on prompts [(1) ]() [(3) ]() , but the specific implementation for database-driven agent transfers isn't covered in these sources. For this specific use case involving conditional transfers based on customer database values, I'd recommend checking out these potentially useful sources: [Create Conversation Flow]() , [Conversation Node]() , [Prompt Engineering Guide]() . Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Get Conversation Flow](https://docs.retellai.com/api-references/get-conversation-flow) [[2] Create Conversation Flow](https://docs.retellai.com/api-references/create-conversation-flow) [[3] Conversation Node](https://docs.retellai.com/build/conversation-flow/conversation-node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
f
@AI Evy Perhaps a logic node?
a
Thanks for the follow-up, @fakedane. I'll get back to you soon.
### Answer Yes, a Logic Split Node could be the solution for conditional agent transfers based on customer database values! [(1) ]() Logic Split Nodes create conditional branches based on variables . You can use them to check dynamic variables that contain your customer database values and route to different agents accordingly . However, there are some important limitations to be aware of. Based on community discussions, Logic Split Nodes currently have challenges with dynamic variables [(2) ]() [(3) ]() . Users have reported that equation-based transitions (including dynamic variables) are still under development [(3) ]() . The nodes may not properly evaluate dynamic variables that are populated at the start of calls [(4) ]() . As a workaround, you might need to: 1. Add a brief conversation node before the Logic Split Node to allow variables to fully initialize 2. Use a "hydration guard" to ensure variables are loaded before comparison 3. Consider using prompt-based logic in a Conversation Node instead, which has been reported to work more reliably For your specific use case of transferring to different agents based on customer tags, you could set up dynamic variables containing the customer tag values from your database, then use a Logic Split Node (with the workarounds mentioned) to route to the appropriate Transfer Agent Node [(1) ]() .
​ To learn more, see the sources I considered: [[1] Node Overview](https://docs.retellai.com/build/conversation-flow/node) [[2] Help with Logic Split Nodes (and an example of a custom variable being used would be lovely!)](https://discord.com/channels/1186424376300679209/1358825261986087126) [[3] HELP: Dynamic Variables and the NEW Logic Split Node](https://discord.com/channels/1186424376300679209/1359881066168582194) [[4] Logic Split Node Equation Not Working As Expected](https://discord.com/channels/1186424376300679209/1406310248691667125) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
f
@AI Evy Are logic nodes more reliable than an extract values node?
a
Thanks for the follow-up, @fakedane. I'll get back to you soon.
adding a brief conversation node before the logic split to allow variables to fully initialize The reliability issues with Logic Split Nodes appear to be acknowledged by the community, with some users finding them "unusable in production" due to these bugs [(3) ]() .
### Answer Based on the available documentation, there are reliability concerns with both node types, but for different reasons. Logic Split Nodes are designed to branch conversations based on conditions and transition immediately when the agent enters the node [(1) ]() . However, community discussions reveal significant reliability issues with Logic Split Nodes when using dynamic variables [(2) ]() [(3) ]() . Users report that Logic Split Nodes often default to the "Else" path even when conditions should be met , and there are challenges with dynamic variable evaluation at call start [(2) ]() . Extract DV Nodes are designed to extract and store dynamic variables from conversations [(4) ]() . While the documentation doesn't provide specific reliability comparisons, Extract DV Nodes appear to have fewer reported issues in the community discussions. The community feedback suggests that prompt-based logic approaches have been more reliable than conditional Logic Split Nodes [(2) ]() . One user reported that "setting this up with a prompt instead of the conditional logic worked, which leads me to believe there's a bug in the tool" . For your use case of conditional agent transfers based on customer database values, you might want to consider: 1. Using Extract DV Nodes to capture and store the customer tag values 2. Implementing the conditional logic through prompt-based approaches in Conversation Nodes rather than Logic Split Nodes 3. If you must use Logic Split Nodes,
​ To learn more, see the sources I considered: [[1] Logic Split Node](https://docs.retellai.com/build/conversation-flow/logic-split-node) [[2] Logic Split Node Equation Not Working As Expected](https://discord.com/channels/1186424376300679209/1406310248691667125) [[3] HELP: Dynamic Variables and the NEW Logic Split Node](https://discord.com/channels/1186424376300679209/1359881066168582194) [[4] Node Overview](https://docs.retellai.com/build/conversation-flow/node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.