---
title: How do variables work in workflows?
description: "Variables store data for the journey. **Variable Management** (Settings) defines **Local** (per session), **Global** (across sessions for that user/workflow), and **Constant** (fixed) variables. **System** and **Data Profile** are built-in and read-only. In node config and API Management you insert variables with the format `{{local:Name}}`, `{{global:Name}}`, `{{constant:Name}}`, `{{system:Name}}`, `{{dataprofile:Name}}`. Use the **Insert variable** row or `` picker in text fields. The engine…"
url: "https://www.smsgatewaycenter.com/blog/kb/how-do-variables-work-in-workflows/"
updated: "2026-03-06"
category: WhatsApp Business API / Workflow Builder
---

# How do variables work in workflows?

Variables store data for the journey. **Variable Management** (Settings) defines **Local** (per session), **Global** (across sessions for that user/workflow), and **Constant** (fixed) variables. **System** and **Data Profile** are built-in and read-only. In node config and API Management you insert variables with the format `{{local:Name}}`, `{{global:Name}}`, `{{constant:Name}}`, `{{system:Name}}`, `{{dataprofile:Name}}`. Use the **Insert variable** row or `</>` picker in text fields. The engine resolves these at runtime; **Variable state** (Settings) shows current global values without changing workflow JSON.

### More Related Articles

- [What are the best practices for building workflows?](https://www.smsgatewaycenter.com/blog/kb/what-are-the-best-practices-for-building-workflows/)
- [How do I debug a workflow that behaves unexpectedly?](https://www.smsgatewaycenter.com/blog/kb/how-do-i-debug-a-workflow-that-behaves-unexpectedly/)
- [Can I use the same workflow for multiple WABAs or agents?](https://www.smsgatewaycenter.com/blog/kb/can-i-use-the-same-workflow-for-multiple-wabas-or-agents/)

Found this useful?[Add as Preferred Source on Google](https://www.google.com/preferences/source?q=smsgatewaycenter.com)
