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

Loader SmartEmailing Trigger

The SmartEmailing Trigger loader reads emails, events, and payload from triggers.ndjson and triggers events, including payload in SmartEmailing automation.

Data In/Data Out 

Data In

Loader requires input file named: /data/in/files/triggers.ndjson 


Each line:

  •  Must contain a json object with email and event
  •  Can contain payload.

Example (in triggers.ndjson file): 

{"email":"we.are@meiro.io","event":"campaign1","payload":{"cart":"empty"}}

{"email":"you.are@meiro.io","event":"campaign2"}

{"email":"they.are@meiro.io","event":"campaign1","payload":{"some":{"nested":{"data":"values"}}}}

Data Out

N/A

Learn more: about the folder structure here.

Parameters

smartemailing trigger.png

API Credentials User Name (required)

Account User Name.

API Credentials Password/API Key (required)

Account API Key. 


You can create an API key in your SmartEmailing account by going to My Account (Muj Ucet) -> API Keys (API Klice) -> Create an API Key (Vytvorit API Klic)