ePrivacy and GPDR Cookie Consent by Cookie Consent Skip to main content

Loader Klaviyo

This loader is used for importing contacts to Klaviyo EDM.

Data In/Data Out

Data In 

  • Loader requires export.ndjson file in directory /data/in/files/export.ndjson.
  • Each line of /data/in/files/export.ndjson must contain a JSON object with email.
  • Additional JSON properties are populated into Klaviyo custom properties.

Example data (formatted)


{
"email":"callum.dempsey@gmail.com",
"first_name":"Callum",
"last_name":"Dempsey",
"product":{
"product_name":"Race Car",
"product_price": "15",
"product_category":"Car miniatures"
}
}

{
"email":"jane@doe.com",
"first_name":"Jane",
"last_name":"Doe",
"product":{
"product_name":"Lego",
"product_price": "25"
}
}

{
"email":"antonio.rivera@gmail.io"com",
"first_name":"Antonio",
"last_name":"Rivera",
"phone_number":"+420731145567"
}

Data Out

N/A

Learn more: about folder structure in configuration here.

Parameters

image-1660047842826.22.57.png

API KEY (required)

Consumer (API) secret generated by Twitter in the registered application.

Contact list

(at least one Contact list ID or Name is required):

ID 

ID of contact list where contacts from export.ndjson file will be imported.

Name 

Name of newly contact list.

Methods

  • When contact_list_id is provided in configuration, the component will check contact_list_id existence and import all given contacts there.
  • When contact_list_id is unknown then contact_list_name must be provided in the configuration. The component will create a new Contact list with defined name and import all given contacts to a newly created Contact list.