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.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024