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", "last_name": "Bar", "custom":  {"some": {"nested": "data"}}}

{"email": "jane@doe.com", "first_name": "Jane", "last_name": "Doe"}

{"email": "joe@doe.com", "age": "45"}

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 list id is provided in configuration. 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 configuration. Component will create new Contact list with defined name and import all given contacts to newly created Contact list.