To send a transactional message with Adobe Campaign, your first need to describe the structure of the event data.
The configuration can vary depending on the type of transactional message you want to send. For more on this, refer to Transactional event specific configurations
Once the event is published, the corresponding transactional message is automatically created. For more on transactional messaging, refer to this page.
-
Event-based transactional messages target data contained in the event itself, whereas profile-based transactional messages target data contained in the Adobe Campaign database. For more on this, refer to Transactional event specific configurations.
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.

Observação:
If you want to create a multilingual transactional message, define an additional event attribute with the AC_language ID. This only applies to event transactional messages. After the event is published, the steps for editing the content of a multilingual transactional message are the same as for a multilingual standard email. See Creating a multilingual email.
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.
Once the event and the message are published, you will be able to use this collection in your transactional message.

Enriching the transactional message content with information from the Adobe Campaign database enables you to personalize your messages. From the last name or CRM ID of each of your recipients, for example, you can recover data such as their address or date of birth or any other custom field added in the Profile table, in order to personalize the information that is sent to them.
It is possible to enrich the transactional message content with information from extended Profile or Service resources.
This information can also be stored in new resources. In that case, the resource must be linked to the Profile or Service resources either directly, or via another table. For example, in the configuration below, it is possible to enrich the transactional message content with information from the Product resource like the product category or ID, if the Product resource is linked to the Profile resource.

For more on resource creation and publishing, refer to this page.
-
Use the Create element button to link a field from the selected resource to one of the fields you previously added to the event (see Defining the event attributes).
Once the event and the message are published, the link with the Profile resource will allow you to enrich the content of the transactional message.
-
Click the API preview button to see a simulation of the REST API that will be used by your website developer before it is published. Once the event is published, this button also allows you to see a preview of the API in production. See Integrating the triggering of the event in a website.
Observação:
The REST API varies according to the selected channel and the selected targeting dimension. For more details on the various configurations, refer to Transactional event specific configurations.
Observação:
Each time you modify the event, you must click Publish again to generate the updated REST API that will be used by your website developer.
Once the event has been published, a transactional message linked to the new event is automatically created. In order for this event to trigger sending a transactional message, you must modify and publish the message that was just created. See Event transactional messages.
You can access the transactional message that was created directly from the link in the left-hand side area.

You also have to integrate this trigger event into your website. See Integrating the triggering of the event in a website.
The Unpublish button lets you cancel the publication of the event, which deletes from the REST API the resource corresponding to the event that you previously created. Now, even if the event is triggered through your website, the corresponding messages are not sent anymore and they are not stored in the database.

Observação:
If you have already published the corresponding transactional message, the transactional message publication is also canceled. See Unpublishing a transactional message.
Once you have created an event, you will have to integrate the triggering of this event into your website.
In the example described in the Transactional messaging operating principle section, you want a "Cart abandonment" event to be triggered whenever one of your clients leaves your website before purchasing the products in their cart. To do this, your website web developer must use the Adobe Campaign Standard REST API.
See the REST API Documentation .
Transactional event configuration may vary depending on the type of transactional message you want to send (event or profile), and the channel that will be used.
The following sections detail what specific configuration should be set according to the desired transactional message. For more on the general steps to configure an event, refer to Creating an event.
To send an event-based transactional message, you first need to create and configure an event targeting the data contained in the event itself.
-
When creating the event configuration, select the Real-time event targeting dimension (see Creating an event).
-
Add fields to the event, in order to be able to personalize the transactional message (see Defining the event attributes).
-
Enrich the transactional message content if you want to use additional information from the Adobe Campaign database (see Enriching the transactional message content).
Observação:
Event-based transactional messaging is supposed to use only the data that are in the sent event to define the recipient and the message content personalization. However, you can enrich the content of your transactional message using information from the Adobe Campaign database.
-
Preview and publish the event (see Previewing and publishing the event).
When previewing the event, the REST API contains an attribute specifying the email address or mobile phone according to the selected channel.
Once the event has been published, a transactional message linked to the new event is automatically created. In order for the event to trigger sending a transactional message, you must modify and publish the message that was just created, see Event transactional messages.
-
Integrate the event into your website (see Integrating the triggering of the event in a website).
To send a profile-based transactional message, you first need to create and configure an event targeting data contained in the Adobe Campaign database.
-
When creating the event configuration, select the Profile event targeting dimension (see Creating an event).
-
Add fields to the event, in order to be able to personalize the transactional message (see Defining the event attributes). You must add at least one field to create an enrichment. You do not need to create other fields such as First name and Last name as you will be able to use personalization fields from the Adobe Campaign database.
-
Create an enrichment in order to link the event to the Profile resource (see Enriching the transactional message content). Creating an enrichment is mandatory when using a Profile targeting dimension.
-
Preview and publish the event (see Previewing and publishing the event).
When previewing the event, the REST API does not contain an attribute specifying the email address or the mobile phone as it will be retrieved from the Profile resource.
Once the event has been published, a transactional message linked to the new event is automatically created. In order for the event to trigger sending a transactional message, you must modify and publish the message that was just created, see Sending a profile transactional message.
-
Integrate the event into your website (see Integrating the triggering of the event in a website).
To be able to send transactional push notifications, you need to configure Adobe Campaign accordingly. See Push configuration.
To send an anonymous transactional push notification to all users who have opted in to receive notifications from your mobile application, you first need to create and configure an event targeting the data contained in the event itself. The corresponding steps are presented below.
-
A mobile application name (one for all devices - Android and iOS). This is the ID of the mobile application configured in Adobe Campaign that will be used to receive push notifications on the users' devices. For more on this, refer to this page
-
When creating the event configuration, select the Mobile application channel and the Real-time event targeting dimension (see Creating an event).
-
Add fields to the event, in order to be able to personalize the transactional message (see Defining the event attributes).
-
Enrich the transactional message content if you want to use additional information from Adobe Campaign database (see Enriching the transactional message content).
Observação:
Event-based transactional messaging is supposed to use only the data that are in the sent event to define the recipient and the message content personalization. However, you can enrich the content of your transactional message using information from the Adobe Campaign database.
-
Preview and publish the event (see Previewing and publishing the event).
When previewing the event, the REST API contains the "registrationToken", "application" and "pushPlatform" attributes that will be used to target the delivery.
Once the event has been published, a transactional push notification linked to the new event is automatically created. To modify and publish the message that was just created, see Sending a transactional push notification targeting an event.
-
Integrate the event into your website (see Integrating the triggering of the event in a website).
To send a transactional push notification to the Adobe Campaign profiles who have subscribed to your mobile application, you first need to create and configure an event targeting the Adobe Campaign database.
-
When creating the event configuration, select the Mobile application channel and the Profile targeting dimension (see Creating an event).
By default, the transactional push notification will be sent to all mobile applications to which the recipients subscribed. To send the push notification to a specific mobile application, select it in the list. The other mobile applications will be targeted by the message but will be excluded from the sending.
-
Add fields to the event, if you want to personalize the transactional message (see Defining the event attributes).
Observação:
You must add at least one field to create an enrichment. You do not need to create other fields such as First name and Last name as you will be able to use personalization fields from the Adobe Campaign database.
-
Create an enrichment in order to link the event to the Profile resource (see Enriching the transactional message content). Creating an enrichment is mandatory when using a Profile targeting dimension.
-
Preview and publish the event (see Previewing and publishing the event).
When previewing the event, the REST API does not contain an attribute specifying the registration token, the application name and the push platform as they will be retrieved from the Profile resource.
Once the event has been published, a transactional push notification linked to the new event is automatically created. To modify and publish the message that was just created, see Sending a transactional push notification targeting a profile.
-
Integrate the event into your website (see Integrating the triggering of the event in a website).
A follow-up message is a predefined marketing delivery template that can be used in a workflow to send messages to the recipients of a specific transactional message. For more on this, see Follow-up messages.
-
Use the same event configuration that you created to send an event transactional message. See Event-based transactional messages.
-
Preview and publish the event (see Previewing and publishing the event).
Once the event has been published, a transactional message and a follow-up delivery template linked to the new event are automatically created. For more on using follow-up messages, see Sending a follow-up message.
In this example, we want to configure an event in order to send confirmation messages after each purchase on our website with the following prerequisites:
As we want to identify our client via his CRM ID, first make sure that the Profile resource has been extended with this new field.
In the same way, a custom resource corresponding to purchases must have been created and published, and must be linked to the Profile resource. This way, you will be able to retrieve information from this resource to enrich the message content.
For more on resource creation and publishing, refer to this page.
-
Create a new event using the Email channel and the Profile targeting dimension (see Creating an event).
-
Define the attributes that will be available to personalize the transactional message. In our case, add the "CRM ID" and the "Product identifier" fields (see Defining the event attributes).
-
To enrich the message content with information regarding the client's previous purchases, create an enrichment targeting the Purchase resource (see Enriching the transactional message content).
-
Preview and publish the event (see Previewing and publishing the event).
-
Integrate the event in your website (see Integrating the triggering of the event in a website).