Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
I am trying to place these values in variables to be able to customize a dynamic WhatsApp url, I am using the "Runcode" action of Shopify Flows doing something like var order_total = "{{order_total}}"; How should it be done?
Hi @saantiago, if I understand correctly you'd like to use the run code action to build a whatsapp url variable to be used later in the workflow. Below is an example of how you could assign the variable with data from the query, basically you can drop the "" and {{}}:
If you're looking to interpolate multiple variables into a single string you can follow the same approach as the message field in the example above. If you haven't already I recommend checking out the help docs for this action here too, lots of useful information there.
Hope this helps!
- Tomas
To learn more visit the Shopify Help Center or the Community Blog.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025