Adding featured reviews in Klaviyo emails
Updated over a week ago

Available on the Awesome plan

Step 1: Create Klaviyo API key

  • From your Klaviyo admin, go to Settings > API Keys.

  • Click Create Private API Key and name your key "Judge.me".

  • Select Grant applications full access for every API scope.

  • Click Create.

Step 2: Enable review testimonials feed

  • From Judge.me admin, go to General Settings > Integrations > Admin Backend > Email Marketing Integration.

  • Select Klaviyo.

  • Paste in the API key you created in Step 1 and click Check.

  • Once the API key is added, enable Review Testimonials Feed and click Save.


For other platforms

  • From your Judge.me admin, go to Settings > Integrations > Admin Backend > Email Marketing Integration.

  • Select Klaviyo.

  • Paste in the API key you created in Step 1 and click Check.

  • Once the API key is added, enable Review Testimonials Feed and click Save.


Step 3: Add the feed to Klaviyo

  • From your Klaviyo admin, go to Settings > Other > Web feeds.

  • Click Add web feed and fill in the feed details:

Feed Name

JudgemeReviewTestimonialsFeed

Feed URL

Paste in the feed URL from Step 2

Request Method

GET

Content Type

JSON

  • Click Add Data Feed.

Step 4: Use the feed in Klaviyo emails

  • From your Klaviyo admin, go to Flows and select the flow you want.

  • Click the Email block on your flow and click Edit.

  • Then click Edit email.

  • Add a new Text block.

  • Click the </> icon and paste in the code below:

<div> 
<h4 style="text-align: center; font-style:normal; margin-bottom: 32px;">
<b>Let customers speak for us</b>
</h4>
{% for testimonial in feeds.JudgemeReviewTestimonialsFeed.testimonials %}
<div style="margin-bottom: 32px;">
<div style="text-align: center; font-style:normal; font-weight:normal; margin-bottom: 8px;">
{{ testimonial.content|truncatewords:40 }}
</div>
<div style="text-align: center; color: #399999; margin-bottom: 8px;">
{% if testimonial.rating == 5 %} ★★★★★
{% elif testimonial.rating == 4 %} ★★★★☆
{% elif testimonial.rating == 3 %} ★★★☆☆
{% elif testimonial.rating == 2 %} ★★☆☆☆
{% elif testimonial.rating == 1 %} ★☆☆☆☆
{% endif %}
</div>
<div style="text-align: center; font-style:normal; font-weight:normal; margin-bottom: 4px;">
<b>{{ testimonial.author_name }}</b>
</div>
<div style="text-align: center;">
<a style="font-weight:normal; text-decoration:underline;" href="{{ testimonial.product_url }}" target="_blank">
{{ testimonial.product_name }}
</a>
</div>
</div>
{% endfor %}
</div>

  • Click the </> icon again to apply the changes.

  • Click Preview and Test to preview your email with a real product.

  • Once done, save your email and activate the flow.

Here's how your email might look:

If you need help Adding featured reviews in Klaviyo emails, contact our team at [email protected]. We're available to help 24/7!

Did this answer your question?