Solved

Shopify Most Recent Purchase Syntax

  • 28 November 2022
  • 1 reply
  • 245 views

Badge +1

Hi There,

I’m creating a review request flow and in the email would like to specify the specific product purchased.

I currently have the below, however this syntax doesn’t seem to pull in the most recent purchase and always defaults to ‘recent purchase’.

 

Hi {{ first_name|default:'there' }},

I wanted to check in with you and see how you are enjoying your {{ event|lookup:'Items Purchased'|default:'recent purchase' }}?

 

This syntax always lands on the default, so I believe my event lookup is incorrect.

I use Shopify, could anybody suggest what the correct event lookup might be?

 

Thanks!

icon

Best answer by Dov 29 November 2022, 21:52

View original

1 reply

Userlevel 7
Badge +61

Hi @Hannahj,

Thanks for sharing this question with us.

Your best bet is to use the default tags included from the flows library for the review request flow. If that’s what’s included in the default button that should be the correct tag. If you’re still having trouble, you can look through the event data to look for the tag that’s set to populate recently purchased items. I explain that in more detail in the threads below:

I hope that’s helpful.

 

Reply