> For the complete documentation index, see [llms.txt](https://docs.antsomi.com/cdp-365-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.antsomi.com/cdp-365-user-guide/quick-start-guide/set-up-a-segment-containing-emails-to-be-excluded-before-sending-mail.md).

# Set up a "Segment" containing emails to be excluded before sending mail

### 1. Access the "PERSONAS" app and go to the "Segments" menu

![](https://3576497809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmECwNqMNUmu6OXHSYgDv%2Fuploads%2FeDo6ouKKdqCAQl7yXcCW%2Fimage.png?alt=media\&token=4fa43721-10e8-47c9-aa72-996dfdb14f82)

### 2. Click "+" button and select "Customer"/"Visitor" Segment

![](https://3576497809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmECwNqMNUmu6OXHSYgDv%2Fuploads%2FyHd4j45vFhbPKdqhHeab%2Fimage.png?alt=media\&token=fdbfc160-b93f-42f3-95a3-53c7b9f61493)

### 4. Fill in the necessary information for your segment

![](https://3576497809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmECwNqMNUmu6OXHSYgDv%2Fuploads%2F3igXzoR27y6xFd47Es2P%2Fimage.png?alt=media\&token=f1cc98d8-7d68-446e-9753-41da3b4f170c)

**Update Segment:**&#x20;

* If the email to be excluded is a fixed data set, you should select "Static segment - no update"
* If the email to be excluded changes over time, you should select "Dynamic Segment - scheduled update"

**"Member input method":** Select "**Matching file"** option, then upload the file containing the email to exclude

![](https://3576497809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmECwNqMNUmu6OXHSYgDv%2Fuploads%2F6C1bNcD5pjL2c99NOkGf%2Fimage.png?alt=media\&token=b430c017-5848-4567-8434-1a7c5d659ec4)

Mapping email data in file with email attribute in CDP

![](https://3576497809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmECwNqMNUmu6OXHSYgDv%2Fuploads%2FAmOVp4PcEaPmLyekVEoA%2Fimage.png?alt=media\&token=a3c65424-af08-44fb-adc3-de19e8d31937)

Click **"Build"** button to finish creating a segment containing email to exclude

![](https://3576497809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmECwNqMNUmu6OXHSYgDv%2Fuploads%2FGmn0OPoAZXsr5sloZ3qm%2Fimage.png?alt=media\&token=8d5d63c0-da99-4b64-b5f0-6ef5a00f707b)

You can see more here: [How to create segments?](/cdp-365-user-guide/quick-start-guide/how-to-create-a-new-segment.md)

### 6. Set up a journey to send mail that excludes emails in the segment you created above

Log into CDP system,  access **MARKETING HUB-> Customer Journeys**

![](https://3576497809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmECwNqMNUmu6OXHSYgDv%2Fuploads%2FhAvnSfh8kWE4rur4WK89%2Fimage.png?alt=media\&token=94b5acc5-132b-409f-82e4-f29bc54939a4)

We have 2 channels that supporting to send:

* "Email"
* "Journey Orchestration"

![](https://3576497809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmECwNqMNUmu6OXHSYgDv%2Fuploads%2FZjSC4V2Tp60jaXvoQwdc%2Fimage.png?alt=media\&token=1a3e1447-31fd-4d73-82b6-e3ca36badcb7)

At the "Scheduled Trigger" node, add the segment containing the email to be exclude when sending the mail you created above

![](https://3576497809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmECwNqMNUmu6OXHSYgDv%2Fuploads%2FYi1tpkEXa65FmgCXp6xl%2Fimage.png?alt=media\&token=87535499-5a1b-470a-94a5-d1bd3a0e30d7)

![](https://3576497809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmECwNqMNUmu6OXHSYgDv%2Fuploads%2FMj92O9Wqi0r1FGUbSfDz%2Fimage.png?alt=media\&token=51b4914d-7828-4c19-a91a-d09e777b85fd)

Click "+" button to Create Journey, add "Destination" node and select "**G Suite Email"** destination![](https://3576497809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmECwNqMNUmu6OXHSYgDv%2Fuploads%2FVsDqORTQXa5SrPXQIHcT%2Fimage.png?alt=media\&token=8b8f1af8-0096-4f6d-86ed-4432e57c47b5)

Fill out necessary information

![](https://3576497809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmECwNqMNUmu6OXHSYgDv%2Fuploads%2FHjI3vyzLlrl8VQDfF8HK%2Fimage.png?alt=media\&token=ffe5b0a1-30f5-48a3-a626-ef339732edbb)

Click "Save change" button to finish setting journey

![](https://3576497809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmECwNqMNUmu6OXHSYgDv%2Fuploads%2FI9DMwyJbPEfb7KE9p5eR%2Fimage.png?alt=media\&token=0fa06830-12e4-4285-abf4-11da11b80523)

After finishing the setting of the Journey, we can activate and send email to customer.
