https://retellai.com/?utm_source=discord&utm_medium=seo logo
How do global nodes work under the hood
# ❓・ai-evy-support
s
@AI Evy How do global nodes work under the hood? I do not want proprietary information, but I am interested in understanind if adding global nodes will hurt the performance of my agent
a
Thanks for tagging me @sethdev67. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available documentation, global nodes in Retell AI work by allowing nodes to be transitioned to from anywhere in the conversation flow [(1) ]() . You set a node as global by checking the
Global Node
checkbox in the node settings, and you configure a condition for when the global node should be triggered . Global nodes are designed to handle universal scenarios that aren't specific to any other node, such as user objections like "I don't have time / I need to call back later" . Since they can be transitioned to from anywhere, global nodes don't necessarily need to be connected to the rest of the conversation graph . Regarding performance impact, the documentation doesn't provide specific technical details about how global nodes affect agent performance under the hood. However, from the community discussions, there are some considerations: - One user mentioned that when working with larger agents, you need to account for the LLM having to figure out "which node and the context before that" making it "more complicated than a normal llm" [(2) ](

▾

) - The system needs to evaluate global node conditions during transitions, which adds some processing overhead [(3) ]() The main limitation mentioned is that once you transition to a global node, you cannot automatically return to the previous node - this is described as "an architectural limitation" [(4) ]() . You would need to manually implement return logic using variables and Logic Split nodes [(5) ]() . While the exact performance impact isn't documented, global nodes appear to be a stan
dard feature designed for production use, so they shouldn't significantly hurt your agent's performance when used appropriately.
​ To learn more, see the sources I considered: [[1] Global Node](https://docs.retellai.com/build/conversation-flow/global-node) [[2] Personalization with Google Sheets](

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

) [[3] Step 3: Add transition conditions](https://docs.retellai.com/build/conversation-flow/transition-condition) [[4] Is it possible to return from the Global Node](https://discord.com/channels/1186424376300679209/1399484507530334368) [[5] 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.