# Advanced Search

***

## Introduction:

The advanced search bar in the tickets section supports searching by contact names, phone numbers, usernames, email addresses.&#x20;

A two-step search process is implemented to simplify ticket searches. The first step allows you to select the type of search you want to perform: messages, contact numbers, or people (contact name, email, Instagram ID). This selection helps narrow down the search scope and refine the results.

Once you have selected the search filter, you can enter the specific query in the second step. The interface will display the chosen filter, ensuring you are aware of the selected search category while entering your search query.

***

## How to use the enhanced search functionality

{% stepper %}
{% step %}
Click on the search bar in the tickets section to initiate a search

<figure><img src="/files/m96Rc4Mv44GrvKEYKznn" alt="" width="563"><figcaption></figcaption></figure>

{% endstep %}

{% step %}
Select the desired search category: **messages**, **people**, **e-mail** or **contacts**

<figure><img src="/files/FnrhJDrlrqFeFCAJfTJn" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
The default searching is done within messages, if the user doesn’t select any filter then search is performed in messages first.
{% endhint %}
{% endstep %}

{% step %}
Enter your search query, and the system will display results based on your search category

{% hint style="info" %}
You can also save your search results by clicking on the **Save** button
{% endhint %}

<figure><img src="/files/yIYGBN1Gc6s2fasE5fUD" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
Apply additional filters, such as date and inbox type (only applicable for search in messages), to refine your search results if needed.
{% endhint %}
{% endstep %}

{% step %}
Once you save the search results, they will be visible in the left panel. Once you are done using them you can remove the search filter by clicking on the cross button

<figure><img src="/files/u9EQzpfyRwfHJnq2JZ05" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***

## FAQ'S

<details>

<summary>What search categories are available in the advanced search bar?</summary>

You can search by **messages, contact numbers, people (contact name, email, Instagram ID), or emails** to refine your search results.

</details>

<details>

<summary>Can I search within a specific date range?</summary>

Yes, you can apply **date filters** to narrow down search results, but this is only available when searching within messages.

</details>

<details>

<summary>Can I use multiple filters at the same time?</summary>

Yes, you can refine search results using additional filters like **date and inbox type**, but these apply only when searching within messages.

</details>

<details>

<summary>Is the search case-sensitive?</summary>

No, searches are **not case-sensitive**, meaning "John Doe" and "john doe" will return the same results.

</details>

<details>

<summary>Can I search for messages from a specific inbox?</summary>

Yes, when searching within messages, you can filter results by **inbox type** to find messages from specific sources.

</details>


---

# 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://limechatai.gitbook.io/limechat-product-guide/helpdesk/tickets/advanced-search.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.
