Create the message content

The definition of the transactional message content is the same as for regular deliveries in Adobe Campaign. For instance, for an email delivery, you can create content in HTML or text format, add attachments or personalize the delivery object. For more on this, refer to the Email delivery chapter.

IMPORTANT
Images included in the message must be publicly accessible. Adobe Campaign does not provide any image upload mechanism for transactional messages.
Unlike in JSSP or webApp, <%= doesn’t have any default escaping.
In this case, you have to escape each data coming from the event properly. This escaping depends on how this field is used. For example, within a URL, please use encodeURIComponent. To be displayed in the HTML, you can use escapeXMLString.

Once you have defined your message content, you can integrate event information into the message body and personalize it. Event information is inserted into the body of the text thanks to personalization tags.

  • All the personalization fields are coming from the payload.
  • It is possible to reference one or several personalization blocks in a transactional message. The block content will be added to the delivery content during the publication to the execution instance.

To insert personalization tags into the body of an email message, apply the following steps:

  1. In the message template, click the tab that matches the email format (HTML or text).

  2. Enter the body of the message.

  3. In the body of the text, insert the tag using the Real time events > Event XML menu.

  4. Fill in the tag using the following syntax: element name.@attribute name as shown below.

  5. Save your content.

Your message is now ready to be tested.

recommendation-more-help