← All tools

Segmentation

Rule-based segments that stay current in Salesforce and HubSpot

Assign records to segments from rules, and keep them assigned as the records change.

SalesforceHubSpotReversible

Segments that live in someone's head. Enterprise means over a thousand employees, except when it means over five hundred, except for the list the marketing team built in March. Nobody can reproduce last quarter's segment because nobody wrote down what it meant.

A segment is a rule, written once, that names records rather than listing them.

Labels are abstract until they are applied. A segment names its labels and the conditions that select them; the field the label is written to is bound when a run applies it. One segment can therefore serve contacts, leads and accounts rather than being rewritten per object.

First match wins. Conditions are evaluated in order and a record takes the first label it qualifies for, so overlapping rules resolve predictably instead of by whichever ran last.

How a pass runs

From scope to record.

  1. Author. The labels and the conditions that select them, saved under Rules.
  2. Scope. A run names the records to label and the field to write the label to.
  3. Evaluate. Each record is tested against the conditions in order and takes the first label it matches.
  4. Write changed only. A record already carrying the right label is skipped.
  5. Record. Every label write is stored with the value before it.

The detail

What it needs and what it does.

Object
Accounts, contacts and leads.
Configured in
Rules, under Segments, as labels and their conditions.
What it writes
The label, to the field the run names.
Who releases it
You choose when you create the run: write on dispatch, hold the whole run for approval, or queue one proposal per record.
Reversible
Yes. Every label write is stored with its prior value and can be put back.
CRMs
Salesforce and HubSpot.

Reproducibility

A segment you cannot reproduce is a list, not a segment.

The difference is whether the definition survives the person who made it.

A list is a set of record ids that was true once. A segment is a rule that is true now. The first goes stale the moment a record changes and nobody can say why a record is on it; the second re-evaluates and can always explain itself.

Because the definition is saved rather than the result, the same segment can be applied again next quarter, applied to a different object, or read by every other tool as the scope for what it does.

For agents

The tools your agent calls.

Reads are free and need no permission to write. Anything that changes a record is a separate grant.

list_rule_templates the segments defined on this connection read
get_rule_template one segment, with its labels and conditions read
create_rule_template author a segment write
dispatch_run start a run that applies one write

Where to start

Find out how many you have.

The readiness scan runs detection against your own CRM and reports what it finds, before anything is merged.