Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
I have the flow setup as this
Triggered when customer leaves review > Condition: 5 star > Send marketing email
However i am getting an error saying that "customer data not found"
That trigger doesn't provide a customer resource to Flow, so Flow cannot automatically enter the Customer for you.
I believe it provides an email or maybe a string called "CustomerID". So to use it, you can add a "Get customer data" action with a query of something like `email:{{email}}`. After that, you'll need to add a for each loop after the action since it returns a list of customers (a list of 1 in this case). You can put the Send Marketing Email inside that for each loop and it should then find the customer.
Make sure to test this that the "Get customer data" query returns what you expect. The filters required by the API are a bit tricky
Im a bit of a noobie with this stuff so a lot of what you just said is confusing me even more. Any chance I can grant access to my store have you look at it?
I don't think seeing your store will help. Spelling it out more. Here is the structure of the workflow:
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024