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. This name helps you identify the connection within your application or integration settings. It could be something descriptive like "MyAppKlaviyoIntegration".Authentication Type
: Select the type of authentication for connecting to your Klaviyo account:Private Key
OAuth
Private Key Based
Log in to your Klaviyo account.
Navigate to your profile name in the top right corner and select Account.
In the Settings tab, click on
API Keys
and then clickCreate Private API Key
.Enter a descriptive name for the API key and Click
Create Key
.Copy the generated API key immediately, as it won't be fully visible again after you leave the page.
Store the API key securely, treating it like a password.
OAuth Based
Navigate to the Manage apps page.
Select
Create app
to create your new application.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
.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.
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.
Your list of scopes should be formatted like the following example:
Edit your Redirect URLs/Callback URLs (known as Redirect URIs in OAuth). These are the URLs that you have allowlisted Klaviyo to redirect users to after authorizing your app. For more than one redirect URL, separate each with a space, tab, or enter.
Actions
Actions | Description |
| Adds a profile to a list in Klaviyo |
| Creates a new list in Klaviyo |
| Creates a new profile in Klaviyo |
| Gets a campaign in Klaviyo |
| Gets an event in Klaviyo |
| Gets a list from Klaviyo |
| Gets a profile from Klaviyo |
| Updates a list in Klaviyo |
| Updates a profile in Klaviyo |