🍎
Comprehensive Technical Tutorial for AEP
  • Comprehensive Technical Tutorial for Adobe Experience Platform
    • Architecture
    • Video Overview
  • 0 - Getting started
    • 0.0 Which environment do I use?
    • (Deprecated) Install the Chrome extension for the Experience League documentation
    • 0.1 Use Demo System Next to setup your Adobe Experience Platform Data Collection client property
    • 0.2 Create your Datastream
    • 0.3 Set up the website
    • 0.4 Set up the mobile app
    • 0.5 Ingest Data to AEP through the Website
    • 0.6 Ingest Data to AEP through the Mobile App
    • 0.7 Visualize your own Real-time Customer Profile - UI
    • 0.8 See your Real-time Customer Profile in action in the Call Center
    • 0.9 Set up and use the AEP API to visualize your Real-Time Customer Profile
    • 0.10 Install the Experience Platform Debugger Extension
    • 0.11 What if I want to demonstrate basic AEP concepts directly on a live website?
  • 1 - Adobe Experience Platform Data Collection and the Web SDK extension
    • 1.1 Understanding Adobe Experience Platform Data Collection
    • 1.2 Edge Network, Datastreams and Server Side Data Collection
    • 1.3 Introduction to Adobe Experience Platform Data Collection
    • 1.4 Client-side Web Data Collection
    • 1.5 Implement Adobe Analytics and Adobe Audience Manager
    • 1.6 Implement Adobe Target
    • 1.7 XDM Schema requirements in Adobe Experience Platform
    • Summary and Benefits
  • 2 - Data Ingestion
    • 2.1 Explore the Website
    • 2.2 Configure Schemas and Set Identifiers
    • 2.3 Configure Datasets
    • 2.4 Data Ingestion from Offline Sources
    • 2.5 Data Landing Zone
    • Summary and Benefits
  • 3 - Real-time Customer Profile
    • 3.1 Visit the website
    • 3.2 Visualize your own real-time customer profile - UI
    • 3.3 Visualize your own real-time customer profile - API
    • 3.4 Create a segment - UI
    • 3.5 Create a segment - API
    • 3.6 See your Real-time Customer Profile in action in the Call Center
    • Summary and benefits
  • 4 - Query Service
    • 4.0 Prerequisites
    • 4.1 Getting Started
    • 4.2 Using the Query Service
    • 4.3 Queries, queries, queries... and churn analysis
    • 4.4 Generate a dataset from a query
    • 4.5 Query Service and Power BI
    • 4.6 Query Service and Tableau
    • 4.7 Query Service API
    • Summary and benefits
  • 5 - Intelligent Services
    • 5.1 Customer AI - Data Preparation (Ingest)
    • 5.2 Customer AI - Create a New Instance (Configure)
    • 5.3 Customer AI - Scoring Dashboard and Segmentation (Predict & Take Action)
  • 6 - Real-time CDP - Build a segment and take action
    • 6.1 Create a segment
    • 6.2 Review how to configure DV360 Destination using Destinations
    • 6.3 Take Action: send your segment to DV360
    • 6.4 Take Action: send your segment to an S3-destination
    • 6.5 Take Action: send your segment to Adobe Target
    • 6.6 External Audiences
    • 6.7 Destinations SDK
    • Summary and benefits
  • 7 - Adobe Journey Optimizer: Orchestration
    • 7.1 Create your event
    • 7.2 Create your journey and email message
    • 7.3 Update your Data Collection property and test your journey
    • Summary and benefits
  • 8 - Adobe Journey Optimizer: External data sources and custom actions
    • 8.1 Define an event
    • 8.2 Define an external data source
    • 8.3 Define a custom action
    • 8.4 Create your journey and messages
    • 8.5 Trigger your journey
    • Summary and benefits
  • 9 - Adobe Journey Optimizer: Offer Decisioning
    • 9.1 Offer Decisioning 101
    • 9.2 Configure your offers and decision
    • 9.3 Prepare your Data Collection Client property and Web SDK setup for Offer Decisioning
    • 9.4 Combine Adobe Target and Offer Decisioning
    • 9.5 Use your decision in an email
    • 9.6 Test your decision using the API
    • Summary and benefits
  • 10 - Adobe Journey Optimizer: Event-based Journeys
    • 10.1 Configure an event-based journey - Order Confirmation
    • 10.2 Configure a batch-based newsletter journey
    • 10.3 Apply personalization in an email message
    • 10.4 Setup and use push notifications
    • 10.5 Create a business event journey
    • Summary and benefits
  • 11 - Customer Journey Analytics - Build a dashboard using Analysis Workspace on top of Adobe Experie
    • 11.1 Customer Journey Analytics 101
    • 11.2 Connect Adobe Experience Platform Data Sets in Customer Journey Analytics
    • 11.3 Create a Data View
    • 11.4 Data Preparation in Customer Journey Analytics
    • 11.5 Visualization using Customer Journey Analytics
    • Summary and benefits
  • 12 - Ingest & Analyze Google Analytics data in Adobe Experience Platform with the BigQuery Source Co
    • 12.1 Create your Google Cloud Platform Account
    • 12.2 Create your first query in BigQuery
    • 12.3 Connect GCP & BigQuery to Adobe Experience Platform
    • 12.4 Load data from BigQuery into Adobe Experience Platform
    • 12.5 Analyze Google Analytics Data using Customer Journey Analytics
    • Summary and benefits
  • 13 - Real-Time CDP: Segment Activation to Microsoft Azure Event Hub
    • 13.1 Configure your Microsoft Azure EventHub environment
    • 13.2 Configure your Azure Event Hub Destination in Adobe Experience Platform
    • 13.3 Create a segment
    • 13.4 Activate segment
    • 13.5 Create your Microsoft Azure Project
    • 13.6 End-to-end scenario
    • Summary and benefits
  • 14 - Real-Time CDP Connections: Event Forwarding
    • 14.1 Create a Data Collection Event Forwarding property
    • 14.2 Update your Datastream to make data available to your Data Collection Event Forwarding property
    • 14.3 Create and configure a custom webhook
    • 14.4 Create and configure a Google Cloud Function
    • 14.5 Forward events towards the AWS ecosystem
    • Summary and benefits
  • 15 - Stream data from Apache Kafka into Adobe Experience Platform
    • 15.1 Introduction to Apache Kafka
    • 15.2 Install and configure your Kafka cluster
    • 15.3 Configure HTTP API Streaming endpoint in Adobe Experience Platform
    • 15.4 Install and configure Kafka Connect and the Adobe Experience Platform Sink Connector
    • Summary and benefits
Powered by GitBook
On this page
  • 10.5.1 Create a business event
  • 10.5.2 Create a business event journey
  • 10.5.3 Test your business event journey
  1. 10 - Adobe Journey Optimizer: Event-based Journeys

10.5 Create a business event journey

This section explains how to use the business events capability in order to perform an "item back in stock" use case

Previous10.4 Setup and use push notificationsNextSummary and benefits

Last updated 2 years ago

Login to Adobe Journey Optimizer by going to . Click Journey Optimizer.

You'll be redirected to the Home view in Journey Optimizer. First, make sure you're using the correct sandbox. The sandbox to use is called --aepSandboxId--. To change from one sandbox to another, click on PRODUCTION Prod (VA7) and select the sandbox from the list. In this example, the sandbox is named AEP Enablement FY22. You'll then be in the Home view of your sandbox --aepSandboxId--.

10.5.1 Create a business event

In the left menu, click Configurations. Click on the Manage button inside the Events card.

Business events are a new type of event you can create inside Journey Optimizer. Unlike the Unitary events that you have created in previous modules, the business events are not triggered by the customer but by the organization. You'll now create your business event.

Click Create Event.

Enter the following values in the Event creation form:

  • Name: --demoProfileLdap--ItemBackInStock. For instance: vangeluwItemBackInStock

  • Description: This event is triggered when a product is back in stock

  • Type: select Business in the drop down

For the Schema, select Demo System - Event Schema for JO Business Events (Global v1.1) v.1. You now need to select the fields in the schema that you require for our use case.

Follow these steps:

Click the pencil icon on the field where it says 1 field selected.

Select all available fields in the schema, then click OK.

For the condition: you need to specify which records in this schema will be triggering the business event.

Follow these steps:

Click the pencil icon on the field where it says Add a condition.

On the left-hand side, expand the --aepTenantId-- object, expand the object joBusinessEvents and drag and drop the field eventName onto the canvas.

For the field eventName, enter the following value: --demoProfileLdap--ItemBackInStock. For instance: vangeluwItemBackInStock. Click OK.

Click OK.

Finally your event creation form should look like this. Click Save to save your business event.

10.5.2 Create a business event journey

You can now leverage this business event and the message inside a journey. Go to Journeys. Click Create Journey.

On the right-hand side you will see a form where you need to specify the journey name and description. Enter the following values:

  • Name: --demoProfileLdap-- - Item back in stock journey. For instance: vangeluw - Item back in stock journey

  • Description: This journey sends an SMS when an item is back in stock to visitor who have shown an interest.

Click OK.

In the left menu, under Events, search for your ldap. You'll find the previously created business event --demoProfileLdap--ItemBackInStock. Drag and drop this event onto the canvas as this will be the starting point of the journey.

As you can see, a Read Segment activity has automatically been added to the canvas. This is because the business events only send a trigger for the journey to read a specific segment, which will then retrieve the list of profiles for that journey.

Click the Read Segment activity. The Read Segment configuration expects you to select the segment that you want to notify of the business event that just happened. Click the Select a segment field.

Next, click Ok.

The next step is to drag and drop the action that we want to perform in this journey. Select the action SMS, then drag and drop it after the condition you just added.

Set the Category to Marketing and select a sms surface that enables you to send sms. In this case, the email surface to select is SMS.

The next step is to create your message. To do that, click Edit content.

You'll now see the message dashboard, where you can configure the text of your SMS. Click the Compose message area to create your message.

Enter the following text: Hi {{profile.person.name.firstName}}, the Proteus Fitness Jackshirt is back in stock at Luma.. Click Save.

Go back to the message dashboard by clicking the arrow next to the subject line text in the top-left corner.

You'll now see your completed SMS action. Click Ok.

Your journey is now ready to be published. Click Publish.

Click Publish again.

Your journey is now published, you can now test it!

10.5.3 Test your business event journey

You'll now simulate the re-stock of a product by ingesting a new event against the Demo System - Event Schema for JO Business Events (Global v1.1) v.1 using Postman.

In the left menu, click Sources and then click on the Accounts tab.

On the Accounts tab, you'll find the account named Journey Optimizer Business Events. Click it to open it.

This account only has one dataflow, click on the dataflow name to select it.

Click Copy schema payload in the right menu. This option copies the entire curl command to insert a record against the Demo System - Event Schema for JO Business Events (Global v1.1) v.1 to your clipboard.

Paste the Curl command inside a text editor

Let's have a closer look to this request,

  • The POST request is sent to the DCS Inlet ID

  • The request references the schema, the dataset and the Organization ID.

  • Finally it contains the xdmEntity node which represents the data that we want to create inside the dataset.

You now need to replace the following xdmEntity line...

"xdmEntity": {
  "_experienceplatform": {
    "joBusinessEvents": {
      "eventDescription": "string",
      "eventName": "string",
      "stockEventId": "string"
    }
  },
  "_id": "/uri-reference",
  "eventType": "advertising.completes",
  "timestamp": "2018-11-12T20:20:39+00:00"
}

...by this line, make sure to verify the field eventName as it should say --demoProfileLdap--ItemBackInStock, which represents the condition you have specified in your business event to trigger your journey.

"xdmEntity": {
  "_experienceplatform": {
    "joBusinessEvents": {
      "eventDescription": "Product Proteus Fitness Jackshirt is back in stock",
      "eventName": "--demoProfileLdap--ItemBackInStock",
      "stockEventId": "1"
    }
  },
  "_id": "/uri-reference",
  "eventType": "productBackInStock",
  "timestamp": "2021-04-19T15:25:39+00:00"
}

The updated curl command should look like this:

Select all of it and copy it to your clipboard.

Open Postman. On the left-hand side of Postman, click Import.

Select the Raw text tab and paste the command previously copied here. Click Continue.

Click Import.

Postman has automatically converted the curl command into a REST command ready to be triggered, simply press the Send button to request the creation of that record inside the dataset.

Verify that your request has been successfully received. Look for a 200 OK status in postman.

The SMS may take a couple of minutes to arrive on your mobile phone. If it does not, your Interest in Proteus Fitness Jackshirt segment may not contain a profile with a correct mobile phone. If so, go on the Luma website, visit the Proteus Fitness Jackshirt product and register while making sure you provide the correct mobile phone number.

You have now finished this exercise.

In the Choose a segment popup, search for your ldap and select the segment you created in named --demoProfileLdap-- - Interest in PROTEUS FITNESS JACKSHIRT. for example: vangeluw - Interest in PROTEUS FITNESS JACKSHIRT. Click Save.

Module 6 - Real-time CDP - Build a segment and take action
Adobe Experience Cloud
ACOP
ACOP
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Demo
ACOP
ACOP
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer
Journey Optimizer