Flow - Tagging Orders to trigger Shopify Email

Looking to accomplish a few things with Flow if anyone can please help:

  1. We want Flow to prompt an email to be sent to customers based on a certain Tag that is added to an order, is this possible and how?

  2. Currently our new order notifications emailed to us when a new order is placed is limited on what it can contain. We were hoping to accomplish the following with a Flow custom order notification to receive all the current information from our “new orders” and add the following:

  • Tag Customers based on how many $ spent, show this tag on the Flow custom new order notification
  • Tag Customers based on how many # of orders placed, show this tag on the Flow custom new order notification
  • Tag Customer if they ordered product with certain tag, show this tag on the Flow

OR

Is there a way to include customer tags in the regular New Order Notification:

  • Tag Customers based on how many $ spent
  • Tag Customers based on how many # of orders placed
  • Tag Customer if they ordered product with certain tag based on order history
  • Show the last date they placed an order.

The customer tags would have to be done on each order before the Flow custom new order email notification is sent.

1 Like

1- There’s no trigger for tags added to an order.

2- You should be able to get the tags on the customer in the email liquid - here are the variables available - https://help.shopify.com/en/manual/fulfillment/setup/notifications/email-variables

Thanks - I can’t see any variables related to getting Tags on the order.

1 Like

Try customer.tags?

Great thanks, that worked!

Also tried to add customer.last_order to the New Order notification but it only adds “OrderDrop” in the instead of the date but the customer.total_spent code works fine and it includes the updated order value in the total. Any insight?

Also for the Customer Tag, is there a way to only have this field show if it’s a specific tag (Example, customer tag is: Sample ), how should this code read:

{% if customer %}
Tag- {{ customer.tags }}
{% endif %}

Appreciate the help!

1 Like

last_order is an order object so you’d need to specify the fields you want from it.

Thanks for the help - what would we add to this to get the date from the last order: customer.last_order

Is there also a way to add something to get the order tag too?