> ## Documentation Index
> Fetch the complete documentation index at: https://docs.clustr-ai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Client companies

> The companies you already sell to, and how Clustr uses the list

A client company is a company you already work with. Clustr keeps one list of
them per workspace, and it is the only place Clustr decides who your clients are.
Every feature reads it: turn on **exclude client companies** and people who work at
your clients are left out of your results, and competitor monitoring treats the same
companies as your customers.

## Three sources

A company gets on the list in one of three ways. Each is shown as a badge next to
the company.

| Source | How it gets there | Changed through |
| - | - | - |
| **Manual** | Added one at a time | The app, [Add a client company](https://docs.clustr-ai.com/api-reference/add-client-company.md) |
| **CSV** | Imported in bulk | The app, [Import client companies](https://docs.clustr-ai.com/api-reference/import-client-companies.md) |
| **CRM** | Pulled from your CRM by the client rule: a company property, a won deal, or both | Your CRM, and the rule: the app, [Set Client Rule](https://docs.clustr-ai.com/api-reference/set-client-rule.md) |

When you import connectors who are your clients, tick **They are clients** in the
import (or pass `mark_companies_as_clients` to
[Import Connectors](https://docs.clustr-ai.com/api-reference/import-connectors.md) or the `import_connectors` MCP
tool). Once the import finishes, each connector's current company is added to the
list as a CSV row.

Manual and CSV rows need a name and a **LinkedIn company URL**: a
`linkedin.com/company/` page, by numeric id or slug. Person profiles, school
pages and showcase pages are rejected, and so is a slug on its own. A domain is
optional.

Removing a manual or CSV row deletes only that row. A CRM row cannot be removed
from Clustr, because the next sync would bring it back; change the company in
your CRM, or mark the company not a client.

## CRM rule

For each connected CRM (HubSpot, Salesforce or Attio), you choose which of its
companies are clients: in the app on **Targeting > Clients**, through the API, or
from your assistant over [MCP](https://docs.clustr-ai.com/mcp-server.md). It is a workspace setting of its own,
like your target accounts and excluded companies, and every feature reads the list
it produces. A rule has one or both of two conditions.

**A company property:**

* a checkbox property counts a company when it is ticked
* a dropdown or multiple choice property counts it when it has one of the values you pick
* a text property counts it when it equals one of the values you type

**Has a won deal:** the company has at least one won deal. HubSpot and Salesforce
mark won deals themselves, and Clustr reads that flag, never a stage name, so a
renamed stage still counts. Attio has no won flag, so for Attio you tick the deal
stages that count as won:

| CRM | A won deal is |
| - | - |
| HubSpot | a deal in a Closed Won stage (`hs_is_closed_won`) |
| Salesforce | an opportunity marked Won (`IsWon`) on the account |
| Attio | a deal in one of the stages you pick, on its associated company |

With both, choose **Match either** (the property or a won deal is enough) or
**Match both** (a client needs both). With no rule saved, no companies come from
that CRM.

The editor shows how many CRM companies the rule selects before you save. Saving
starts a sync. Removing the rule clears that CRM's companies from your list.

After that the list **updates nightly, or when you press Sync now**. There are no
live updates: a change in your CRM shows up on the next sync. Two safeguards keep
a bad sync from emptying your list:

* a sync that stops before the end removes nothing
* a sync that would remove more than half of that CRM's clients, while the rule has
  not changed, is held and removes nothing

### On the API and over MCP

| Do this | API | MCP tool |
| - | - | - |
| Read the rule | [Get Client Rule](https://docs.clustr-ai.com/api-reference/get-client-rule.md) | `get_customer_rule` |
| List the properties a rule can use, and Attio's deal stages | [List Client Rule Fields](https://docs.clustr-ai.com/api-reference/list-client-rule-fields.md) | `list_customer_rule_fields` |
| Count what a draft rule selects | [Preview Client Rule](https://docs.clustr-ai.com/api-reference/preview-client-rule.md) | `preview_customer_rule` |
| Save the rule and start a pull | [Set Client Rule](https://docs.clustr-ai.com/api-reference/set-client-rule.md) | `set_customer_rule` |
| Pull now | [Sync Client Rule](https://docs.clustr-ai.com/api-reference/sync-client-rule.md) | `sync_customer_rule` |
| Remove the rule and its companies | [Delete Client Rule](https://docs.clustr-ai.com/api-reference/delete-client-rule.md) | `delete_customer_rule` |

Each takes the CRM as `provider`. The CRM rows themselves and their sync state
are read through [List client companies](https://docs.clustr-ai.com/api-reference/list-client-companies.md)
and the [summary](https://docs.clustr-ai.com/api-reference/get-client-companies-summary.md); a single wrong
one is fixed with [mark not a client](https://docs.clustr-ai.com/api-reference/mark-not-a-client.md), since
the next pull would bring back a deleted row.

## One entry per company

The same company can come from several sources, say added by hand and also marked
in HubSpot. It still appears **once**, with a badge for each source. Rows are
grouped by the Clustr company they match, else by LinkedIn numeric id, else by
LinkedIn slug. A company that nobody in your network works at is flagged as not
in your network.

## Not a client

**Not a client** takes a company off your client list whatever its sources, and
overrides all of them. It is the fix when your CRM property marks a company as a
client by mistake.

Clustr remembers the company's LinkedIn id, LinkedIn slug, domain and matched
company. Any row sharing one of them no longer counts, including rows your CRM
brings back on later syncs. The company stays visible on the list, marked as
excluded, so you can undo it.

## Matching

A client row matches people on the company's LinkedIn numeric id and LinkedIn
slug, taken from the row or from the Clustr company it matched. Slugs compare
without regard to case or trailing dashes. A row's domain is used only when the
row has no LinkedIn id or slug at all.

## Exclude client companies

`exclude_client_companies` on [Search opportunities](https://docs.clustr-ai.com/api-reference/search-opportunities.md),
and the matching toggle in the app, hide people whose current company is one of
your client companies.

**Your client list is the only thing this hides.** Until you add a client
company, from any source, nothing is hidden: the toggle is on and it excludes
nobody. Marking every company not a client leaves the same empty list, and so
hides nothing either. Clustr never infers a client from anywhere else.

Only the company a person's opportunity is filed under is checked. Someone who
also holds a side role at a client, such as a board seat, is not hidden.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.