CDP-Klaviyo integration
CDP-Klaviyo integration includes the following steps:
CDP generates CSV files during campaign execution.
CDP stores the CSV files to an SFTP location through the CDP SFTP output connector.
The Workato SFTP connector picks the CSV files from the SFTP location and pushes their data to Klaviyo.
Integrating CDP and Klaviyo
Create a new SFTP location or use an existing one.
This must be a shared location accessible to the CDP SFTP output connector and Workato SFTP connector.
Configure a CDP SFTP output connector for Campaign or Campaign+.
The connector must have valid configuration and working credentials.
Import a Workato recipe that can access the shared SFTP location.
The recipe must have a valid API connection and must be in the Started state.
In the Klaviyo UI, create a list or use an existing list.
You can find the list Id in CDP. The list must be present in the Klaviyo application during campaign execution.
In the CDP UI, create a campaign that uses the same CDP SFTP output connector that you configured:
On the Audience page, add customers with valid email addresses.
On the Content page, select Email Address as the output field.
On the Destinations page, use the following predefined format for the file name:
- klaviyo_wk_<ListId>_<Date Suffix>.csv
For example,
klaviyo_wk_e3Gr2_20220224112002.csv
, where:klaviyo_wk is a predefined prefix.
<ListId> represents the list in Klaviyo.
<Date Suffix> is the date suffix in yyyyMMddhhmmss format.
(Optional) Select the Add current date suffix checkbox in Campaigns+ while selecting the SFTP destination.
(Optional) On the Destinations page, edit the fields in the Output Attribute Mapping section to rename campaign attributes to match the Workato SFTP connector field names, ensuring case-sensitivity.
You must provide the same name in the Workato recipe mappings.
Configure the Workato SFTP connector.
Before running the Workato SFTP connector, you must configure it to map the input data from the CSV file. You can map the input fields from a CSV file to the predefined fields. You can also define custom fields if any required fields are not present in the predefined fields. You can find the custom fields in the Klaviyo UI. To configure custom fields, contact your CDP team.
The following are the predefined fields in the Workato recipe:
Email
Phone number
Execution id
First name
Last name
Organization
Title
Address1
Address2
City
State/Region
Country
Zip
Source
Check the profile attributes in the Klaviyo UI after the successful execution of the campaign. To know more about Klaviyo profiles, see Understanding profiles in Klaviyo