Good morning. I am trying to set up an automatic ‘Flow’, but I am encountering some difficulties in setting up the logic.
Let me start by describing the scenario:
We sell packages for various musical keyboards. Each package is compatible with one or more keyboards. The compatible keyboard models are assigned as product tags.
So, I have a series of products. Each product has 1 or more tags indicating which product it is compatible with.
The objective:
I would like to send an automatic email every day with the products inserted in the previous 24 hours. However, I want the email to be sent only to users who have previously purchased packages with tags similar to the products inserted on the day. In other words:
- Take the products inserted in the previous 24 hours (or even in the day).
- Obtain all product tags.
- Take all users subscribed to the newsletter who have previously purchased products.
- Filter the users from the previous list, selecting only those who have purchased products containing tags identical to the tag list from point 2.
- Send an email to the users from point 4 with the products from point 1.
This is my currently flow:
Maybe i have to copy tags from item orders to user, before proceed? With an automatic on each order? Maybe can simplify?
I no have idea.
Please, help me ![]()
P.S. I’m a software developer and it is the first experience with shopify
