Show product review snippets in your Klaviyo emails + flows
Display product reviews, total review counts, and average ratings in Klaviyo emails.
Use this to show product reviews and rating summaries in Klaviyo emails.
This works especially well in abandoned cart and browse abandonment flows. The customer does not need to have reviewed or purchased the product. The review content comes from the product itself.
What this setup does
- syncs each product's latest reviews and rating summary into the Klaviyo product catalog
- lets any Klaviyo template look up review content when the event includes a product ID
- works with Klaviyo's built-in abandoned cart and browse abandonment templates
How it works
Roadmap syncs each product's latest reviews, up to five per product, into your Klaviyo product catalog as custom metadata.
It also syncs the product's total review count and average review rating.
The sync runs automatically whenever a new review is published.
Catalog data can be looked up from any template in any flow, as long as the event includes a product ID.
That means you can add review snippets to Klaviyo's prebuilt abandoned cart and browse abandonment templates without custom flow setup.
Before you start
- Connect Roadmap with Klaviyo. See How to integrate Roadmap with Klaviyo.
- Make sure the product already has published reviews.
- Use a Klaviyo event that includes a product ID or line items.
Turn on the catalog sync
Enable the sync in Roadmap
In Roadmap, open your Reviews Klaviyo integration settings and enable syncing the latest reviews to your Klaviyo catalog.
Check the synced data in Klaviyo
In Klaviyo, go to Content → Products and open any product that has reviews.
Under Custom Metadata you'll see the synced review fields.
Review fields synced to Klaviyo
Each product carries up to five reviews.
Swap 1 for 2 through 5 to reach the second through fifth review.
| Key | Contents |
|---|---|
review_1_title | Review title |
review_1_body | Review text |
review_1_author | Reviewer's display name |
review_1_rating | Star rating |
review_1_date | Date the review was published |
review_1_verified | Whether the review is from a verified purchase |
total_reviews_count | Total published reviews for the product |
average_review_rating | Average rating across published reviews |
latest_reviews_updated_at | When the review data last synced |
Add a review to your email
These snippets work in any Klaviyo template where the triggering event includes line items.
That includes Klaviyo's built-in abandoned cart and abandoned checkout templates.
Paste each snippet into a text block exactly as shown.
Each snippet comes in two forms:
- Plain pulls the review for the first item in the cart.
- Dynamic loops through every item in the cart and shows a review under each one.
Review body
Plain:
{% catalog event.extra.line_items.0.product_id|default:"" integration="api" %}{{ catalog_item.metadata|lookup:"review_1_body" }}{% endcatalog %}Dynamic:
{% for line_item in event.extra.line_items %} {% catalog line_item.product_id|default:"" integration="api" %} {{ catalog_item.metadata|lookup:"review_1_body" }} {% endcatalog %} {% endfor %}Review title
Plain:
{% catalog event.extra.line_items.0.product_id|default:"" integration="api" %} {{ catalog_item.metadata|lookup:"review_1_title" }} {% endcatalog %}Dynamic:
{% for line_item in event.extra.line_items %} {% catalog line_item.product_id|default:"" integration="api" %} {{ catalog_item.metadata|lookup:"review_1_title" }} {% endcatalog %} {% endfor %}Review rating
Plain:
{% catalog event.extra.line_items.0.product_id|default:"" integration="api" %} {{ catalog_item.metadata|lookup:"review_1_rating" }} {% endcatalog %}Dynamic:
{% for line_item in event.extra.line_items %} {% catalog line_item.product_id|default:"" integration="api" %} {{ catalog_item.metadata|lookup:"review_1_rating" }} {% endcatalog %} {% endfor %}Total review count
Plain:
{% catalog event.extra.line_items.0.product_id|default:"" integration="api" %} {{ catalog_item.metadata|lookup:"total_reviews_count" }} {% endcatalog %}Dynamic:
{% for line_item in event.extra.line_items %} {% catalog line_item.product_id|default:"" integration="api" %} {{ catalog_item.metadata|lookup:"total_reviews_count" }} {% endcatalog %} {% endfor %}Average review rating
Plain:
{% catalog event.extra.line_items.0.product_id|default:"" integration="api" %} {{ catalog_item.metadata|lookup:"average_review_rating" }} {% endcatalog %}Dynamic:
{% for line_item in event.extra.line_items %} {% catalog line_item.product_id|default:"" integration="api" %} {{ catalog_item.metadata|lookup:"average_review_rating" }} {% endcatalog %} {% endfor %}Useful variations
- A different line item:
event.extra.line_items.1.product_idtargets the second item in the cart..2targets the third. - A different review:
review_2_bodypulls the product's second most recent review, up toreview_5_body. - Other fields: use the same lookup pattern for
review_1_author,review_1_date, orreview_1_verified.
Add line breaks in dynamic snippets
Add <br> before {% endfor %} to separate each item's output:
{% for line_item in event.extra.line_items %} {% catalog line_item.product_id|default:"" integration="api" %} {{ catalog_item.metadata|lookup:"review_1_body" }} {% endcatalog %}<br>{% endfor %}Use <br><br> to add a blank line between items.
Only show the block when a review exists
Wrap the snippet in a condition so products without reviews render nothing:
{% catalog event.extra.line_items.0.product_id|default:"" integration="api" %}
{% if catalog_item.metadata|lookup:"review_1_body" %}
"{{ catalog_item.metadata|lookup:"review_1_body" }}"
— {{ catalog_item.metadata|lookup:"review_1_author" }}
{% endif %}
{% endcatalog %}The same snippets work in browse abandonment flows.
Any Klaviyo metric that sends a product ID can look up that product's reviews from the catalog.
Display rating summaries
Use average_review_rating with total_reviews_count to show product-level social proof.
This example displays an average rating and total review count:
{% catalog event.extra.line_items.0.product_id|default:"" integration="api" %}
{% if catalog_item.metadata|lookup:"total_reviews_count" %}
{{ catalog_item.metadata|lookup:"average_review_rating" }}★
({{ catalog_item.metadata|lookup:"total_reviews_count" }} reviews)
{% endif %}
{% endcatalog %}For an individual review, use its numeric rating followed by a star:
{% catalog event.extra.line_items.0.product_id|default:"" integration="api" %}
{% if catalog_item.metadata|lookup:"review_1_rating" %}
{{ catalog_item.metadata|lookup:"review_1_rating" }}★
{% endif %}
{% endcatalog %}Star characters are plain text.
You can style their size and color like any other text in the Klaviyo editor.
Use Klaviyo's Preview with a real event before you turn the flow live.
Troubleshooting
No review appears in the email
Check these first:
- the catalog sync is enabled in Roadmap
- the product has published reviews
- the event includes a product ID or line items
The snippet works in one flow but not another
Check the trigger metric.
Make sure the event includes a product ID or line items.
The catalog lookup works across different Klaviyo flows when that product data is available.
The rating shows as a number
Use the rating field followed by a star character.
For a product-level rating, use average_review_rating.
Frequently asked questions
Can I use this in browse abandonment flows?
Yes.
Any Klaviyo metric that sends a product ID can look up that product's reviews from the catalog.
Can I show more than one review per product?
Yes.
Use review_2_* through review_5_* to pull the second through fifth synced reviews.
Does the customer need to have bought the product in the email?
No.
The review content comes from the product. It does not depend on that recipient having reviewed or purchased it.
Related guides
- How to integrate Roadmap with Klaviyo
- Introduction to Klaviyo review flow setup
- Exclude products from Klaviyo review properties

