> For the complete documentation index, see [llms.txt](https://docs.agilecase.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.agilecase.com/user-documentation/the-contact-tab/filtering-and-exporting-contacts.md).

# Filtering and Exporting Contacts

This lesson will show you how to filter your contacts in AgileCase.

## Filtering contacts

<figure><img src="/files/sP4Q9Cr0N3X6je9venTe" alt="" width="317"><figcaption></figcaption></figure>

On your contacts page, use the button beside **"Add Contact"** to filter your contacts.

You can filter by contact type, labels, or whether contacts are active or inactive to find relevant contacts quickly when searching your database.

## Exporting Contacts

<figure><img src="/files/TthtYUHobP2xI9KzEIVd" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/LbaxxRELwIJGwqtDeooX" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/AHBsHfSR9PputMjhfjPe" alt=""><figcaption></figcaption></figure>

It is also possible to export your contact list in PDF or CSV format using this menu.

<figure><img src="/files/Iw7JK53ZR50N8AZj4Tr3" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}

## Select an export format

Use the filter dropdown and select the format you wish to export to.
{% endstep %}

{% step %}

## Filter and export contacts

You will now be prompted to filter your contacts by label. If you want to export your entire contact list, leave this field set to **"All Contacts"**.

Once you have selected your filter, click **"Export"** to download the file in the format of your choice.
{% endstep %}
{% endstepper %}

The image above is an example contact list exported to PDF.

The image above is an example of a contact list in CSV format, viewed in Microsoft Excel.


---

# 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.agilecase.com/user-documentation/the-contact-tab/filtering-and-exporting-contacts.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.
