---
title: Creating the journey
slug: qatar-airways-hol/f3fy-creating-the-journey
description: >-
docTags: 
createdAt: 2024-01-30T23:03:21.354Z
---

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:

1. In the menu on the left side, under **Journey Management**, click on **Journeys**. You will see a overview with all existing journeys.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/ji5loOSKQ-lP2YYB8lHSu_image.png)

## 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.

1. Set the **name** to `[your name] - Booking Journey`.
2. For the other properties we'll keep the default values.
3. Your screen should look like the image below. Click **Save** to save and close the properties.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/1ApBtaGRoDIhRwYRSV9uQ_screenshot-2024-07-21-at-143231.png)

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

1. 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.*
2. There's nothing we need to configure for this as we have already done this when we [Configuring an event](docId:5_TAYTS7BlZ8wDPG7R5Zp). Click **Save** to close the menu.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/mi113C85vTK5oEfaLLBcC_screenshot-2024-07-21-at-143359.png)

### 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.

1. From the orchestration tab, choose Condition and drag it onto the empty circle on the canvas.
2. Click on the activity to open the detailed view.
   1. Set the **label** to `Is a loyalty member?`.
   2. Click on **Path1** and change the label to `Yes`.
   3. Click on **Add an expression** to open a window.
      1. On the left side, open **Audiences**. Scroll down till you find the audience you created called **\[your name] - Privilege Club Members** and drag it to the right side.
         *If you didn't create the audience, use **Qatar -  Privilege Club Members**.*
      2. By default the statement should be on `true`, if not click the toggle. Checks if the title reads `[your name] - Privilege Club Members audience membership is true` and click **Ok**.&#x20;
      3. Click **Ok** to save the conditions.
   4. Check **Show path for other cases than one(s) above** and set the label to `No`.
   5. Your screen should look like the image below. Click **Save**.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/ovJQeA5ega1px_XmOhG80_screenshot-2024-07-21-at-143854.png)

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.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/_iFSUR0RcDWiKUQdemsYO_screenshot-2024-07-21-at-144004.png)

### Email #1 - Booking confirmation (non-loyalty)

In the next steps you will be building the email for your journey.&#x20;

1. **Designing the Email:** You'll pick a fully completed template of the basic email so that you don't have to build anything at all. <font color="#ff0000">*Note\: You must use the example* ***flightBooking*** *event in your journey. If you used your own custom event, replace it before continuing.*</font>

::::Tabs
:::Tab{title="Building the Email"}
1) From the actions tab, choose **Email** and drag it onto the empty circle at the **No-path**.
2) Click on the activity to open the detailed view.
   1. Set the **label** to `Booking confirmation (non-loyalty)`.
   2. Set the **category** to `Transactional`.
   3. Set the **email surface** to `transactionalEmail`.
   4. Click on **Edit content** to start designing your email.
      1. Click on :FontAwesome[]{icon="fa-solid fa-user"} to create a subject line. Set it to `FIRSTNAME, Your flight booking is confirmed!`
      2. Remove the text `FIRSTNAME` and search for `first name` in the profile attributes.
      3. Find the field First name (... attributes > person > Full name) and click on the :FontAwesome[]{icon="fa-solid fa-plus"} **icon** to add it to your subject line. It should now be`{{profile.person.name.firstName}}, Your flight booking is confirmed!`
      4. Click **Save**.
   5. Click on **Edit email body**. Under **Saved templates**, choose `Qatar Airways - Booking confirmation email`. It will show you a preview of the template. Click on **Use this template**.
3) The email designer will now open. It 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.&#x20;

![](https://api.archbee.com/api/optimize/Kr9jNQk3X89PNSZafWHK9-bfa6TAys_ytWvrV_0ONSr-20250121-211138.png)
:::
::::

You will be taken back to the journey canvas.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/o6cgioNexKPNo4qOB8SEv_screenshot-2024-07-21-at-163445.png)

### Email #2 - Booking confirmation (loyalty)

1. Select the activity **Email - Booking confirmation (non-loyalty)**. Copy and paste this by clicking the :FontAwesome[]{icon="fa-solid fa-copy"}  **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).
2. Drag the newly created object at the **Yes-path**.&#x20;
3. Unselect your selection and select only the **Email**-activity. Drag this on top of the empty circle to connect it.
4. Click on the **Email**-activity to open the detailed view.
   1. Set the **label** to  `Booking confirmation (loyalty)`.
   2. Click on **Edit content** to start make some adjustments to the email content.
5. Click on **Edit email body**. This will open the email designer.
6. 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?`
7. Change the button label to `Upgrade using your Privilege Club points`.
8. In the double block below the button, select the image of the left block.
9. 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.
10. Change the block's header to: `Come prepared`
11. 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.`
12. 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.

![](https://api.archbee.com/api/optimize/Kr9jNQk3X89PNSZafWHK9-8Fuv-EucJcBr3zc4Vtwe_-20250121-211744.png)

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/-PwPLH0a9QfXo6_OK5j_5_screenshot-2024-07-21-at-165204.png)

### 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.

1. We're going to check if the customer enters our **QA - Privilege Club 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)**.
2. Click on the activity to open the detailed view.
   1. Set the **label** to `Privilege Club member`.
   2. Set the **behavior**  to `Enter`. This means it will only trigger as soon as the customer qualifies for the audience.
   3. Check **Define the event timeout** and set it to wait for `3 Days`.
   4. Make sure **Set a timeout path** is checked.
   5. Your screen should look like the image below. Click **Save**.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/8f3nhYAADRsymzbF9u-PU_screenshot-2024-07-21-at-165830.png)

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.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/weCEjvvh1TbftMwV3RsDC_screenshot-2024-07-21-at-170000.png)

### Email #3 - Loyalty Program Offer

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

:::hint{type="warning"}
Don't feel like building the email? You can choose the `Qatar Airways - Loyalty offer email` to get the completed email.
:::

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/tO4Qa9ZnQRbfej_cunzNv_screenshot-2024-07-21-at-160718.png)

In the left menu you have **components**.

**Structure components** are the building blocks of your email, they will determine the layout of your email.&#x20;

**Content components** are the different forms of content that you can place inside your structure components, like text, buttons and images.

1. 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.
2. Click the **Header component** and change the text to: **
   *Join Privilege Club today and get 500 bonus miles as a welcome gift!*

3. Click the **Body component** and change the text to:&#x20;

   *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!*

4. Select the **Button component** and change the button label to: `Join Privilege Club`.
5. 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.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/Gq13z8YSLKhRoURoMxMR2_screenshot-2024-07-21-at-170852.png)

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/P0WoA-1o50xWsyO6QIFyW_screenshot-2024-07-21-at-170934.png)

:::hint{type="success"}
You have now successfully created the booking journey using the Adobe Journey Optimizer. Next, we are going to test our journey using Test Mode.
:::

