# Targeted push

<Aside type="note">
The flow is the same for mobile and web push notification campaigns.
</Aside>

This flow shows how to send a targeted push notification _to a specific audience segment. The way you’ll build your segments for targeted pushes differs depending on whether a push notification initiates a communication flow or continues an existing one.

## If a push notification initiates a communication flow

Once you've created [a basic push flow](/product/messaging-channels/push-notifications/send-push-notifications/one-time-push-via-customer-journey/), you can set up your targeted push.

Double-click the [**Audience-based Entry**](/product/customer-journey/journey-elements/entry-elements/audience-based-entry/) element to select the audience for your push notification. Build a segment from scratch, choose from your existing segments, or import a segment file.


<Aside type="tip">
In the same element you can set when users enter (immediately or Schedule for a specific day) and allow users who match the segment later to enter. See [Audience-based Entry](/product/customer-journey/journey-elements/entry-elements/audience-based-entry/#entry-schedule) for entry schedule and dynamic entry.
</Aside> 
#### 1. Build a segment from scratch

Click **Create segment** and select **Build segment** from the dropdown. 

<img src="/push-notifications-targeted-push-2.webp" alt="Segment creation screen showing Save segment button and configured filters"/>

In the drawer that opens, build the segment. [Learn how to create segments](/product/audience-data-and-segmentation/segmentation/create-segments/).
<img src="/push-notifications-targeted-push-1.webp" alt="Segment creation screen showing Save segment button and configured filters"/>

#### 2. Select an existing segment

Select one of your existing segments in the **Audience source** field. In the following example, a push will be targeted at paid customers:

<img src="/push-notifications-targeted-push-3.webp" alt="Audience source dropdown showing existing segments including paid customers option"/>

#### 3. Import a segment file

In the **Audience source** section, click **Create segment** and select **Import segment** from the dropdown:

<img src="/push-notifications-targeted-push-5.webp" alt="Audience-based Entry modal showing Create segment dropdown with Build segment and Import segment options"/>

Then import your file in CSV format. For step-by-step instructions and file requirements, see [How to import a segment](/product/audience-data-and-segmentation/segmentation/create-segments/by-import/#how-to-import-a-segment).

<img src="/push-notifications-targeted-push-6.webp" alt="Import segment dialog showing CSV file upload option"/>


Once you've selected the audience source and set up the element, click **Save**.

<LinkCard title="Learn more about Audience-based Entry" href="/product/customer-journey/journey-elements/entry-elements/audience-based-entry/" />


## If a push notification continues a communication flow

Insert the [**Condition split**](/product/customer-journey/journey-elements/flow-controls/segment-split/) element between the preceding communication elements and the push notification you wish to target. Double-click the element to open its configuration.



### Define the segment

Under **What defines the user flow?**, select **Segment**. 
<img src="/push-notifications-targeted-push-8.webp" alt="Customer journey canvas showing Condition split element inserted before push notification"/>


You can then set the segment in one of three ways:

#### Select an existing segment

Use the **Existing segment** field to choose one of your segments. 

<img src="/push-notifications-targeted-push-10.webp" alt="Condition split element showing Existing segment dropdown with paid customers segment selected"/>

#### Build a segment from scratch

Click **Create segment** next to the **Branches** section and select **Build segment** from the dropdown. A drawer opens where you can build the segment. 

[Learn how to create segments](/product/audience-data-and-segmentation/segmentation/create-segments/)


#### Import a segment file

Click **Create segment** and select **Import segment** from the dropdown. Then import your file in CSV format.

For step-by-step instructions and file requirements, see [How to import a segment](/product/audience-data-and-segmentation/segmentation/create-segments/by-import/#how-to-import-a-segment).

### Configure the branches

The **Branches** section shows the available paths, such as **Users in a segment** (users who match the segment you set) and **All other users**.

<img src="/push-notifications-targeted-push-9.webp" alt="Branches section showing Users in a segment and All other users paths in Condition split configuration"/>

On the journey canvas, add the push notification to the **Users in a segment** branch. Add an exit or another element to the **All other users** branch so that path is defined. 
<img src="/push-notifications-targeted-push-11.webp" alt="Condition split element showing configured segment and Save button"/>
When done, click **Save**.