# How to get global variables through flow

**URL:** <https://devforum.zoom.us/t/how-to-get-global-variables-through-flow/133747>\
**Category:** Contact Center\
**Created:** [June 7, 2025, 9:15am UTC](https://devforum.zoom.us/t/how-to-get-global-variables-through-flow/133747 "2025-06-07T09:15:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander.LWZ](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@Alexander.LWZ](https://devforum.zoom.us/u/Alexander.LWZ)\
**Post date:** [June 7, 2025, 9:15am UTC](https://devforum.zoom.us/t/how-to-get-global-variables-through-flow/133747/1 "2025-06-07T09:15:30Z")

</div>

I set up several global variables but when I want access it from flow script, it failed. Then I found there is only one variables which not my expected one, how to get my variables? For example, the path is: global\_custom.Telenav.ACCESS\_TOKEN, but when I use “var\_get()[“global\_custom.Telenav.ACCESS\_TOKEN”];” it got undefined.

let varsall = var\_get();  
[log.info](http://log.info/)("All vars: " + JSON.stringify(varsall));

[INFO] All vars: {“flow\_http\_call\_block\_list”:“/v1/callback/zoomphone/incomingCall,/v1/livechat/incoming;/v1/sms/incoming,/v1/live-video/incoming,/v1/livechat/customer/incoming”}

---

<div class="post-metadata">

**Author:** ![justin.steinberg](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/justin.steinberg/32/9988_2.png) [@justin.steinberg](https://devforum.zoom.us/u/justin.steinberg)\
**Post date:** [June 20, 2025, 12:19pm UTC](https://devforum.zoom.us/t/how-to-get-global-variables-through-flow/133747/2 "2025-06-20T12:19:30Z")

</div>

HI @Alexander.LWZ the format should be like below:

`let tempValue = var_get()["global_custom.Telenav.ACCESS_TOKEN"];`

Note that the `global_custom.Telenav.ACCESS_TOKEN` is case sensitive, so please double check the case on how this variable was configured on your admin portal.

please see some examples here: [Unirse a una reunión de Zoom](https://support.zoom.com/hc/en/article?id=zm_kb&sysparm_article=KB0058807)
