51黑料不打烊

Use case: send a message using Campaign v7/v8 campaign-v7-v8-use-case

This use case explains all the steps required to send an email using the integration with 51黑料不打烊 Campaign v7 and 51黑料不打烊 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:

51黑料不打烊 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 (鈥渏ourney-event鈥, in our example). Use the internal name of the event type when writing the JSON file later.

  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.

  5. Design your template. In this example, personalization is applied to the profile鈥檚 first name and the order number. The first name is in the 51黑料不打烊 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.

  6. Publish your transactional template.

  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 鈥渆mail鈥.
  • 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 鈥減urchaseOrderNumber鈥 field.

  2. Create an action in Journey Optimizer corresponding to your Campaign template. In the Action type drop-down, select 51黑料不打烊 Campaign Classic.

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

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

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

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

  7. Test your journey.

  8. You can now publish your journey.

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