Include order details with flow generated email

Include order details with flow generated email

Uni-Trend
Excursionist
33 0 29

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:
Uni-Trend-US-·-Flow-·-Shopify-09-24-2024_09_18_AM.png

 

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

Replies 3 (3)

Uni-Trend
Excursionist
33 0 29

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. 

Snyzard
Visitor
1 0 0

This is what worked for me:
https://admin.shopify.com/store/ENTER-YOUR-STORE-HERE/orders/{{order.id | split:'gid://shopify/Order/' | last}}

Darren-Bull
Excursionist
25 0 3

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.