---
title: Creating an audience
slug: ajo-air-india/creating-an-audience
description: >-
docTags: 
createdAt: 2024-01-30T23:03:21.354Z
---

In this exercise we'll be creating two audiences that we can use in our journey.

:::hint{type="info"}
To log into the Adobe Experience Platform, and open Adobe Journey Optimizer, check the [Introduction section](docId\:Dv0UzshiGamRm9aKUAAIr).
:::

## Audience overview

To get an overview of all audiences in Adobe Journey Optimizer:

1. In the menu on the left side, under **Customer**, click on **Audiences**. You will see a overview with all existing audiences.

![](https://adbecdn.azureedge.net/labs/archbee/emeaProjectsAEPBootZurichLab2Ajo/segments-overview3.png)

## Audience #1 - Flight Departure in next 2 weeks

First we'll be creating an audience that contains all customers that have a flight in the next 2 weeks.

1. Click on **Create audience**. A pop-up will open, choose `Build rule` and click **Create**.You'll be taken to the **Audience builder**.
2. Set the **name** to `[your initials] - Flight Departure in next 2 weeks`.
3. In the **Events** tab, search for `booking`. In the bottom a predefined event will appear. Drag the `Booking` event to the middle of the screen.
4. Click on the `Booking` event to open the **Event Rules**.&#x20;
5. In the left menu,  navigate to **XDM ExperienceEvent > Reservations > Flight Reservations** and drag the field `Departure Date` to the event Rules.
6. Set the expression for **Departure Date** to `In next 2 weeks`.
7. Your screen should look like the image below. Click **Save and Close** to finish your audience.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/pE-00uIdizk3JYlSc4Nei_image.png)

## Audience #2 - Flight Departure in next 24 hours

Next we'll be creating an audience that contains all customers that have a flight in the next 24 hours.

:::hint{type="info"}
As this audience is very similar to the previous one you can also choose to copy that audience and edit it. You can do this by clicking the :FontAwesome[]{icon="fa-solid fa-ellipsis"}**&#x20;icon** and choosing **Copy**.
:::

1. Click on **Create audience**. A window will open, choose `Build rule` and click **Create**.You'll be taken to the **Audience builder**.
2. Set the **name** to `[your initials] - Flight Departure in next 24 hours`.
3. In the **Events** tab, search for `booking`. In the bottom a predefined event will appear. Drag the `Booking` event to the middle of the screen.
4. Click on the Booking-event in the middle section to open the **Event Rules**.&#x20;
5. In the left menu,  navigate to **XDM ExperienceEvent > Reservations > Flight Reservations** and drag the field `Departure Date` to the event Rules.
6. Set the expression for **Departure Date** to `In next 24 hours`.
7. Your screen should look like the image below. Click **Save and Close** to finish your audience.

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

