How to create a Happy Birthday campaign using Klaviyo

It's nice when others remember the days that are important to us. In this guide, we show how to build relationships with your Shopify customers and give them special discount codes for their birthday.

We will use Personal Discount and Klaviyo.

Start in the Shopify admin panel > Apps > Personal Discount and click the Add automation button. Then select Klaviyo as your Email Service Provider and Happy Birthday as your campaign type.

Create Klaviyo happy birthday automation with Personal Discount for Shopify annotated
Add Personal Discount automation

You will be asked to specify your automation details in the next step. Learn more from the article describing how to configure an automated discount.

Copy the code snippet to the clipboard when you have finished setting up the automation.

Copy Personal Discount code snippet Klaviyo
Personal Discount code snippet

Switch over to the Klaviyo dashboard. We will build happy birthday automation. Navigate to the Flows section and click Create Flow.

Create Flow Klaviyo
Create flow in Klaviyo

We will Create From Scratch.

How to create Flow from scratch in Klaviyo annotated
Create Flow from scratch in Klaviyo

Now, enter the name of your flow, for example, the Happy Birthday campaign.

The name of your Happy Birthday Campaign Klaviyo
Name your Klaviyo automation

Now, we need to set the trigger. Select Date Property from the trigger types list. Then from the dropped-down menu pick the date property that will trigger this flow. In this case, it is a Birthday. In the next window, you can specify trigger setup, for example, if a message should be sent before or on a person's birthday. Click Done to save this setting and Done again to save the trigger. You can decide if it should be a one-year or annual campaign. In the second case check the Yearly option. Personal Discount will generate a new birthday discount code each year.

Klaviyo set trigger for Happy Birthday Campaign animated
Set the trigger for Happy Birthday campaign in Klaviyo

We would like to send an email on a customer's birthday, so drag and drop the Email box to your automation.

Happy Birthday campaign with Klaviyo. How to add an email? Animated
Add sending email to your Klaviyo flow

Now we will Edit a birthday message.

How to edit a birthday message Klaviyo animated
Edit a birthday message Klaviyo

In the next step, you can specify some details of your email, like the subject or sender name.

Specify the details of your Klaviyo Happy Birthday email
Specify the details of your Klaviyo Happy Birthday email

You can select an email template from the Klaviyo library or create your own.

Klaviyo email templates library
Klaviyo email templates library

It's time to include a discount code in your email template. Drag and drop a Text element to your template. Then delete the default content from it. Next, switch out to the Source view and paste the code snippet from Personal Discount. Save the element and Save Content.

Add text element into Klaviyo email template and paste code snippet from Personal Discount animated
Add text element into Klaviyo email template and paste code snippet from Personal Discount

Now you can enable your automation. Change your email box status from 'Draft' to 'Live'. Then Save & Exit.

How to enable Klaviyo flow animated
How to enable Klaviyo flow

Next, we need to prepare a form where the customer can enter their date of birth. One of the solutions is to create a pop-up.

How to create Klaviyo birthday date pop-up annotated
Create Klaviyo birthday date pop-up

Select the Email subscriber list.

Klaviyo Birtday pop-up subscribers list annotated
Klaviyo Birtday pop-up subscribers list

Now, go to the second step of your pop-up. Here, for example, you can change the date format. Notice that Klaviyo has defined the date formats required for the automation to work correctly. It is MM/DD/YYYY or YYYY-MM-DD format. For more information, see the Klaviyo article Create birthday emails for subscribers (with best practices).

How to change birthday date format in Klaviyo pop-up annotated
Birthday date format Klaviyo pop-up

When your pop-up is finished, you can publish it.

How to publish pop-up in Klaviyo
Publish pop-up in Klaviyo

To publish your pop-up, there is also a confirmation in Shopify needed. When you click Publish Form and Go To Shopify, Klaviyo will redirect you to the appropriate subpage of the Shopify admin panel.

How to enable Klaviyo pop-up in Shopify template annotated
Enable Klaviyo pop-up in Shopify store template

Now your customers can get a discount code as a birthday gift.

Happy Birthday email for customers using Shopify with Klaviyo
Happy Birthday mail with a discount code Klaviyo

Last updated

Was this helpful?