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
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.
Enable Klaviyo in DNA Blocks
In DNA Blocks Settings, find the Klaviyo Setup section, toggle it on, and paste your Private API Key.
Save Settings
Click Save Settings. DNA Blocks will now fire a Klaviyo event for each review request instead of sending its own email.
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:
| Property | Type | Description |
|---|---|---|
review_url | string | Unique URL the customer clicks to submit their review |
products | array | List of product names in the order. Use {{ event.products|first }} for the first product. |
product_images | array | List of product image URLs. Use {{ event.product_images|first }} for the first image. |
order_number | string | Shopify order number (e.g. 1234) |
person.first_name | string | Customer'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:
First name & order number
Insert inside a Text block via Source code:
Review button
Add a Button block and set the Link Address to:
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
| Issue | Solution |
|---|---|
| Events not appearing in Klaviyo | Verify your Private API Key has Events (write) permission. Check that the Klaviyo toggle is enabled in Settings. |
| Flow not triggering | Ensure the flow trigger metric is set to Review Requested (the exact metric name DNA Blocks sends). |
| Review link not working | Make sure you are using {{ event.review_url }} (not the profile or other properties) as the button URL. |