Docs »

Search Queries

Search queries are a text-based language for filtering records. They are efficient, expressive, and automation-friendly.

Using queries, search functionality is consistent between bots, worklists, data queries, and API requests.

As text, queries can be built dynamically using bot scripting syntax. They also simplify many complex operations that would otherwise be tedious (or impossible) to automate or represent with web-based forms.

To give you an idea of what you can do with queries, here’s a fairly advanced example query that returns open tickets in the Sales or Support group that are less than a month old:

status:o created:"-1 month" group:(sales OR support)

In the following sections we’ll cover query syntax and advanced functionality.