# search_clients

> Find clients by name, email or phone.

Tool of the AppliFlo MCP server at `https://appliflo.com/api/mcp`. Kind: read: it only looks, so clients can run it without asking.

Find clients by name, email or phone. Returns the workspace's AppliFlo clients (id, name, email, phone, company, owner, open and completed document counts, CRM links) and, when include_crm is on (the default) and the query has at least 2 characters, matching people in the connected CRMs (GlobalyOS or Agentcis) under crm.results, each with a recordRef {sourceId, entity, recordId}. Use it first whenever the user names a client. A CRM person who is not yet an AppliFlo client can be added with create_client (pass crm_record to link it), or linked to an existing client with link_client_crm. Without a query it lists clients, most recently active first. Use get_client for one client's full record, custom fields included.

## Inputs

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | no | Name, email or phone to look for. Omit to list clients. Up to 100 characters |
| `scope` | string | no | workspace (default): every client; mine: clients you own. One of: workspace, mine |
| `status` | string[] | no | Only clients with open documents, all completed, or none |
| `trash` | boolean | no | true: only clients in the Trash |
| `sort` | string | no | One of: last_activity, name, created |
| `page` | integer | no | At least 1 |
| `limit` | integer | no | Clients per page, 1 to 50 (default 25). 1 to 50. Default: 25 |
| `include_crm` | boolean | no | Also search the connected CRMs (default true). Members and up only |
