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.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025