> For the complete documentation index, see [llms.txt](https://docs.sortment.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sortment.com/engage/audiences/campaign-event-filters.md).

# Campaign Event Filters

The **Campaign Event Filters** feature enables users to define audience segments based on their engagement with various campaign touchpoints, including **email interactions, SMS engagements, WhatsApp activities etc**. These filters allow precise targeting for personalized messaging based on whether users are interacting with previous communication or not.

### Available Filters

#### **Email Engagement**

* **Email Sent**– Users to who email is sent.
* **Email Delivered** – Users to who email is delivered.
* **Email Opened** – Users who opened an email.
* **Email Link Clicked** – Users who clicked a link in an email.
* **Email Bounced**– Users for which email bounced.
* **Email Unsubscribed** – Users who unsubscribed from email communications.

#### **SMS Engagement**

* **SMS Delivered** – SMS messages that were successfully queued for delivery.
* **SMS Link clicked** – Users who clicked a link in an SMS.

#### **WhatsApp Engagement**

* **WhatsApp Message Read** – Users who read a WhatsApp message.
* **WhatsApp Link Clicked** – Users who clicked a link in a WhatsApp message.

### Filter types

For each event, users can define audience segmentation using the following conditions:

* **Event Performed X Times** – Filters users based on the number of times they performed a specific event. You can set comparisons to a specific counts, like performed "Email Opened" At Least / At Most / Exactly X times.
* **Event Not Performed** – Excludes users who have not performed the selected event.

### Sub-filters

Each event filter includes contextual sub-filters for additional refinement:

* **Campaign-Specific Filtering** – Users can filter events based on the campaign they were associated with. You will see list of all campaigns sent via Sortment.
* **Time Windows** – Users can set conditions to filter events that occurred within a specific timeframe (e.g., last 7 days, last 30 days).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sortment.com/engage/audiences/campaign-event-filters.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
