All things Shopify and commerce
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
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.