Hello!
Thank you for your request.
First, we specify the value of the global variable.
![](https://forum.promptchat.com/assets/files/2023-02-17/1676639929-894319-screenshot-at-feb-17-14-50-04.png)
We won't be able to see this variable in Preview.
![](https://forum.promptchat.com/assets/files/2023-02-17/1676639995-223800-screenshot-at-feb-17-15-02-26.png)
But you can test it in the web integration to which this chatbot is connected(If this chatbot is not used in the web integration, then I advise you to create a web integration and add this chatbot to it for testing. I will show how to test in the web integration, but you can also do it from other integrations.)
![](https://forum.promptchat.com/assets/files/2023-02-17/1676641212-882448-screenshot-at-feb-17-15-34-09.png)
Go to the "Chat page" tab. On this tab, you can test your chatbot and you will see that the variable is coming.
![](https://forum.promptchat.com/assets/files/2023-02-17/1676641291-691759-screenshot-at-feb-17-15-36-49.png)
Please note that currently the variable on will not work if it looks like this "my-glob-var". It can look like this "my_glob_var", "myGlobVar", "myglobvar".
![](https://forum.promptchat.com/assets/files/2023-02-17/1676642003-59941-screenshot-at-feb-17-15-50-39.png)