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.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)

API keys generated in Klaviyo.

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 the contact list that will be created.

BEHAVIORSBehaviour

  • 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 a defined Contact list Name and import all given contacts to a newly created Contact list.