-
-
Save michaeliacono6/d96c4a00e684edc30f4dbe1f64f27bcd to your computer and use it in GitHub Desktop.
Template to bulk email customers using CSV Upload Tool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "Template CSV Upload. Information needs to be changed to fit your organization. For assistance feel free to reach out to support@kustomer.com ", | |
"name": "csv-upload-template", | |
"steps": [ | |
{ | |
"transitions": [ | |
{ | |
"target": "RML_0U4nt", | |
"condition": { | |
"op": "exists", | |
"values": [ | |
"/#steps.DBcc5hKuK.id", | |
"" | |
] | |
}, | |
"meta": { | |
"name": "Customer Exists" | |
} | |
}, | |
{ | |
"target": "PvvXWkGiW", | |
"condition": { | |
"op": "exists", | |
"values": [ | |
"true", | |
"" | |
] | |
}, | |
"meta": { | |
"name": "Customer Does Not Exist" | |
} | |
} | |
], | |
"errorCases": [], | |
"id": "DBcc5hKuK", | |
"action": "kustomer.customer.find-by-email", | |
"params": { | |
"email": "/#steps.1.attributes.data.upload.EMAILCOLUMNAME" | |
}, | |
"appVersion": "kustomer-^1.9.0" | |
}, | |
{ | |
"transitions": [ | |
{ | |
"target": "lVAnHMQtJ", | |
"condition": { | |
"op": "true", | |
"values": [ | |
true | |
] | |
} | |
} | |
], | |
"errorCases": [], | |
"id": "RML_0U4nt", | |
"action": "kustomer.conversation.create", | |
"params": { | |
"customer": "/#steps.DBcc5hKuK.id" | |
}, | |
"appVersion": "kustomer-^1.9.0" | |
}, | |
{ | |
"transitions": [], | |
"errorCases": [], | |
"id": "lVAnHMQtJ", | |
"action": "kustomer.app.postmark.message.send", | |
"params": { | |
"customer": "/#steps.DBcc5hKuK.id", | |
"conversation": "/#steps.RML_0U4nt.id", | |
"from": "support@YOURORGNAME.mail.kustomerapp.com", | |
"to": [ | |
"/#steps.1.attributes.data.upload.EMAILCOLUMNAME" | |
], | |
"template": "YOURTEMPLATEHERE", | |
"body": "IF YOU DON'T WANT FORMATTING PUT BODY HERE, ELSE CREATE TEMPLATE", | |
"subject": "YOURSUBJECTHERE" | |
}, | |
"appVersion": "postmark-^1.1.8" | |
}, | |
{ | |
"transitions": [ | |
{ | |
"target": "h0nsJHsVl", | |
"condition": { | |
"op": "true", | |
"values": [ | |
true | |
] | |
} | |
} | |
], | |
"errorCases": [], | |
"id": "PvvXWkGiW", | |
"action": "kustomer.customer.create", | |
"params": { | |
"name": "/#steps.1.attributes.data.upload.NAMECOLUMNAME", | |
"email": "/#steps.1.attributes.data.upload.EMAILCOLUMNAME" | |
}, | |
"appVersion": "kustomer-^1.9.0" | |
}, | |
{ | |
"transitions": [ | |
{ | |
"target": "_yvCt9VPz", | |
"condition": { | |
"op": "true", | |
"values": [ | |
true | |
] | |
} | |
} | |
], | |
"errorCases": [], | |
"id": "h0nsJHsVl", | |
"action": "kustomer.conversation.create", | |
"params": { | |
"customer": "/#steps.DBcc5hKuK.id" | |
}, | |
"appVersion": "kustomer-^1.9.0" | |
}, | |
{ | |
"transitions": [], | |
"errorCases": [], | |
"id": "_yvCt9VPz", | |
"action": "kustomer.app.postmark.message.send", | |
"params": { | |
"customer": "/#steps.PvvXWkGiW.id", | |
"conversation": "/#steps.h0nsJHsVl.id", | |
"from": "support@YOURORGNAME.mail.kustomerapp.com", | |
"to": [ | |
"/#steps.1.attributes.data.upload.EMAILCOLUMNAME" | |
], | |
"template": "YOURTEMPLATEHERE", | |
"subject": "YOURSUBJECTHERE", | |
"body": "IF YOU DON'T WANT FORMATTING PUT BODY HERE, ELSE CREATE TEMPLATE" | |
}, | |
"appVersion": "postmark-^1.1.8" | |
} | |
], | |
"trigger": { | |
"transitions": [ | |
{ | |
"target": "DBcc5hKuK", | |
"condition": { | |
"op": "true", | |
"values": [ | |
true | |
] | |
} | |
} | |
], | |
"eventName": "kustomer.hooks.form.6176e2b22b482a001a36e62f.receive", | |
"id": "1", | |
"appVersion": "hooks-^1.0.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment