Send a message with Campaign v7/v8 campaign-v7-v8-use-case

This use case explains all the steps required to send an email using the integration with Adobe Campaign v7 and Adobe Campaign v8.

NOTE
In order to use this integration, you must have Campaign v7/v8 build 9125 or higher.

First, create a transactional email template in Campaign. Then, in Journey Optimizer, create the event, action, and design the journey.

To learn more about the Campaign integration, refer to these pages:

Adobe Campaign

Your Campaign instance must be provisioned for this integration. The Transactional Messaging feature must be configured.

  1. Log in to your Campaign control instance.

  2. Under Administration > Platform > Enumerations, select the Event type (eventType) enumeration. Create a new event type (“journey-event”, in our example). Use the internal name of the event type when writing the JSON file later.

    Configure an event in Adobe Journey Optimizer with schema and field selection

  3. Disconnect and reconnect to the instance for the creation to take effect.

  4. Under Message Center > Transactional message templates, create a new email template based on the event type previously created.

    Event configuration showing namespace and profile identifier settings

  5. Design your template. In this example, personalization is applied to the profile’s first name and the order number. The first name is in the Adobe Experience Platform data source, and the order number is a field from the Journey Optimizer event. Ensure you use the correct field names in Campaign.

    Event payload preview showing JSON structure with profile and event data

  6. Publish your transactional template.

    Event copy button to copy payload ID for API integration

  7. Write the JSON payload corresponding to the template.

{
     "channel": "email",
     "eventType": "journey-event",
     "email": "Email address",
     "ctx": {
          "firstName": "First name", "purchaseOrderNumber": "Purchase order number"
     }
}
  • For the channel, you need to type “email”.
  • For the eventType, use the internal name of the event type created previously.
  • The email address will be a variable, so you can type any label.
  • Under ctx, the personalization fields are also variables.

Journey Optimizer

  1. Create an event. Include the “purchaseOrderNumber” field.

    Custom action configuration screen for Adobe Campaign Classic integration

  2. Create an action in Journey Optimizer corresponding to your Campaign template. In the Action type drop-down, select Adobe Campaign Classic.

    Action type selection showing Adobe Campaign Classic option

  3. Click the Payload field and paste the JSON created earlier.

    Campaign account selection dropdown for action integration

  4. For the email address and the two personalization fields, change Constant to Variable.

    Action payload configuration with field mapping for Campaign integration

  5. Now create a new journey and start with the event previously created.

    Journey canvas with event and Campaign action configured

  6. Add the action and map each field to the correct field in Journey Optimizer.

    Action parameter mapping with expression editor for dynamic values

  7. Test your journey.

    Complete journey flow with event trigger and Campaign action execution

  8. You can now publish your journey.

recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76