Creating a journey
In this exercise, you'll be creating and testing a journey using the segment you've created in the previous exercise.
Journey overview
To get an overview of all journeys in Adobe Experience Platform:
In the menu on the left side, click on Journeys. You will see an overview with all existing journeys.
Creating a journey
We'll be creating a journey that will send a push message to customers when their flight is departing in the next 24 hours. This will be encouraged to check in.
Click on Create Journey. You'll be taken to the Journey canvas with the journey properties opened.
Set the name to
[your name] - Check in journey for loyalty members
.For the other properties we'll keep the default values.
Your screen should look like the image below. Click Ok to save and close the properties.
You're now in the journey canvas. This is where you'll be creating your journey's logic. In the left menu you have activities. There's three types of activities:
Events are the triggers that can start or continue your journey.
Orchestration is the logic of your journey. It looks at conditions, segments, but can also be used to make your workflow wait or end.
Actions are the results of your journey. This can be messages, profiles updates or API calls.
Segment qualification
We're starting our workflow off with a segment entry trigger. From the events tab, choose Segment qualification and drag it onto the canvas.
Click on the activity to open the detailed view.
Set the label to
Flight in next 24 hours
.Click on the pencil icon next to Select a segment to open a window, select your segment from the list and click Save. If you didn't create a segment, you can use
Onboarding - Flight Departure in next 24 hours
.Set the behaviour to
Enter
. This means the journey will start as soon as the customer enters the segment.Set the namespace to
Email(Email)
.Your screen should look like the image below. Click Ok.
Condition - Loyalty Status
From the orchestration tab, choose Condition and drag it onto the + sign when mouse overing the previous branch on the canvas.
Click on the activity to open the detailed view.
Set the label to
Loyalty Status
.Click on Path1 and change the label to
Bronze and Silver
.Click on the pencil icon next to Add an expression to open a window.
On the left side, unfold Segments, select the bronze one “WKND – Bronze Fly Club Members” and drag it to the right side.
Click the toggle (if not done already on), it will switch to True.
Again, on the left side, drag another segment “WKND – Silver Fly Club Members” to the right side, underneath the condition you just created.
Click the toggle (if not already on), it will switch to True.
Click on the
AND
dropdown and change this toOR
.Click Ok to save the conditions. Your expression should look like in the screenshot below:
Click +Add a path twice to add two new branches to the Journey
Set the labels to
Gold
andPlatinum.
Open the Expression editor for the Gold path.
On the left side, unfold Segments, find “WKND – Gold Fly Club Members”, and drag it to the right side.
Click the toggle (if not already on), it will switch to True.
Again, on the left side, drag segment “WKND – Platinum Fly Club Members” to the right side.
Click the toggle (if not already on), it will switch to True.
Check Show path for other cases than one(s) above and set the label to “Not a loyalty member”.
Your screen should look like the image below. Click Ok.
Custom Action message - Time to check in
Custom actions enable you to configure connection of a third-party system to send messages or API calls. An action can be configured with any service from any provider that can be called through a REST API with a JSON-formatted payload.
In this exercise, we have pre-created a Custom Action that sends messages to a Slack channel. You will reuse this in your Journey.
From the actions tab, choose TextSlack and drag it onto the empty circle on the canvas along the
Bronze and Silver
path.Click on the activity to open the detailed view.
Set the Label to
Check in message
.Open the Action parameters by clicking the pencil icon. Here we will define the text that will be posted on Slack.
Click to open Advanced mode.
Input the following expression:
Do the same for the
Gold
pathFrom the actions tab, choose TextSlack and drag it onto the
Gold
path.Set the Label to
Check in message
.Open the Action parameters by clicking the pencil icon.
Click to open Advanced mode.
Input the following expression:
Do the same for the
Platinum
pathFrom the actions tab, choose TextSlack and drag it onto the
Platinum
path.Set the Label to
Check in message
.Open the Action parameters by clicking the pencil icon.
Click to open Advanced mode.
Input the following expression:
Your Journey should now look something like this:
Push Message - Check In
From the actions tab, choose Push and drag it after the TextSlack along the
Bronze and Silver
path.Click on the activity to open the detailed view.
Set the label to
Check in Push
.Set the push category to Marketing.
Set the push surface to
Push
.Click on Edit content to start designing your push message.
Set the title to
"Time to check in for your flight"
.Click on the person icon next to the title input box to open the message editor. You can now select profile attributes for personalisation in the message. From the left menu, with profile attributes selected, search for
First Name or other attribute
.Click the + icon to add the personalised field to your expression. Your expression should read:
{{profile.person.name.firstName}} Time to check in for your flight
ClickSave.
Set the body to
“Check in 1 extra bag for free!”
And…you can add a funny Giphy or other media in field add media:
https://media.giphy.com/media/NPXU8zJgkHa9BqilG1/giphy.gif
(just copy paste in the add media field)Your screen should look like the image below. Navigate out of the designer by clicking the arrow on the top left of your screen, the content editing will be automatically saved.
You can expand view of your push content, click “Expand view” as per the screenshot above, you would get the below display.
So far, your Journey should look like the screenshot below. Click Ok.
Repeat the same for the
gold
andplatinum
paths, adding push messages to those journeys with the title, body, add media of your choice.
The journey is now finished - Please do not publish the journey!!. It should look like this:
Last updated