Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
I'm offering classes and workshops on my shopify site. The classes are products and listed on the site in a different collection than our physical products. We are trying to find a way to send participants in a class a survey after the class. We have a date for the class stored in metafields attached to the product listing (the class), I haven't found a way to trigger an email to go out the day after a class happens, I don't know if that is possible.
One thing we could use to trigger the email going out is after the class happens, we manually go in and Archive the class. So it wouldn't be a big deal to trigger the email off of that... but then I'm triggering off of a product listing and I need to then search through all the orders and find the orders and customers that bought that product. I'm having trouble setting up Flow along all those lines.
Hopefully someone can guide me through the options or help write a query to find all the customers associated with that product. Thanks for reading.
My idea maybe bit long but, its like this
Tag the orders with flow ---
Create flow for the class or after class base on order tags and send email marketing
I was just looking into tagging. The sticky part there is every time I list a class I have to go in a create one of these workflows. I was hoping to find a less hands-on way.
In your solution, what would the query look like to get all orders tagged with a certain tag? I’m having trouble wrapping my head around the query syntax.
You could use "Product status changed" as the trigger and add a condition to check if the new product.status is "archived"
You would then need to find orders for that product. You can use "Get order data" for that using something like the below as the filter:
sku:"{% assign variant = product.variants | first %}{{ variant.sku}}"
This assumes you only have 1 variant per product/class.
That action returns a list of orders. So you can use a "For each" action to loop over them and call "Send Marketing Email" for each of the orders in the list (and their customer)
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025