How to create a post-purchase campaign to increase customers' loyalty using Klaviyo
Do you want to increase your customers' loyalty to your Shopify store? The best solution is to create an email campaign with discount codes for their next purchases.
In this guide, we will examine how to do this with Personal Discount and Klaviyo.
Let's start with creating new automation with our app. Open your Shopify dashboard > Apps > Personal Discount. Then pick Klaviyo as your Email Service Provider and the Campaign type is Follow up on purchases.
Create post-purchase Personal Discount automation with Klaviyo
Next, set details of your automation. Here is a useful guide on how to configure a discount which describes parameters that you can control.
If you have set everything up, save your automation and copy the code snippet to the clipboard.
Copy code snippet from Personal Discount
In the next step, switch over to the Klaviyo dashboard > Flows > Create Flow.
Create Klaviyo flow
We will build our automation from scratch.
Build Klaviyo automation from scratch
Enter the flow name.
Provide Klaviyo flow name
Now we will create our automation structure. Let's start with a trigger. We want to send a message when a customer placed an order, so click Metric.
Select Klaviyo flow trigger
And select Placed Order from the dropped-down menu. Then click Done. You can also set trigger filters or flow filters to restrict automation to only certain people.
Place order trigger in Klaviyo flow
Now drag and drop an action that will be taken after placing an order. We want to send an email. You can also set a time delay.
Insert send email action into Klaviyo flow
In the next step, design your message with a discount code.
Edit Klaviyo flow email
Here you can set the details of your email like the mail sender or subject and select your message designing way.
Select way of designing email for your Klaviyo workflow
You can choose one of the pre-built templates or create your own.
Email templates for Klaviyo automation
Now drag and drop a text element that will contain a code snippet. You can also use the existing element from your template.
Insert text element into Klaviyo email template
Edit your text element. Switch out to the Source view, paste the code snippet from Personal Discount and Save element changes. If your entire template is ready, Save Content.
Paste code snippet from Personal Discount
It's high time for activating your automation. Change the email status from 'Draft' to 'Live'. Then Save & Exit.
Activate your Klaviyo automation
Now your customers will receive a message with a discount code when they place an order.