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": "marek", "last_name": "langer", “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": "michal.tomcanyi@meiro.io", "Michal": "Tomcanyi", "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 twitterTwitter 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.