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:
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