Unify Integrations
Logo
Klaviyo

Klaviyo

Logo

3 mins READ

Klaviyo is an e-commerce marketing automation platform that helps businesses personalize email and SMS campaigns using customer data. It integrates with various platforms like Shopify and WooCommerce to drive targeted engagement and sales.

Integrating your application with Klaviyo enhances your marketing capabilities by enabling data-driven strategies, personalized customer interactions, and automated email campaigns.

Authentication

Before you begin, make sure you have the following information:

  • Connection name: Choose a meaningful name for your connection, like "MyAppKlaviyoIntegration". This name helps you identify the connection in UnifyApps.

  • Authentication type: Select Auth Token, OAuth or OAuth with Client Credentials.

Auth Token

  1. Log in to your Klaviyo account.

  2. Navigate to your profile name in the top right corner and select Account.

  3. In the Settings tab, click on API Keys and then click Create Private API Key.

  4. Enter a descriptive name for the API key and Click Create Key.

  5. Copy the generated API key immediately, as it won't be fully visible again after you leave the page.

  6. Store the API key securely, treating it like a password.

    Frame 149 (2).png
    Frame 149 (2).png

In the connection form, select Auth Token and paste the private API key into the API key field.

OAuth

Select OAuth and sign in to your Klaviyo account when prompted. You don't need to create your own Klaviyo app.

OAuth with Client Credentials

  1. Navigate to the Manage apps page.

  2. Select Create app to create your new application.

  3. Name your application. Then, securely save your client secret and client ID. You won’t be able to view your client secret again, although you can generate a new one later. When you're done, click Create.

    Frame 150.png
    Frame 150.png

  4. After creating your app, you should get a confirmation page with help guides for submitting your app to be listed on Klaviyo's integrations directory. Click Continue to continue setting up your OAuth app.

  5. Pinpoint which scopes your app uses and set them using a space-separated list. To find out which scopes your app uses, visit the API reference documentation. Include all scopes that you will need for your OAuth authorization requests. You can consult the full list of available scopes, if needed.

  6. Your list of scopes should be formatted like the following example:

    Frame 151.png
    Frame 151.png

  7. In Redirect URLs, add the Callback URL shown in the UnifyApps connection form. Klaviyo redirects users to this URL after they authorize your app. For more than one redirect URL, separate each with a space, tab, or enter.

In the connection form, select OAuth with Client Credentials, enter your app's Client ID and Client Secret, and in Scopes select the same scopes you set for your Klaviyo app.

Actions

Actions

Description

Add profile

Adds a profile to a list in Klaviyo

Create campaign

Creates a new campaign in Klaviyo

Create event

Creates a new event in Klaviyo

Create list

Creates a new list in Klaviyo

Create profile

Creates a new profile in Klaviyo

Delete campaign

Deletes a campaign in Klaviyo

Delete list

Deletes a list in Klaviyo

Delete profile from a list

Deletes a profile from a list in Klaviyo

Get account by id

Gets an account by ID in Klaviyo

Get accounts

Gets accounts in Klaviyo

Get campaign

Gets a campaign in Klaviyo

Get campaigns

Gets campaigns in Klaviyo

Get event

Gets an event in Klaviyo

Get form

Gets a form from Klaviyo

Get forms

Gets forms from Klaviyo

Get list

Gets a list from Klaviyo

Get list profiles

Fetches profiles from a specified list in Klaviyo

Get list tag relationships

Fetches the tag relationships of a specified list in Klaviyo

Get list tags

Gets the tags of a specified list in Klaviyo

Get profile

Gets a profile from Klaviyo

Update campaign

Updates a campaign in Klaviyo

Update list

Updates a list in Klaviyo

Update profile

Updates a profile in Klaviyo