MARKETING PLAYBOOKS
Authorizing Emails via Klaviyo
Prerequisites
Wishlist Plus Starter Plan or above
Klaviyo Email Account
Swym-Klaviyo integration enabled
The authorization email is generally sent via Swym when a customer needs to log in or retrieve their wishlist from your store.
A customer on your store, can log in or save their wishlist list to an existing email ID. This will allow them to access their wishlist at any time, across multiple devices.
![](https://swym.it/wp-content/uploads/2024/07/au1-768x510.png)
![](https://swym.it/wp-content/uploads/2024/07/au2-768x508.png)
By clicking the ‘Save List’ button, an authorization email is sent out to the customer.
![](https://swym.it/wp-content/uploads/2024/07/au3-768x546.png)
How To Implement
1. Enable Wishlist signup confirmation event
Before you get started, you need to make sure you’ve enabled the share wishlist event within Swym Admin. To confirm, once you’ve logged in to Swym Admin, navigate to Integrations via the left nav. Make sure that the checkbox next to “Shoppers share their Wishlist contents with others” is checked.
![](https://swym.it/wp-content/uploads/2024/07/au4-1024x283.png)
A test trigger feature is also available that enables you to simulate Wishlist and Back in Stock events instantly, letting you check if the event triggers work as intended. Upon clicking the test trigger you will be prompted by a pop-up to enter an email address.
![](https://swym.it/wp-content/uploads/2024/07/au5-768x466.png)
Once the Klaviyo integration is enabled and saved on Swym Admin, Swym immediately stops sending these emails on your behalf. To keep sending out the authorization emails without a break, you will need to have a Klaviyo flow built in its place.
Setting up the Klaviyo flow for this event is very simple. Create a flow on your Klaviyo Dashboard for the event Swym-authEmail.
![](https://swym.it/wp-content/uploads/2024/07/au6-1024x561.png)
Pro Tip: In order to create a flow, you will first need the shareWishlist event recorded on Klaviyo. Do this by triggering the event yourself or sending a test trigger as shown earlier.
While creating the email template, you can refer to this table that will give you the schema/merge tags that you can use inside the template, along with the values from the events.
Data Element | Element Label | Example | Comment |
Event Name | Event | Swym-authEmail | Used in trigger definition |
Customer Email |
| ||
Event Time | EventTime | March 17, 2021 at 10:49 AM |
|
Device | Device | Mac |
|
First Name | FirstName | Nikita |
|
Last Name | LastName |
|
|
Validate URI | ValidateURI | Used for the ‘Confirm’ button |
2. Create Klaviyo Flow and Select Trigger
Now that you’ve enabled the flow on Swym Admin, log in to your Klaviyo dashboard, navigate to the Flows page, and select “Create Flow”–> “Build your Own”.
![](https://swym.it/wp-content/uploads/2024/07/au7-1024x136.png)
![](https://swym.it/wp-content/uploads/2024/07/au8-1024x133.png)
In this example, we will call this flow “Wishlist Signup”.
![](https://swym.it/wp-content/uploads/2024/07/au9-1024x361.png)
Next, you’ll need to set the trigger for this flow. For this, go to the ‘Your Metrics’ tab from the options on the right and select ‘Wishlist Plus’.
![](https://swym.it/wp-content/uploads/2024/07/au10-1024x357.png)
Choose “Swym-authEmail” from the Metric dropdown.
![](https://swym.it/wp-content/uploads/2024/07/au11-1024x558.png)
Once the changes are saved, a dialogue box will appear to confirm the trigger, click on “Confirm and save”.
![](https://swym.it/wp-content/uploads/2024/07/au12-1024x553.png)
Next, add an email to your flow, this will be your share wishlist message.
![](https://swym.it/wp-content/uploads/2024/07/au13-1024x552.gif)
3. Create Your Email Template
Click on the Email added to your flow and click on Configure Content or Edit in the left panel.
![](https://swym.it/wp-content/uploads/2024/07/au14-1024x556.png)
If you’ve been using Klaviyo for a while you probably already have your templates set. For this exercise, we’re going to choose the “Create Blank email” method which uses the drag-and-drop method if you don’t have an already existing template.
![](https://swym.it/wp-content/uploads/2024/07/au15-1024x185.png)
Once the template is open you can add your logo to the top if you like or remove the image block. We’ll use the placeholder “text block” for the main message content. For this example we’ll keep things simple, centering everything and using html to pull in data from the Swym-authEmail event.
![](https://swym.it/wp-content/uploads/2024/07/au16-1024x552.gif)
Now, once you have added the Text block, you will have to work on the content section of the text block. For this please select the “Source Code ( </> )” option from the menu in the Left section.
![](https://swym.it/wp-content/uploads/2024/07/au17-1024x559.png)
Here’s the HTML we used for our simple template:
<p>Hello {{ event.FirstName }}</p>
<p>We received a request to connect your wishlist activity to your email address (from your {{ event.Device }}) on {{ event.EventTime }}. This will allow you to retrieve your wishlist any time, on any device. If you made this request, please click on the confirm button below. If not, please disregard this email.</p>
Your customers will need to click on the ‘Confirm’ button to validate their email ID. To do this, add a ‘Button’ block below the text block.
![](https://swym.it/wp-content/uploads/2024/07/au18-1024x553.gif)
You can customize the text on the button and link it to the {{event.ValidateURI}} element.
![](https://swym.it/wp-content/uploads/2024/07/au19-1024x558.png)
4. Preview the Message
Once you are satisfied with your template and have saved it you can preview it to make sure everything is working as expected. Klaviyo lets you choose real example events that have flowed over for the preview, so the previews should expose any issues you might be experiencing.
We like to preview first in Klaviyo to make sure everything is working and then check it out in a real inbox. Here’s what our preview looked like:
![](https://swym.it/wp-content/uploads/2024/07/au20-1024x593.png)
Once you’re happy with the preview in Klaviyo we strongly recommend you send yourself a test via email as well so you can check the links and make sure it renders well in the inbox.
5. Set Your Email Status to “Live”
When you’re satisfied with your testing the last step is to set your email status from “draft” to “live”. Once that switch is flipped your emails should start flowing!
![](https://swym.it/wp-content/uploads/2024/07/au21-1024x559.png)