Syntax

Platform.Function.TriggeredSend(triggeredSendKey, emailAddress, subscriberKey [, subscriberAttributes])
3–4 arguments

Parameters

Name Type Required Description
triggeredSendKey string Yes External key of the Triggered Send Definition
emailAddress string Yes Recipient email address
subscriberKey string Yes Subscriber key
subscriberAttributes object No Key-value object of personalization attributes

Examples

Platform.Function.TriggeredSend(
    "WelcomeEmail_TSD",
    "jane@example.com",
    "sub_12345",
    {
        FirstName: "Jane",
        PromoCode: "WELCOME20"
    }
);

For more control over triggered sends, including Data Extension attributes and publication lists, use the TriggeredSend Core library object.

See Also