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:
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025