Pass Content to a Triggered Send Message at Send Time

Pass content to a triggered send message at send time so that the triggered send can manipulate that content. Construct a triggered send with variables and pass the content to those variables at send time. In this example, the variable contains information in an XML format so that the email message can manipulate this data in the email message.

Use the sample code below as a model for your own call. This sample code demonstrates both the triggered send and the AMPscript within the triggered send.

You must use an existing profile attribute or data extension field as a container for the passed-in XML. In this example, the AMPscript pulls information from an attribute named XML previously created by the owner of the account.

This AMPscript takes the passed-in XML, assigns different information to the appropriate variables, and displays the information in the triggered send.