All things Shopify and commerce
Hi,
I created a workflow to alert me when specific items get ordered.
I am able to get the flow to work, based on the conditions, as shown here:
What I am not able to figure out is how to include the order number that triggered the flow in the email, so I know which order to check.
Any suggestions on how to include this would be fantastic.
Thanks in advance,
Pete
To update, I found the Add Variables to message option.
I can get {{order.customer.displayName}} to work, but I cannot figure out how to call {{ order_number }}. I tried both just the order number and {{ order.order_number }} but that's not valid.
Showing the customer name is good, but the order number (or even better a link to the order) would be even better.
This is what worked for me:
https://admin.shopify.com/store/ENTER-YOUR-STORE-HERE/orders/{{order.id | split:'gid://shopify/Order/' | last}}
Hi,
Use the variable {{order.name}} to include the Order Number and use the following to include a link to the order admin page:
https://admin.shopify.com/store/STORE-NAME/orders/{{order.legacyResourceId}}
Regards,
Darren.
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