Overview
- Create a Klaviyo Private API Key
- Create the Metric in Klaviyo that will be used for your Wunderkind flow
- Create and Configure your Wunderkind flow
- Optional but Recommended: Set up URL appending for increased identification
1. Create a Klaviyo Private API Key
To ensure we can seamlessly integrate and manage your email marketing campaigns on Klaviyo, we need access to an API key from your account. Please follow these steps, or watch the instructional video below for a visual guide:
- Navigate to https://www.klaviyo.com/integrations and log in using your Klaviyo credentials
- Click on "Account" (bottom left hand side. Note that the actual name will reflect your Klaviyo Account.)
- Click "Settings" and select "API Keys"
- Click "Create Private API Key"
- In the "Private API Key Name" field, we recommend using Wunderkind for easy reference. However, if this name is already in use, please select an alternative of your choice.
- Select the "Full Access Key" radio button
- Click "Create"
- Since this is the only opportunity to view the key value, we strongly recommend downloading it.
2. Create your Metric in Klaviyo
Your Klaviyo Integrations utilizes a Wunderkind metric in order to send emails. Please follow these steps in order to begin the configuration process.
- Download this CSV
- Navigate to https://www.klaviyo.com/integrations and log in using your Klaviyo credentials
- Click on "Manage Sources", then “Import via CSV”
- Upload the CSV that you downloaded in Step 1 and click “Next”
- In the "Name of event / action" field, enter Wunderkind
- Click "Next"
- Click "Done" once the Import is successful (Green Status bar is full)
3. Create and Configure your wunderkind Flow
Now, you will configure your Wunderkind flow. Please follow these instructions exactly, as the names that you give need to match exactly. Please also note: Once a Metric is selected, it cannot be changed. You will have to delete the flow with the wrong Metric and create a new flow.
- Click "Flows" in the left-hand menu
- Click the "Create flow" button on the top right
- Click "Build your own" button on the top right
- Name the flow Wunderkind
- In the "Tags" dropdown, create a tag named wknd, and make sure it's checked
- Click "Create manually"
- Click "Your metrics" (middle tab on the left-hand menu)
- Click "API", then find and select the Wunderkind metric
- Click "Save", then "Confirm and save"
- Click the Email box under the ACTIONS heading in the left-hand menu and drag it under the “Trigger” box
- Click inside the white box named "Email #1"
- In the right-hand menu, scroll down to "Settings"
- Make sure that "Skip recently emailed profile" and "Enable UTM Tracking" are NOT checked and click “Save”
- Click the three dots in the top right corner of the box named "Email #1" and click "Edit"
- In the “Subject line” field, replace the default text with: {{event.subject | safe}}
- Click on the "HTML" box (middle-right)
- Copy and Paste the code below to replace the default HTML code in Klaviyo
<html>
<head>
<style>
body {margin:0!important;}
a {text-decoration:none;}
a[x-apple-data-detectors] {color:inherit!important;}
@media screen and (min-device-width:10px) and (max-width:600px) {
.full {width:100%!important;height:auto!important;}
.hide {width:0!important;height:0!important;font-size:0!important;line-height:0!important;overflow:hidden!important;float:left!important;display:none!important;}
.show {display:block!important;width:100%!important;height:auto!important;overflow:visible!important;float:none!important;clear:both!important;}
table.show {display:table!important;}
span.show {display:inline!important;}
.block {display:block!important;}
.center {margin:0 auto!important;text-align:center!important;float:none!important;clear:both!important;}
.box {width:90%!important;}
.prod {width:80%!important;}
}
@media screen and (min-device-width:10px) and (max-width:450px) {
h1 {font-size:30px!important;line-height:1.2!important; }
}
</style>
<!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]-->
</head>
<body style="padding:0;-webkit-font-smoothing:antialiased;" class="body">
{{ event.body | safe }}
</body>
</html>
- Click "Save", then “Done”
- Click the "Draft" dropdown in the bottom right corner of the "Email #1" box email box and change the status to Live
- Click the "Exit" button in the top right corner
4. Enable URL Identification
This step is optional, as it will not impact your ability send Wunderkind messages. However, we recommend that you take the time to enable URL Identifications as it will help you scale the number of emails that we can send and drive more incremental revenue
- Click on "Account" (bottom left hand side. Note that the actual name will reflect your Klaviyo Account.)
- Click "Settings"
- Click the tab named "Other"
- Select "UTM tracking"
- Click "Add UTM parameter" and enter the following values for each field:
- UTM parameter: bxid
- Campaign value: Klaviyo profile id
- Flow value: Klaviyo profile id
- Make sure that “Automatically add UTM parameters to links” is enabled
- Click "Save"