Defining the event attributes
In the Fields section, define the attributes that will be integrated into the event content and will then be able to be used to personalize the transactional message.
The steps for adding and modifying fields are the same as for custom resources.
Defining data collections
You can add to the event content a collection of elements, each element itself including several attributes.
This collection can be used in a transactional email to add product listings to the content of the message, for example a list of products - with the price, reference number, quantity, etc. for each product of the list.
-
In the Collections section, click the Create element button.
-
Add a label and an ID for your collection.
-
Add all the fields you want to display in the transactional message for each product of the list.
In this example, we added the following fields:
-
The Enrichment tab allows you to enrich each item of the collection. This will enable you to personalize the elements of the corresponding product listing with information from the Adobe Campaign database or from other resources that you created.
Once the event and the message are published, you will be able to use this collection in your transactional message.
Here is the API preview for this example:
Related topics: