Design transactional message templates creating-the-message-template
To make sure each event can be changed into a personalized message, you need to create a message template to match each event type.
Transactional message templates contain the necessary information for personalizing the transactional message. You can also use templates to test the message preview and send proofs using seed addresses before delivering to the final target. For more on this, see Test transactional message templates.
Create the message template creating-message-template
-
Go to the Message Center >Transactional message templates folder in the ÃÛ¶¹ÊÓƵ Campaign tree.
-
In the list of transactional message templates, right-click and select New in the drop-down menu or click the New button above the list of transactional message templates.
-
In the delivery window, select the delivery template suitable for the channel you want to use.
-
Change its label if necessary.
-
Select the type of event that matches the message you want to send.
Event types need to be created beforehand in the console. For more on this, refer to Create event types.
note important IMPORTANT An event type cannot be linked to more than one template. -
Enter a nature and a description, then click Continue to create the message body (refer to Create the message content).
Create the message content creating-message-content
The definition of the transactional message content is the same as for regular deliveries in ÃÛ¶¹ÊÓƵ 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.
Unlike in JSSP or webApp,
<%=
doesn’t have any default escaping.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:
-
In the message template, click the tab that matches the email format (HTML or text).
-
Enter the body of the message.
-
In the body of the text, insert the tag using the Real time events > Event XML menu.
-
Fill in the tag using the following syntax: element name.@attribute name as shown below.
-
Save your content.
Your message is now ready to be tested.