Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Shopify Flow - ReviewsIO review to create customer tag

Solved

Shopify Flow - ReviewsIO review to create customer tag

matt_b_london
New Member
9 0 0

Hey, 

I have created a flow to add a Review_Made customer tag to customers who make a product review. Unfortunately this does not seem to work and ReviewsIO have been unable to troubleshoot. 

I'd hugely appreciate any help with this. I am unsure how to share the Flow set up with the community as uploading an image or the flow file is not supported. 


Thanks,
Matt

 

Accepted Solution (1)

paul_n
Shopify Staff
1433 157 332

This is an accepted solution.

You should be able to upload an image by clicking the camera icon

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.

View solution in original post

Replies 5 (5)

paul_n
Shopify Staff
1433 157 332

This is an accepted solution.

You should be able to upload an image by clicking the camera icon

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.

matt_b_london
New Member
9 0 0

Screenshot 2024-11-06 at 16.54.58.png

paul_n
Shopify Staff
1433 157 332

What isn't working?

 

It looks like that trigger provides a customer email and an order_id. You could either get the order or the customer (as you are with Get customer data). Did you put any query in "Get customer data"

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
matt_b_london
New Member
9 0 0

The data available in the trigger is:

"shop_domain": 

"partner: :date": 

"partner::order_id": 

"partner:: review_sku": 

"partner:: reviewer_name": 

"partner: :reviewer_email": 

"partner:: reviewer_rating": 

"partner:: reviewer_comments": 

The partner: :reviewer_email is the customer email and the partner::order_id is admin.shopify.com/store/storename/orders/ 

How do I connect this data to our store order or customer data? Flow seems to be limited by only fetching the past 100 orders/customers?

 

paul_n
Shopify Staff
1433 157 332

Ideally the trigger would just provide you with the order like other triggers. This particular app hasn't upgraded their trigger since that became available. 

 

So you can use "Get order data" with a query of something like:

id:"{{order_id}}" 

 This will return a list of 1 item if it works, so you'll need to use "For each" to loop over that list to do any order-related actions. 

 

To test this, I would simply put a "log output" shape after that Get order data action and output the order name(s) returned just to make sure it works. Very commonly, a mistake in the syntax will return all orders.

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.