How to choose a product ID variable for a dynamic review quote block
You will learn
Learn how to select a product ID variable to display dynamic review quotes related to the products someone is interested in. These variables vary between events, so make sure to use the right variable for your flow.
Before you begin
This block is only available in accounts that use Klaviyo Reviews. Learn how to get started with Klaviyo Reviews.
About dynamic review blocks
Dynamic review quote blocks can display different reviews depending on when the email is sent and what actions the recipient has taken, unlike static review blocks, which feature the same product for every recipient.
This article specifically covers dynamic review blocks, not static. Static review quote blocks do not require a product ID variable.
This process is only supported in certain flow emails: event-triggered flows, back in stock flows, low inventory flows, and price drop flows. Learn how to add a dynamic review block to your emails.
In many cases, Klaviyo will auto-detect the product ID. In these cases, you don’t need to manually choose a product ID variable. If you see your flow’s trigger in a card under Product selection, Klaviyo will auto-detect your product ID, and you do not need to follow the steps outlined here.

However, for some custom flows, you may need to manually input a product ID variable. If you see the Product ID variable field shown in the screenshot below, follow these steps to add a variable.

Product ID variables
Preview your email after entering a product ID variable. An incorrect variable can prevent the email from being delivered.
The tables below offer common product ID variables. For a different event, find the product ID in its event data using these steps:
- From your flow email’s editor, click Preview.
- Under Event properties, click the property containing the product ID to copy its tag. Match the property’s capitalization exactly.
- For a tag such as {{ event.product.id|default:'' }}, remove the surrounding curly braces and the default filter, leaving
event.product.id. - Click Done to return to the editor, then select your review quote block. Under Product selection, paste the variable into the Product ID variable field. Click outside the field to apply it.
- Click Preview to check the variable. Use the arrows to check other recent events, if available. If Klaviyo reports that the review quote’s event variable is invalid, correct it before sending. Click Done to return to the editor.
For checkout and order events with multiple items, the variables in the tables below use .0 to select the first item. We recommend using the first item when entering a variable manually, because not every event contains a second, third, or later item.
Shopify product ID variables
Flow trigger | Event variable |
Browse abandonment | event.ProductID |
Abandoned cart (Added to Cart trigger) | event.ProductID |
Abandoned checkout (Checkout Started trigger) | event.extra.line_items.0.product.id |
Back in stock | event.ProductID |
Price drop | event.product_id |
Low inventory | event.product_id |
Placed Order | event.extra.line_items.0.product.id |
WooCommerce product ID variables
Flow trigger | Event variable |
Browse abandonment | event.ProductID |
Abandoned cart (Added to Cart trigger) | event.AddedItemProductID |
Abandoned checkout (Started Checkout trigger) | event.extra.Items.0.ProductID |
Placed Order | event.extra.Items.0.ProductId |
Additional resources
- How to feature reviews in emails with the review quote block
Learn how to feature a product review within a campaign or flow email via the Review quote block. With Klaviyo Reviews, you can use this block to feature customer testimonials and ratings to build trust in your brand and create social proof.
- Understanding how Klaviyo prioritizes review requests
Learn why review requests feature a single item, how an item is selected from an order to be reviewed, how to request reviews for multiple products, and how you can adjust your review request settings.