Klaviyo Integration

Route review request events to Klaviyo to send emails through your existing flows and automations.

Overview

DNA Blocks can send review request data to Klaviyo as a custom event instead of sending the email directly. This lets you use Klaviyo's powerful flow builder to design, personalize, and time your review request emails — while DNA Blocks handles the review collection link and submission page.

💡

When Klaviyo integration is enabled, DNA Blocks will not send its own review request email. All sending is handled by Klaviyo using the event data provided.


Setup

1

Get your Klaviyo Private API Key

In Klaviyo, go to Account → Settings → API Keys and create a new Private API Key with Events (write) permission at minimum. Copy the key.

2

Enable Klaviyo in DNA Blocks

In DNA Blocks Settings, find the Klaviyo Setup section, toggle it on, and paste your Private API Key.

3

Save Settings

Click Save Settings. DNA Blocks will now fire a Klaviyo event for each review request instead of sending its own email.

4

Create a Klaviyo Flow

In Klaviyo, create a new Flow triggered by the Review Requested metric. Build your email using the event properties listed below.


Event Properties

DNA Blocks sends the following properties with each Review Requested event:

PropertyTypeDescription
review_urlstringUnique URL the customer clicks to submit their review
productsarrayList of product names in the order. Use {{ event.products|first }} for the first product.
product_imagesarrayList of product image URLs. Use {{ event.product_images|first }} for the first image.
order_numberstringShopify order number (e.g. 1234)
person.first_namestringCustomer's first name (Klaviyo profile property)

Example Email Template

After creating the flow, open the email node and go to Template → Edit to customize your email. Use Text block → Source code to paste the HTML snippets below.

Product image & name

Insert inside a Text block via Source code:

<div> <img src="{{ event.product_images|first }}" style="width: 120px; height: 120px; object-fit: cover; border-radius: 8px;" /> <p>{{ event.products|first }}</p> </div>

First name & order number

Insert inside a Text block via Source code:

<div>Hi {{ person.first_name }}, thank you for your order #{{ event.order_number }}! We'd love to hear your thoughts.</div>

Review button

Add a Button block and set the Link Address to:

{{ event.review_url }}
💡

You can personalize your subject line too — e.g. How did you like your {{ event.products|first }}?


Profile Identification

DNA Blocks identifies customers in Klaviyo by their email address. The event is associated with the customer's Klaviyo profile automatically, allowing you to use profile data for personalization and suppression logic within your flow.


Troubleshooting

IssueSolution
Events not appearing in KlaviyoVerify your Private API Key has Events (write) permission. Check that the Klaviyo toggle is enabled in Settings.
Flow not triggeringEnsure the flow trigger metric is set to Review Requested (the exact metric name DNA Blocks sends).
Review link not workingMake sure you are using {{ event.review_url }} (not the profile or other properties) as the button URL.