> For the complete documentation index, see [llms.txt](https://readme.directual.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://readme.directual.com/scenarios/using-variables/global-constants.md).

# Global Variables

In Directual, there is a [system structure](/data/data-structures/system-structures.md) that contains variables (for scenarios, they act as constants) accessible throughout the entire app. These global variables provide a centralized data store for your application.

![](https://3071851461-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4Nnmtk9_gFGWOddsf6%2F-M6jBiKLlgfwEbDB8L2Q%2F-M6jCoCQNPdT43LI9S5L%2FglobalVar.jpg?alt=media\&token=a605ec54-10f3-4d08-91a7-b8926981fcf0)

Within this structure, you have the capability to create objects with two fields: ID and value.

![{{GlobalVar.email}} will return 'hello@directual.com'](https://3071851461-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4Nnmtk9_gFGWOddsf6%2F-M6jBiKLlgfwEbDB8L2Q%2F-M6jDE4KFi8KOOA_3tO0%2FglobalVar2.jpg?alt=media\&token=f97ac43b-91ae-4e17-8dcd-1b3030dc3e6e)

The ID serves as a unique key for each global variable. You can invoke these global variables from scenarios, API-endpoint settings, or filters by using the syntax {{GlobalVar.ID}}.

{% hint style="info" %}
It's important to note that global variables are not automatically included in a snapshot of your app. If you need to preserve and transport them, you must handle their export and import manually when necessary.
{% endhint %}
