Integrating Klaviyo
Capabilities
DataGrail's Klaviyo integration provides the following capabilities:
Product | Capability | ||||
---|---|---|---|---|---|
Request Manager |
|
Before You Start
To successfully configure this integration, please ensure you have sufficient privileges:
- DataGrail User Role: Super Admin, Connections Manager
- Klaviyo User Role: Admin
Connect to DataGrail
DataGrail provides two methods for securely connecting Klaviyo:
OAuth Authentication
Create an App in Klaviyo.
- Log in to Klaviyo.
- Navigate to the Manage Apps page.
- Select Create App to create your new application.
- Name your application and securely store 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, select 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.
- Select the required scopes for the DataGrail integration. Separate each scope with a single space.
Required Scopes
accounts:read
profiles:read
lists:read
segments:read
data-privacy:read
data-privacy:write
- Edit your Redirect URLs (known as Redirect URIs in OAuth):
https://datagrail.io/oauth/klaviyo
- When you have finished setting your scopes and redirect URLs, click Save in the top right to save your changes.
Connect to DataGrail
- In DataGrail, navigate to Integrations and select Configure New Integration to search for Klaviyo.
- Select OAuth Authentication Type.
- Enter the Client ID, and Client Secret.
- Select your desired Asynchronous Deletion Behavior.
Klaviyo Deletion Behavior Configuration
Mark integration as complete when a deletion request is successfully submitted: The Klaviyo Integration will be marked as "complete" as soon as the deletion request is submitted to Klaviyo.
Continue processing until the deletion request is completed (default behavior): The Klaviyo Integration will show a "processing" status until the Klaviyo deletion is complete.
- Select Configure Integration and then select Allow when redirected.
Private Key Authentication
Create a Klaviyo API Key
- In Klaviyo, navigate to Account Settings.
- Under the API Keys tab, select Create Private API Key.
- Select Create API key.
- Enter a Private API Key Name.
- Select Custom Key, and select the required API scopes:
Required API Scopes
- Data Privacy: Write
- List: Read
- Profiles: Read
- Segments: Read
- Select Create
- Copy the newly created API Key and store it in a secure, temporary location.
Connect to DataGrail
- In DataGrail, navigate to Integrations and select Configure New Integration to search for Klaviyo.
- Select API Key Authentication Type.
- Enter the newly created API Key.
- Select your desired Asynchronous Deletion Behavior.
Klaviyo Deletion Behavior Configuration
Mark integration as complete when a deletion request is successfully submitted: The Klaviyo Integration will be marked as "complete" as soon as the deletion request is submitted to Klaviyo.
Continue processing until the deletion request is completed (default behavior): The Klaviyo Integration will show a "processing" status until the Klaviyo deletion is complete.
- Select Configure Integration.
Next Steps
Now that you've successfully connected the integration, check out the following resources:
- Synchronous vs. Asynchronous Integrations
- Whole Record Deletion
- Access Request Lifecycle
- Request Manager Overview
Troubleshooting
If you are unable to successfully connect the integration, review these common troubleshooting steps:
Ensure Required Permissions Are Granted on API Keys/Resources
DataGrail checks required permissions and scopes on API keys/resources used by each integration. If all necessary permissions are not granted, new connections will fail.
Review Required Account Types and User Roles
If users do not have the necessary permissions or the minimum required user role in the connecting system, the connection to DataGrail will fail. Additionally, connections will fail if your account type does not match the one required by the integration.
See Before You Start to review these requirements.
Technical Details
Access Type | Asynchronous |
---|---|
Deletion Type | Asynchronous Whole Record |
API Documentation
Learn more about this API implementation and DataGrail functionality in our API Integration Documentation.
Disclaimer: The information contained in this message does not constitute as legal advice. We would advise seeking professional counsel before acting on or interpreting any material.