Send automated email to customer leaving 5 star review

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: