https://retellai.com/?utm_source=discord&utm_medium=seo logo
when writing a prompt for a global node, how shoul...
# ❓・ai-evy-support
w
@AI Evy when writing a prompt for a global node, how should we explain to the agent how it can transition back to the node it came from
a
Thanks for tagging me @weronika. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available information, Retell AI currently does not support returning from Global Nodes to the original conversation flow position. [(1) ]() This is an architectural limitation of the platform. When a conversation transitions to a Global Node, you cannot configure the agent to automatically return to the previous node where the transition occurred. Once in a Global Node, you would need to explicitly define transition conditions to move to specific nodes, but there's no built-in mechanism to "remember" and return to the originating node. If you need this functionality, you can request it as a feature in the feature requests channel. Workaround considerations: Some users have moved away from Conversation Flow to single prompt agents for complex scenarios that require more flexible conversation paths. [(2) ]() [(3) ]()
​ To learn more, see the sources I considered: [[1] Is it possible to return from the Global Node](https://discord.com/channels/1186424376300679209/1399484507530334368) [[2] Discord message from @cazadordetetas on 2025-07-04](https://discord.com/channels/1186424376300679209/1186462578310910112/1390727062846701598) [[3] Discord message from @development_org_26839 on 2025-07-04](https://discord.com/channels/1186424376300679209/1186462578310910112/1390774938679378011) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy "Go back to previous node When checked, will have ability to configure conditions for going back to previous node that leads to the global node." but there's this setting
a
Thanks for the follow-up, @weronika. I'll get back to you soon.
### Answer You're right to point out that setting. While the Discord discussions mentioned that automatic return wasn't supported, there's a manual workaround available. [(1) ]() According to a Retell support response, Retell doesn't automatically return from global nodes, but you can build this functionality by storing the last node in a variable and routing back manually with a Logic Split. So when writing your global node prompt, you would: 1. Store the previous node identifier in a dynamic variable before transitioning to the global node 2. In your global node, handle the interaction 3. Use transition conditions with that stored variable to route back to the appropriate node The "Go back to previous node" setting you mentioned likely enables this capability, allowing you to configure conditions for returning to whichever node triggered the global node transition.
​ To learn more, see the sources I considered: [[1] fallback to the previous node from Global node](https://discord.com/channels/1186424376300679209/1388025209533235261) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.