Creating the journey
In this exercise, you'll be creating and testing a journey using all the components you've created in the previous exercises.
Journey overview
To get an overview of all journeys in Adobe Journey Optimizer:
- In the menu on the left side, under Journey Management, click on Journeys. You will see a overview with all existing journeys.

Creating a journey
We'll be creating a journey that will send an email confirmation to customers when they book a flight. If the customer is not a loyalty program member, we want to incentivise them to sign up.
Click on Create Journey. You'll be taken to the Journey canvas with the journey properties opened.
- Set the name to [your name] - Booking Journey.
- For the other properties we'll keep the default values.
- Your screen should look like the image below. Click Save 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, audiences, 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.
Event trigger
- We're starting our workflow of with an event trigger. From the events tab, choose your created event (initalsFlightBooking) and drag it onto the canvas. If you did not create an event, use the flightBooking event.
- There's nothing we need to configure for this as we have already done this when we Configuring an event. Click Save to close the menu.

Condition - Is a loyalty member?
When the customer books a flight, the first thing we want to check is if the customer is a Privilege Club member. We want to want to highlight the benefits to those who book with Qatar Airways but have not enrolled.
- From the orchestration tab, choose Condition and drag it onto the empty circle on the canvas.
- Click on the activity to open the detailed view.
- Set the label to Is a loyalty member?.
- Click on Path1 and change the label to Yes.
- Click on Add an expression to open a window.
- On the left side, open Audiences. Scroll down till you find the audience you created called [your name] - Privilege Club Program Members and drag it to the right side. If you didn't create the audience, use Qatar - Privilege Club Program Members.
- By default the statement should be on true, if not click the toggle. Checks if the title reads [your name] - Privilege Club Program Members audience membership is true and click Ok.
- Click Ok to save the conditions.
- Check Show path for other cases than one(s) above and set the label to No.
- Your screen should look like the image below. Click Save.

In our journey we want to focus on the customer that are not loyalty program members. Rearrange the paths so that the No-path is on top.

Email #1 - Booking confirmation (non-loyalty)
In the next steps you will be building the email for your journey. You have a choice of three exercises here.
- Build email (basic): You'll start from a basic template and adding a few customizations. The exercise will familiarise you with how to build an email using components, using personalisation (based on data from the profile) and contextual data (data from the flight booking event).
- Build email (advanced): You'll build the same email as mentioned above, but with more contextual data. Choosing this email will show you more capabilities regarding formulas and custom expressions, but can be quite challenging for those not familiar with coding.
- Skip building email: You'll pick a fully completed template of the basic email so that you don't have to build anything at all. If you want to skip building the email, you must use the example flightBooking event in your journey. If you used your own custom event, replace it before continuing.
- From the actions tab, choose Email and drag it onto the empty circle at the No-path.
- Click on the activity to open the detailed view.
- Set the label to Booking confirmation (non-loyalty).
- Set the category to Transactional.
- Set the email surface to transactionalMessages.
- Click on Edit content to start designing your email.
- Click on to create a subject line. Set it to FIRSTNAME, Your flight booking is confirmed!
- Remove the text FIRSTNAME and search for first name in the profile attributes.
- Find the field First name (... attributes > person > Full name) and click on the icon to add it to your subject line. It should now be {{profile.person.name.firstName}}, Your flight booking is confirmed!
- Click Save.
- Click on Edit email body. Under Saved templates, choose WKND Fly - Default Template. It will show you a preview of the template. Click on Use this template.
- The email designer will now open. It should look like this:

In the left menu you have components.
Structure components are the building blocks of your email, they will determine the layout of your email.
Content components are the different forms of content that you can place inside your structure components, like text, buttons and images.
- Let's put in a header image first. Click on Browse in the header component of the email template. This will open the Assets Essentials interface. Navigate to Custom Demos > Qatar Airways > qatar-assets and select the image plane-h2-a380-fleet-pages.jpg and click Select in the top right.
- Click the Header component and change the text to:Your booking is confirmed, thank you for flying with us!
- Use the pop-up menu to change the alignment to Center alignment.
- Click on the left or right side of the Header component so the entire row is highlighted by a blue border. Using the icon on the left drag the row so it's above the header image.
- Click the Body component and change the text to: Have an amazing trip to CITY!
- Use the pop-up menu to make the text bold.
- Remove the text CITY and click on the icon to add personalization to your email.
- Click on Helper functions and navigate to Functions > Array, list and set functions. Find the function called First item and add it to your expression by clicking on the icon. It should read: {%= head(array) %}
- From the structural components drag a 1:1 column onto the email, between the component we just created and the button.
- From the content components drag a Text onto the email, into the newly added structural component.
- Change the text to: We look forward to welcoming you on board! Did you know you can earn points for this flight? Join Privilege Club now!
- Set the top/bottom padding for the text component to 20.
- Set the left/right padding for the text component to 10.
- Select the Button component and change the button label to: Earn points for your flight
- In the white highlight bar (Explore the world with Qatar Airway), change the header to: Add Extras
-
- In the white highlight bar, change the button label to: Explore extras The highlight bar should now look like this
Your screen should look like the image below. Click Save in the top right. Navigate out of the Email designer by clicking the arrow on the top left of your screen. Then navigate out of the email overview by clicking on the arrow on the top left.

You will be taken back to the journey canvas.

Email #2 - Booking confirmation (loyalty)
- Select the activity Email - Booking confirmation (non-loyalty). Copy and paste this by clicking the icon in the details panel or by using CTRL+C (or CMD+C on Mac devices. Then press CTRL+V (or CMD+V on Mac devices).
- Drag the newly created object at the Yes-path.
- Unselect your selection and select only the Email-activity. Drag this on top of the empty circle to connect it.
- Click on the Email-activity to open the detailed view.
- Set the label to Booking confirmation (loyalty).
- Click on Edit content to start make some adjustments to the email content.
- Click on Edit email body. This will open the email designer.
- Change the Text component above the button to: We look forward to welcoming you on board! Did you know that you can upgrade your flight using your Privilege club loyalty points?
- Change the button label to Upgrade using your Privilege Club points.
- In the double block below the button, select the image of the left block.
- In the right menu, go to Settings and click Select an asset to change the image. This will open the Assets Essentials interface. Navigate to Custom Demos > Qatar Airways > qatar-assets and select the image travel-requirements.png and click Select in the top right.
- Change the block's header to: Come prepared
- Change the block's content to: We've put together a checklist of required travel documents. Make sure to check it out before you leave for your trip.
- Your screen should look like the image below. Click Save in the top right. Navigate out of the Email designer by clicking the arrow on the top left of your screen. Then navigate out of the email overview by clicking on the arrow on the top left. You will be taken back to the journey canvas.
Depending on what you picked when creating the previous email


Audience Qualification
Next, we want to check if the customer signed up for our Privilege Club loyalty program. If not, we want to send them another email offering them bonus points if they sign up.
- We're going to check if the customer enters our Qatar - Privilege Club Program Members audience, because this would indicate they signed up. From the events tab, choose Audience Qualification and drag it onto the canvas behind the Email -Booking confirmation (non-loyalty).
- Click on the activity to open the detailed view.
- Set the label to Privilege Club member.
- Set the behavior to Enter. This means it will only trigger as soon as the customer qualifies for the audience.
- Check Define the event timeout and set it to wait for 3 Days.
- Make sure Set a timeout path is checked.
- Your screen should look like the image below. Click Save.

In our journey we want to focus on the customer that are still not loyalty program members. Rearrange the paths so that the timeout-path is on top.

Email #3 - Loyalty Program Offer
- From the actions tab, choose Email and drag it onto the empty circle at the Timeout-path.
- Click on the activity to open the detailed view.
- Set the label to Loyalty Program Offer.
- Set the category to Marketing.
- Set the email surface to marketingMessages.
- Click on Edit content to start designing your email.
- Click on to create a subject line. Set it to FIRSTNAME, Join Privilege Club today!
- Remove the text FIRSTNAME and search for first name in the profile attributes.
- Find the field First name (... attributes > person > Full name) and click on the icon to add it to your subject line. It should now be {{profile.person.name.firstName}}, Join Privilege Club today!
- Click Save.
- Click on Edit email body. Under Saved templates, choose Qatar - Default Template. It will show you a preview of the template. Click on Use this template.
- The email designer will now open. It should look like this:

Don't feel like building the email? You can choose the Qatar - Loyalty offer email to get the completed email.
In the left menu you have components.
Structure components are the building blocks of your email, they will determine the layout of your email.
Content components are the different forms of content that you can place inside your structure components, like text, buttons and images.
- Let's put in a header image first. Click on Browse in the header component of the email template. This will open the Assets Essentials interface. Navigate to Custom Demos > Qatar Airways > qatar-assets and select the image privilage-club-h1-family-beach-hn.jpg and click Select in the top right.
- Click the Header component and change the text to: Join Privilege Club today and get 500 bonus miles as a welcome gift!
- Click the Body component and change the text to: With Privilege Club you can earn Club points from your flights and redeem them on future flights, upgrades, rewards and more!If you join today, you'll receive 500 bonus miles as a gift! That's enough points to be able to upgrade your flight class!
- Select the Button component and change the button label to: Join Privilege Club.
- Your screen should look like the image below. Click Save in the top right. Navigate out of the Email designer by clicking the arrow on the top left of your screen. Then navigate out of the email overview by clicking on the arrow on the top left. You will be taken back to the journey canvas.


You have now successfully created the booking journey using the Adobe Journey Optimizer. Next, we are going to test our journey using Test Mode.






