# Filter recipients

Mail Rocket allows you to filter your contact list and send targeted email campaigns to specific segments.&#x20;

{% hint style="success" %}
When a filter is applied, emails will only be sent to visible rows of the selected spreadsheet.
{% endhint %}

### How to filter your contact list

* Open the Google Sheet containing your contact list
* Click on the row number "1" to select the entire first row of your spreadsheet.

<figure><img src="https://2708547714-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQ2Oq7wXz6MEOz8Y4u8DP%2Fuploads%2F5xbFdnsXJXfKiP3rY5AS%2FScreenshot%202024-05-06%20at%2011.27.46%20PM.png?alt=media&#x26;token=6f4a83ca-60e7-4b52-b71d-b983ab3691fb" alt=""><figcaption></figcaption></figure>

* In the toolbar, click the filter icon (a funnel-shaped icon). This will activate filters for each column header in your sheet.

<figure><img src="https://2708547714-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQ2Oq7wXz6MEOz8Y4u8DP%2Fuploads%2FKsAKUKDJuAcyuCRdy0jk%2FScreenshot%202024-05-06%20at%2011.29.02%20PM.png?alt=media&#x26;token=757146d4-ab7f-4df7-b2c4-dd0f8d232e53" alt=""><figcaption></figcaption></figure>

* **Apply Filters**
  1. **Filter by Condition:** Click the filter icon on a column header, then choose from various conditions such as text contains, is empty, is not empty, etc.
  2. **Filter by Values:** Uncheck data points you want to exclude or select specific values to include.
  3. **Search:** Use the search box to filter data points by typing keywords related to the desired criteria.

<figure><img src="https://2708547714-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQ2Oq7wXz6MEOz8Y4u8DP%2Fuploads%2FcDBiKDEjmXAMU4fyfrOc%2FScreenshot%202024-05-06%20at%2011.29.24%20PM.png?alt=media&#x26;token=3daee180-8171-4d0f-9173-4b729cfce6f5" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.mailrocket.io/getting-started/advanced-features/filter-recipients.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
