Shopify Flows - query parameter email setup

Shopify Flows - query parameter email setup

lsvvintage
Explorer
47 2 5

Hi!

 

So I've got a bit of a complicated question.

I'm trying to set up an automated Shopify Flow for a review request. I'm using an app to display these requests.

 

Now, I've created a flow, the trigger is order fulfilled, then wait 4 days, then get customer data:

email - your customer's email
name - your customer's name
product_id - the shopify product id
shop_domain - .myshopify.com domain
this data is needed for the review link.
 
Then, send an email. In the email I've put a button with a link to the review app, the purpose is that shopify flows will fill the needed parameters into the link, so the customer will go to the dedicated page to leave their review.
This is what the link looks like:
 
So now is my question, I've put the things that I created in the flow app in the screenshots below.
1: Is it set up correctly? (I'm not sure)
2. If not, how can I properly set it up so the link in the email will work?
 
Thanks a lot and hopefully somebody can help me!! I'm a bit lost at this point
Scherm­afbeelding 2025-04-02 om 17.25.52.pngScherm­afbeelding 2025-04-02 om 17.26.01.png
Replies 6 (6)

Votchex
Excursionist
16 1 3

I think maybe using kaviyo work flow would actually make things easier  shopify work flow is a bit complicate 

lsvvintage
Explorer
47 2 5

Thanks! Were you using an app as well or not? I'm not sure if I can just alter the link like that, it's pre-generated...

paul_n
Shopify Staff
1744 192 407

Why are you using "Get order data" at all? 

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.
lsvvintage
Explorer
47 2 5

Honestly, no idea. I thought that would fetch the data needed for the link to work

paul_n
Shopify Staff
1744 192 407

If you have an order in the trigger and you are using data from that order, you don't need a step to "fetch" data. Just use data from that order and Flow will get it for you.

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.
lsvvintage
Explorer
47 2 5

I think because the data that flow pulls is a bit different than the data from the app. But I'm not really sure if it will work this way