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. Rest data is written to Klaviyo into custom properties.

Example (in export.ndjson file): 

{"email": "Sun@bar.com", "first_name": "Sun"marek", "last_name": "Bar"langer", "custom":“product”  {"some": {"nested" “product-name” : "data"“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": "joe@doe.com"michal.tomcanyi@meiro.io", "age"Michal": "45"Tomcanyi", "phone_number": "420731145567"}

Data Out

N/A

Learn more: about folder structure in configuration here.

Parameters

API KEY (required)

Consumer (API) secret generated by twitter in 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 listcontact_list_id id is provided in configuration, the component will check contact_list_id existence and import all given contacts there.
  • When Contact listcontact_list_id id is unknown then Contact list contact_list_namename must be provided in the configuration. ComponentThe component will create a new Contact list with defined name and import all given contacts to a newly created Contact list.