---
title: Create a Dynamic Audience for Abandoned Bookings
slug: airnz/create-a-dynamic-audience-for-abandoned-bookings
description: >-
docTags: 
createdAt: 2024-01-30T22:33:31.221Z
---

In this exercise, you’ll create an audience by making use of Adobe Experience Platform’s Segment Builder and Dynamic Variables.

## Audience Overview

:::hint{type="info"}
To log into the Adobe Experience Platform, check the [Introduction section](docId\:Vl5t476uPYzxF1-tM6fYr).
:::

To get an overview of available audiences in Adobe Experience Platform:

1. In the menu on the left side, click on **Audiences**. You will see a dashboard overview with information on a specific audience.
2. Click on **Browse** at the tab bar. You will see an overview of all existing audiences.

## Create an Audience for Abandoned Bookings

We want to create a rule that will select all customer profiles that have searched for a flight to a particular destination, but not booked the flight in the last 24 hours. WKND Fly want to retarget these customers with offers for their chosen destination.

To do this we need to use Dynamic Variables in our audience definition. Dynamic variables solve the scalability problems marketers face when building audiences for campaigns.&#x20;

Unlike static audience rules which require you to explicitly capture every possible use case, Dynamic variables can be used to build the rule logic and dynamically express relationships.

1. Click on **+ Create Audience**. This will open the Create Audience popup.
2. Select **Build Rule** as the create method. This will open the Rule Builder. You will immediately notice the **Events** tab selected underneath **Fields**.&#x20;

To define our audience:&#x20;

1. Select the **Events** tab in the Fields section.
2. Search for **flight**
3. Drag the **Flight Search** Event Type onto the canvas.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/zttnF0Abjb-OwkbJRxt-i_image.png)

Now we want to add a second condition to look for profiles who have **not** booked a flight

1. Select the **Events** tab in the Fields section.
2. Search for **Reservation**
3. Drag th&#x65;**&#x20;Reservation** Event Type onto the canvas, to the right of the **Searches** Event.&#x20;

Your audience definition should look like:&#x20;

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

1. To restrict the time period between Flight Selection and Flight Booking, select the **anytime** drop down.
2. Change the condition to **In Last 1 Day(s).**

Now, we want to add a third condition that will ensure audience qualification only occurs when the two events reference the same flight destination.

This is our **Dynamic Variable.**

1. Select the **Events** tab in the Fields section.
2. Click on the **Reservations** event in the canvas to ensure the event is highlighted.
3. From the **Browse variables** sectio&#x6E;**,** select **Reservations >**
4. Then select **Reservations >** then **Reservations >&#x20;**&#x74;hen **Flight Reservations >** then **Arrival Airport Code**
5. Drag **Arrival Airport Code** onto the canvas into the **Event Rules** section, where is says **Add event field.**&#x20;

Your audience should look like:&#x20;

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

We need to compare the Airport Arrival code of the Flight Search event to the Airport Arrival Code of the Flight Booking event. To do this.

1. Select the **Events** tab in the Fields section.
2. From the **Browse variables** section, select **Searches.**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/0xUgD3Lx-vsNkT09wzQWM_image.png)

1. Then select **Reservations >** then **Flight Reservations >** then **Arrival Airport Code**
2. Drag **Arrival Airport Code** onto the canvas into the **Event Rules** section, into the Equals condition text box.&#x20;
3. As you drag the Airport Arrival Code over the text box you'll be given the option to **Compare Operands.**
4. Drop the Airport Arrival Code into this area.

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

The final thing we want to do is add an exclusion rule to the Booking event, since we want to only include customers who have **not** booked a flight.

1. Click on the **Reservations** event.
2. In the Event Rule, select the **include** drop down and change this to **exclude**.

Your final audience definition should look like:&#x20;

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

Let's save our audience.

1. Enter a **Name** for your audience using the following naming convention `<Initials> - ``Abandoned Bookings`.e.g. `PP - Abandoned Bookings`
2. (optional) Enter a **Description**.
3. Select **Streaming** from the **Evaluation method** dropdown list.
4. Click on **Save and Close**.

You will be taken to the **Audience summary** screen, outlining your audience definition.

:::hint{type="success"}
​You have successfully created a Dynamic Audience.
:::

