---
schema_version: "1"
id: 95d75cb835de17ac5a0aeeb9b05423f7c317ab0976018dcbee7d8172fe07ddc0
title: Triggered Send Functions
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_triggeredSendFunctions.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_triggeredSendFunctions.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f76f82573c18fef4abe2456f914c1402b3096081aaf47f9b960d820601aad0b3
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Triggered Send Functions

These functions allow access to the triggered email feature via server-side JavaScript.

## Load

In your server-side JavaScript code, first load the core library using this syntax:

```
Platform.Load("core","1");
```

Use this sample code as a model to construct your own server-side JavaScript code. You can’t use the associated functions in the context of an email message or email preview.

## Initialization

To use an object in conjunction with the Triggered Send Server-side JavaScript functions, you must first initialize that object. For example, if you plan to send to a triggered send using the external key value of "support", use this sample code to initialize that triggered send:

```
var triggeredSend = TriggeredSend.Init("support");
```

Once you initialize an object, you can use that object in conjunction with the associated functions.
