Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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.