Klaviyo integration¶
Beta — Integration details
This integration's setup steps are based on standard Klaviyo API patterns. Specific API key types, data object access, and consent management flows will be verified against the live Dxtra application. If you encounter differences, please report an issue.
Connect your Klaviyo account to Dxtra to manage email and SMS subscriptions, sync consent preferences, and handle data subject requests for your e-commerce marketing. Klaviyo may be available as a pre-built processor or can be integrated through custom integration.
What you can do¶
- Access Requests — Export subscriber data including email/SMS history, engagement metrics, and preferences
- Deletion Requests — Remove subscribers from all Klaviyo lists and delete their data
- Consent Management — Sync email and SMS consent preferences in real-time
- List Management — Manage subscribers across segments and automated flows
- E-commerce Compliance — Handle data requests for e-commerce subscribers and customers
Prerequisites¶
- Active Klaviyo account
- Dxtra workspace with admin access
- Klaviyo account admin access to generate API key
Setup instructions¶
Step 1: Check for Pre-Built Integration¶
In your Dxtra dashboard:
- Navigate to Integrations → Processors
- Click Select Processor and search for "Klaviyo"
- If Klaviyo appears in the dropdown, proceed to Step 2
- If not visible, see Custom Integration below
Step 2: Generate Klaviyo API Key¶
In your Klaviyo account:
- Log in to Klaviyo
- Go to Account → Settings → API Keys
- Click Create API Key
- Select Private API Key
- Copy the generated key (starts with
pk_)
Keep this key secure—treat it like a password.
Step 3: Enter API Key in Dxtra¶
In the Dxtra onboarding wizard:
Data Processor Details: - Processor Name: Klaviyo (auto-filled) - Processor Category: Email Marketing (auto-filled)
API Authentication: 1. Paste your Klaviyo API key into the form 2. Dxtra fetches your Klaviyo lists, segments, and metrics to configure webhook flows
Step 4: Confirm Data Controller DID¶
Dxtra displays your Data Controller DID—your unique organization identifier.
- Review the DID for your records
- Use this in your compliance documentation
- Example:
did:dep:06aaa630923db3f97b17834ddcc6ca0545fb371a1019f9b93551855daa5198a4
Step 5: Complete Onboarding¶
- Review the connection details
- Click Confirm and Onboard
- Klaviyo now appears in your Manage Processors table
Data covered¶
| Data Category | Details |
|---|---|
| Profiles | Email, phone number, name, location, custom properties |
| Lists | List memberships, subscription status, list join/exit dates |
| Segments | Segment memberships, segment criteria, enrollment date |
| Flows | Automated flow enrollments, interaction status, flow completion |
| Campaigns | Campaign sends, email opens, link clicks, bounce/complaint status |
| Events | Custom events tracked (purchases, page views, form submissions) |
Handling data subject requests¶
Access Requests¶
When a customer requests their data:
- In Dxtra, create a new Data Subject Access Request
- Enter the customer's email address
- Dxtra retrieves their complete profile from Klaviyo:
- Email and SMS subscription status
- All list and segment memberships
- Automated flow enrollments
- Campaign engagement (opens, clicks)
- Custom events and purchase history
- Preferences and communication history
- Generate export file in their requested format
- Deliver to customer within your compliance timeline (typically one month for GDPR)
Consent Preference Management¶
Klaviyo syncs email and SMS preferences in real-time:
- Customer updates preferences in Klaviyo (unsubscribe from email, SMS, or both)
- Preference change automatically syncs to Dxtra
- Dxtra reflects the change in the Processing Activity Log
- Customer is removed from affected campaigns and automations
- You maintain an audit trail of consent changes
Deletion Requests¶
When a customer requests deletion:
- In Dxtra, create a Deletion Request
- Verify customer identity
- Select deletion scope:
- Remove from all email lists
- Remove from all SMS lists
- Delete customer profile
- Delete engagement history (opens, clicks, etc.)
- Delete event history
- Click Execute Deletion
- Dxtra removes the customer from Klaviyo
- Send deletion confirmation to customer
Monitoring the integration¶
Processing Activity Log¶
Track all Klaviyo activity:
- Go to Processing Activity Log in Dxtra
- Filter by Source: Klaviyo
- View all profile updates, list changes, campaign sends, and events
- Each event shows timestamp, type, and affected profile
Connection Status¶
Verify integration health:
- Go to Manage Processors
- Find Klaviyo in the table
- Verify Klaviyo appears in the Manage Processors table
- If status shows error:
- API key may have been revoked
- Klaviyo account may be inactive
- API permissions may have changed
Custom integration¶
If Klaviyo is not available as a pre-built processor:
- Use Custom Webhooks to configure Klaviyo event tracking
- Use the GraphQL API to query and manage Klaviyo data manually
Contact support@dxtra.ai to discuss the best approach for your setup.
Troubleshooting¶
Connection Failed¶
Problem: "Failed to authenticate with Klaviyo" error
Check: 1. API key is correct and was copied completely 2. API key hasn't been revoked in Klaviyo account 3. Klaviyo account is active
Solution: 1. Generate a new API key in Klaviyo Settings 2. Update the key in Dxtra Processor settings 3. Click Verify to re-test connection
Missing Profile Data¶
Problem: Customer exists in Klaviyo but doesn't appear in Dxtra
Check: 1. Email address matches exactly (case-sensitive in some systems) 2. Profile is active in Klaviyo 3. Integration is active in the Manage Processors table
Solution: 1. Verify email in Klaviyo matches request exactly 2. Check for alternate email addresses on the profile 3. Try searching by phone number or custom ID 4. Manually re-sync from Processor settings
Sync Delays¶
Problem: Changes in Klaviyo take time to appear in Dxtra
Check: 1. Integration is active in the Manage Processors table 2. Klaviyo API is operational 3. Network allows data transfer between Klaviyo and Dxtra
Solution: 1. Wait 5-10 minutes for automatic sync 2. Manually trigger sync from Processor settings 3. Check Klaviyo API status page 4. Verify firewall/network allows outbound connections
Deletion Failed¶
Problem: Deletion request shows as failed
Check: 1. Profile still exists in Klaviyo 2. API key includes delete permissions 3. Profile is not in protected/archived state
Solution: 1. Confirm profile exists in Klaviyo 2. Verify API key has full subscriber management permissions 3. Try deletion again from Processor settings 4. Contact support@dxtra.ai if issue persists
Event Data Missing¶
Problem: Purchase events or custom events not appearing for customer
Check: 1. Events are being tracked in Klaviyo 2. Events are associated with correct customer profile 3. Sync includes event history
Solution: 1. Verify events exist in Klaviyo event log 2. Confirm events are linked to correct email/phone 3. Manually trigger data refresh in Processor settings 4. Check that profile is active and not archived
Best practices¶
- Test with Sample Customer — Verify data retrieval with a test profile before handling real requests
- Document Your Process — Train your team on access and deletion request procedures
- Monitor List Health — Review segment and list membership regularly
- Track Compliance — Monitor opt-out rates and consent changes
- Communicate Privacy Practices — Let customers know you can handle data requests quickly
Security and compliance¶
- Data Encryption — Klaviyo API data encrypted in transit (TLS 1.2+)
- Key Storage — API keys encrypted at rest in Dxtra
- Access Control — Only admins with "Privacy & Compliance" role can access customer data (role name pending product team verification)
- Audit Trail — All access to customer data logged and auditable
- No Data Resale — Dxtra never sells, shares, or uses Klaviyo data for marketing
Related documentation¶
- Email Marketing Integrations — Overview of email platform integrations
- Mailchimp Integration — Alternative email marketing platform
- Data Subject Rights — Complete DSR handling guide
- Custom Integrations — Build custom Klaviyo workflows
- Processing Activity Log — Monitor integrations
Support¶
Having trouble? Get help:
- Check the Troubleshooting section above
- Review the FAQ
- Contact support@dxtra.ai with your processor details and error message
Next: Explore Mailchimp integration or analytics integrations.