---
title: Build Federated Audience
slug: delta-fac-poc/build-federated-audience
docTags: 
createdAt: 2024-08-09T14:13:45.126Z
---

### \[Hands on keyboard!]

### Create a Federated Audience Composition

Luma Air wants to send out a message to travelers that have an international flight coming up but have a passport that expires within 6 months to prevent the traveler from not being able to board the flight and minimize the disruption to Luma Air staff.&#x20;

In this exercise, you will build an audience to qualify travelers that have a passport that expires within 6 months and has an international flight. &#x20;

<font color="#5e0bf4">                </font><font color="#5e0bf4">**Travelers with an international flight with an expiring passport**</font>

In the **Customer** > **Audiences** portal, click the **Federated compositions** tab.

Click **Create composition**.

![](https://api.archbee.com/api/optimize/2QtaDNQUOaQJJ0ppk7Fjc-5fXFAw858y-oTN_0WiI7w-20240814-164440.png)

Label your composition **Upcoming International Flight & Passport Expiring &#x20;*****+ add your initials.&#x20;***&#x43;lic&#x6B;**&#x20;Create**.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/F90YIlFBtzYUqmFFyRaEL-20260501-185844.png)

Click the **+** button in the canvas and select **Build audience**. The right-hand rail should appear.&#x20;

Click the schema folder to find and select the <font color="#5e0bf4">**Traveler Preferences**</font> schema then click **Confirm**.

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/dE62WA0iXEruSMUnAbibZ-20260319-190715.png" size="56" width="642" height="566" position="center" showCaption="false"}

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/yZW-rG1cGSKfll95Ebom0-20260501-192116.png)

Click **Create audience**. The query builder window should load. Now, click the **+** button and then **Custom Condition.&#x20;**

**Create the following condition:**

**passportexpiresin6months**<font color="#151414"> equal to </font>**Yes**

****<font color="#0f0f10">**AND**</font>****

****<font color="#141415">**departuredatetime** after</font> **5/4/2026**

Your query should now look as follows:

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/FOGrSy5dJCmJF6EhYU1EE-20260501-192650.png)

Click the next **+** button then click **Save audience**.

Label this step <font color="#7208fb">**Upcoming International Flight &amp; Passport Expiring** </font>***+&#x20;***<font color="#7208fb">***your initials.***</font> We will use the same value as the audience label, however, any name can be used.

Add the following audience mappings:

**Source Audience Field**: CRMID

**Source Audience Field**: EMAIL

**Source Audience Field:** FIRST NAME

Select the primary identity and namespace to use for profiles:

**Primary identity field:** CRMID

**Identity namespace**: CRMID

Click **Save** and then click **Start**, to run the query of the composition you just built.

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/gCooMCUItF-ABHYzLTlw3-20260501-193307.png" size="70" width="680" height="1148" position="center" showCaption="false"}

**Exp League**: [https://experienceleague.adobe.com/en/docs/federated-audience-composition/using/compositions/create-composition/create-composition](https://experienceleague.adobe.com/en/docs/federated-audience-composition/using/compositions/create-composition/create-composition)
