Skip to main content
Klaviyo Integration

Connect with Klaviyo to send branding email and text notifications to your customers when they place a booking.

Ray M avatar
Written by Ray M
Updated over a week ago

Overview

Easy Appointment Booking can connect with your Klaviyo account so you can send emails from your brand and domain for follow-ups or the core booking confirmation and reminders. This allows you to create Klaviyo flows whenever customers:

  • Place a booking

  • Booking gets rescheduled

  • Booking gets cancelled

  • 24-hours before a booking

  • When a booking occurs

  • 24-hours after a booking

Watch the setup video

Additionally, Easy Appointment Booking will also automatically create or update customer profiles on Klaviyo. This keeps your email lists accurate and lets you segment customers. For example, you could segment customers who have placed a booking in the past week, and send them a discount code or upsell them on other products.

We'll walk through how to connect Klaviyo with Easy Appointment Booking below.

ℹ️ Our Klaviyo integration is in private beta. You can request access through the in-app chat on the bottom right of your screen.

Connecting with Klaviyo

  1. Login to your Klaviyo Account at www.klaviyo.com.

  2. Go to your Account Settings.

3. Click on API Keys. Then click on Create Private API Key.

4. When creating an API Key, set the following permissions. You can enter any name for the key.

5. Click Save. On the next page, copy the API Key that is generated. You will need to paste this into Easy Appointment Booking.

6. Open the Easy Appointment Booking app from your Shopify Admin Dashboard.

7. Go to Settings and scroll down to Klaviyo.

8. Enable the Klaviyo Addon.

9. Once enabled, enter your API Key from Step (5) into the text box.

10. Press Save.

At this point, Easy Appointment Booking will attempt to connect with Klaviyo. If everything connects successfully, you will see a confirmation message show up along with a "Connected" badge.

Setting up emails and text messages through Klaviyo

Once Klaviyo is connected, you can redirect all emails and text messages to be sent through Klaviyo instead of through Easy Appointment Booking.

To do this, first we will setup emails via Klaviyo. We'll use an example of sending booking confirmation emails.

  1. Login to your Klaviyo Account

  2. Go to Flows.

  3. Click on Create flow.

  4. Click on Build your own. Give your flow a name. Write "Booking Confirmation Emails". Click Create Flow.

  5. You will now be in the flow builder and will have to choose a Trigger.

  6. Click on Your Metrics.

7. Click on API.

8. Here, you will see all the triggers that are setup by Easy Appointment Booking. Since we are creating a Booking confirmation flow, click on Booking placed (Easy Appointment Booking).

9. Press Save. Then press Confirm & Save.

10. You have now saved the trigger and can continuing building your flow. Next, we can add a sample email to it.

11. On the right side, click Select Template.

12. You can select any one of Klaviyo's many email templates or create your own. For more information on how to work with Klaviyo email templates, read this guide.


Variables in Klaviyo Email Templates

Klaviyo lets you personalize emails by using dynamic variables. Easy Appointment Booking will automatically make the following variables available in your email templates.

Data

Variable

Customer first name

{{ event.first_name }}

Customer last name

{{ event.last_name }}

Booking ID

{{ event.booking_id }}

Booking Start Date

{{ event.start_date }}

Booking End Date

{{ event.end_date }}

Booking Start Time

{{ event.start_time }}

Booking End Time

{{ event.end_time }}

Booking Timezone

{{ event.timezone }}

Event Name

{{ event.event_name }}

Event Location

{{ event.event_location }}

Event Description

{{ event.event_description }}

Event Notes

{{ event.event_notes }}

Number of Attendees

{{ event.number_of_attendees }}

Product Name

{{ event.variant_title }}

Availability Name

{{ event.availability_name }}

Availability Email

{{ event.availability_email }}

Custom Field Responses

{{ event.booking_line_items }}

Read the custom field section below for more information.

Booking Subscription Link

{{ event.bundle_booking_link }}

Booking Reschedule Link

{{ event.reschedule_booking_link }}

Shop Name

{{ event.shop_name }}

Shop Email

{{ event.shop_email }}

Shop Website

{{ event.shop_website }}

You can use these variables to customize an email template. Here's an example of a confirmation email template using some of these variables:

In addition to the variables above, you also have access to a special variable called {{ event.trigger }}. The {{ event.trigger }} variable will have one of the following values:

Klaviyo Trigger

Value of {{event.trigger}} variable

Booking Placed

Booking placed (Easy Appointment Booking)

Booking Rescheduled

Booking rescheduled (Easy Appointment Booking)

Booking Cancelled

Booking cancelled (Easy Appointment Booking)

Booking Reminder

Booking reminder (Easy Appointment Booking)

Booking Occurred

Booking occurred (Easy Appointment Booking)

Booking Follow-up

Booking follow-up (Easy Appointment Booking)

You can use the trigger variable in your Klaviyo flows to add conditional logic.

Adding Custom Field Responses to your Klaviyo Email Templates

Any custom fields that your customers have answered can be added to your Klaviyo email template. To do this, add the following block of code in your email template:


{% for item in event.booking_line_items %}
<p style="text-align: left;">
{{ item.name }}: {{ item.value }}
</p>
{% endfor %}

This tells Klaviyo to loop over all of the custom field responses in the {{ event.booking_line_items }} variable and add them to your email template.


13. Once you select an Email Template and save it, make sure to uncheck the Skip recently emailed profiles checkbox. This will ensure that all triggered emails are sent to the customer.

Once your email template is created, save your flow. You are now ready to send emails through Klaviyo!

Testing your Klaviyo Integration

Once you have set up your flows through Klaviyo, you can test your Klaviyo integration by creating a new test appointment booking. You can do it a few different ways:

  1. Create a manual booking through the "Add a booking" button on Easy Appointment Booking.

  2. Create a booking from your Shopify store.

Enter a valid email address that is different from the email address you are sending Klaviyo emails from. Once a booking is made, your klaviyo email should arrive in your inbox within 2-3 minutes!

Easy Appointment Booking Triggers

Easy Appointment Booking makes following triggers are available to you on Klaviyo. These are all available in Your Metrics > API.

Trigger

When it fires

Booking placed (Easy Appointment Booking)

When a customer places a booking.

Booking reminder (Easy Appointment Booking)

24-hours before the booking is set to occur.

Booking occurred (Easy Appointment Booking)

When a booking occurs (can have up to 30 minutes delay).

Booking follow-up (Easy Appointment Booking)

24-hours after a booking occurs.

Booking rescheduled (Easy Appointment Booking)

When a booking gets rescheduled.

Booking cancelled (Easy Appointment Booking)

When a booking gets cancelled.

Each of these triggers contain variables that you can use to personalize the Klaviyo flow.

Preventing double-email sends

Once you have Klaviyo connected, we recommend you disable email notifications via Easy Appointment Booking. Otherwise, your customers will get 2 different emails -- one sent through EAB and another sent through Klaviyo.


To do this:

  1. Go to Easy Appointment Booking from the Shopify Admin Dashboard

  2. Click Edit beside an Event.

  3. Scroll down to the Notifications section.

  4. Uncheck all boxes.

  5. Click Update Notifications

Disconnecting Klaviyo

To disconnect your Klaviyo integration:

  1. Go to Easy Appointment Booking from the Shopify Admin Dashboard

  2. Go to the Settings tab and scroll down to Klaviyo.

  3. Click on Disconnect.

Once disconnected, events will no longer be sent to Klaviyo. Additionally, if you wish to reconnect again, you will need to create a new API Key.

Klaviyo will automatically be disconnected if you remove the Klaviyo add-on.

Get access to Klaviyo

Klaviyo is currently available within a private beta for a paid add on. Please reach out to us to get you set up!

Did this answer your question?