{"id":2251,"date":"2026-03-07T01:36:51","date_gmt":"2026-03-06T20:06:51","guid":{"rendered":"https:\/\/www.smsgatewaycenter.com\/blog\/?post_type=docs&#038;p=2251"},"modified":"2026-03-07T01:36:51","modified_gmt":"2026-03-06T20:06:51","password":"","slug":"how-do-variables-work-in-workflows","status":"publish","type":"docs","link":"https:\/\/www.smsgatewaycenter.com\/blog\/kb\/how-do-variables-work-in-workflows\/","title":{"rendered":"How do variables work in workflows?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Variables store data for the journey.&nbsp;<strong>Variable Management<\/strong>&nbsp;(Settings) defines&nbsp;<strong>Local<\/strong>&nbsp;(per session),&nbsp;<strong>Global<\/strong>&nbsp;(across sessions for that user\/workflow), and&nbsp;<strong>Constant<\/strong>&nbsp;(fixed) variables.&nbsp;<strong>System<\/strong>&nbsp;and&nbsp;<strong>Data Profile<\/strong>&nbsp;are built-in and read-only. In node config and API Management you insert variables with the format&nbsp;<code>{{local:Name}}<\/code>,&nbsp;<code>{{global:Name}}<\/code>,&nbsp;<code>{{constant:Name}}<\/code>,&nbsp;<code>{{system:Name}}<\/code>,&nbsp;<code>{{dataprofile:Name}}<\/code>. Use the&nbsp;<strong>Insert variable<\/strong>&nbsp;row or&nbsp;<code>&lt;\/&gt;<\/code>&nbsp;picker in text fields. The engine resolves these at runtime;&nbsp;<strong>Variable state<\/strong>&nbsp;(Settings) shows current global values without changing workflow JSON.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Variables store data for the journey.&nbsp;Variable Management&nbsp;(Settings) defines&nbsp;Local&nbsp;(per session),&nbsp;Global&nbsp;(across sessions for that user\/workflow), and&nbsp;Constant&nbsp;(fixed) variables.&nbsp;System&nbsp;and&nbsp;Data Profile&nbsp;are built-in and read-only. In node config and API Management you insert variables with the format&nbsp;{{local:Name}},&nbsp;{{global:Name}},&nbsp;{{constant:Name}},&nbsp;{{system:Name}},&nbsp;{{dataprofile:Name}}. Use the&nbsp;Insert variable&nbsp;row or&nbsp;&lt;\/&gt;&nbsp;picker in text fields. The engine resolves these at runtime;&nbsp;Variable state&nbsp;(Settings) shows current global values without changing workflow JSON.<\/p>\n","protected":false},"author":118,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[1964],"doc_tag":[],"class_list":["post-2251","docs","type-docs","status-publish","hentry","doc_category-workflow-builder"],"year_month":"2026-07","word_count":106,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin","author_nicename":"admin","author_url":"https:\/\/www.smsgatewaycenter.com\/blog\/author\/admin\/"},"doc_category_info":[{"term_name":"Workflow Builder","term_url":"https:\/\/www.smsgatewaycenter.com\/blog\/kb-cat\/workflow-builder\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/2251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/users\/118"}],"replies":[{"embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/comments?post=2251"}],"version-history":[{"count":0,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/2251\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/media?parent=2251"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_category?post=2251"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_tag?post=2251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}