Skip to main content

How to Set Up the Klaviyo Integration

Klaviyo integration

Simon avatar
Written by Simon
Updated over a month ago

Kaching Subscriptions connects with Klaviyo using Klaviyo Flows.

Whenever something important happens with a customer's subscription (like when they create a new subscription, pause it, or have a successful payment), Kaching automatically sends that event along with detailed customer and subscription data to Klaviyo.

Once these events arrive in Klaviyo, you can create powerful automation flows that trigger emails based on specific events.

Supported events

Kaching Subscriptions currently supports 8 different subscription events that you can use to trigger Klaviyo flows:

Subscription Lifecycle Events

  1. Subscription contract create: Triggered when a customer creates a new subscription.

  2. Subscription contract pause: Triggered when a customer pauses their subscription.

  3. Subscription contract activate: Triggered when a customer resumes a paused subscription.

  4. Subscription contract cancel: Triggered when a customer cancels their subscription.

Billing & Payment Events

  1. Billing attempt success: Triggered when a subscription renewal payment is successfully processed. You can use this to confirm the payment and let customers know when to expect their order.

  2. Billing attempt failure: Triggered when a subscription renewal payment fails. Critical for notifying customers about payment issues so they can update their payment method before their subscription is affected.

Order Management Events

  1. Order skipped: Triggered when a customer skips an upcoming order.

  2. Order unskipped: Triggered when a customer unskips a previously skipped order.

Setting up your first Klaviyo flow: Subscription Cancelled

Let's walk through creating a Klaviyo flow for when a customer cancels their subscription.

Before You Start

Make sure you've already:

  • Connected your Klaviyo account to Kaching Subscriptions by entering your Klaviyo private API key: How to create Klaviyo private API key

  • Enabled the "Subscription contract cancel" event in your integration settings

  • Noted the event name you're using (the default is kaching_subscription_contract_cancel)

Step 1: Create a New Flow in Klaviyo

  1. Log in to your Klaviyo account

  2. Navigate to Flows in the left sidebar

  3. Click Create Flow in the top right corner

  4. Select Build your own (this gives you full control)

  5. Give it a name "Kaching subscription cancellation flow" and click Create flow:

Step 2: Add the event trigger

  1. Click on the trigger block that appears in your new flow

  2. Select Your Metrics > API as the trigger type

  3. Find the event name you configured in Kaching Subscriptions (e.g., kaching_subscription_contract_cancel)

  • Note: If this is your first time setting this up, the event might not appear in the list yet. To solve this - you can dispatch a test event from Kaching Subscriptions Klaviyo integration page.

Step 3: Add an email action

  1. Drag & drop Email from the actions menu

Step 4: Import the pre-designed email template

Good news! You don't have to design your email from scratch. We've created professional email templates for all 8 events that you can use right away.

Download the Template:

  1. Find the template for "subscription_contract_cancel"

  2. Copy the HTML

Import the Template into Klaviyo:

  1. Open Templates

  2. Click Import

  3. Select Paste HTML tab

  4. Give template name "Kacing subscription contract cancel"

  5. Paste HTML into the Template HTML field

  6. Check the "Only check this box if this template will be used for triggered emails which are not marketing related." checkbox and click Import template

Step 5: Use template in the email action

Now that you've created a template, you can fill out the email details for the action:

  1. Set the email name

  2. Set the subject line

  3. Select the template

  4. Uncheck the "Skip recently emailed profiles" setting

  5. Click Save

  6. Click Review and turn on > Save

Verify your flow is working

After completing these steps, your Klaviyo flow should be live! But before you call it done, let's make sure everything is working correctly.

Test your flow:

  1. Go back to your Kaching Subscriptions dashboard

  2. Navigate to Settings > Integrations > Klaviyo

  3. Click Dispatch test event

  4. Select "Subscription contract cancel" as the event type

  5. Enter your email address

  6. Click Dispatch event

Within a few moments, you should receive the email. Don't forget to check your spam folder if it doesn't appear in your inbox right away!

Monitor Flow Activity:

To see if your flow is being triggered properly:

  1. In Klaviyo, go to your flow and click on it

  2. Turn on Analytics (if not already enabled) to track performance metrics like open rates and click rates

  3. Enable Flow History to see a real-time log of when the flow triggers and for which customers

  4. Check the flow history after sending your test event - you should see it listed there

View Event Data in Klaviyo:

Want to see the actual event data that Kaching sent to Klaviyo?

Here's how:

  1. Exit the flow editor and go to Audience > Profiles in Klaviyo

  2. Search for and click on the email address you used for the test event

  3. On the right you should see events feed section

  4. Look for the kaching_subscription_contract_cancel event (or whatever you named it)

  5. Click on the event to see the complete payload with all the subscription data

If you want to see all the available data fields and their types for each event, check out our comprehensive guide: Klaviyo Event Payload Structure


Congratulations! 🎉

You've successfully set up your first Klaviyo flow with Kaching Subscription.


Need help? Drop us a message in the live chat, and we'll sort it out together.

Did this answer your question?