Skip to content

Instantly share code, notes, and snippets.

Last active February 10, 2020 16:52
What would you like to do?
<script runat="server">
Platform.Load("Core", "1")
var prox = new Script.Util.WSProxy();
var tsExKey = 'External Key'; //pass Triggered Send External Key
var EmailAddress = ''; //pass Email Address
var SubscriberKey = ''; //pass Subscriber Key
var tsDef = {
TriggeredSendDefinition: {
CustomerKey: tsExKey
Subscribers: [{
EmailAddress: EmailAddress,
SubscriberKey: SubscriberKey
var res = prox.createItem('TriggeredSend', tsDef);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment