Territories don’t encode region, vertical, or segment rules themselves. They’re
a pool of members plus distribution weights. To route different leads to
different territories, branch upstream in your workflow
and point each Allocate node at the right
territoryUuid.Anatomy of a territory
| Field | Description |
|---|---|
label | Human-readable name (e.g. West, Enterprise EMEA). |
color | Visual tag: orange, red, purple, green, yellow, or grey. |
description | Optional free-text note. |
members | The pool of members, each with an optional weight. |
fallbackMemberUuid | Optional member who receives the lead when no one in the pool is available. |
members is a member uuid plus an optional weight:
How distribution works
When an Allocate node targets a territory, Cargo runs weighted round-robin over the pool:weight: 1(ornull) — a normal share of leads. A missing weight is treated as1.weight: 2,3, … — proportionally more leads than lower-weighted members.weight: 0— excluded from the pool entirely (no leads).- Unavailable members — anyone filtered out by a capacity is skipped for that assignment.
Fallback member
If every eligible member is unavailable (all at capacity, or all weighted0), the lead goes to the fallbackMemberUuid and the resulting allocation is flagged as a fallback assignment. If no fallback is set, allocation fails with a “no members available” error — so set a fallback whenever every lead must land somewhere.
Manage territories from the CLI
| Command | Required | Optional |
|---|---|---|
create | --label, --color, --members | --description, --fallback-member-uuid |
update | --uuid | --label, --color, --description, --members, --fallback-member-uuid |
Members are CRM-synced — run
cargo-ai revenue-organization member sync --connector-uuid <uuid> and member list to get the member UUIDs you
reference in --members.Route leads to a territory
Territories are consumed by the Allocate node in a play. Select theterritory mode, choose the territoryUuid, and (optionally) attach a capacity to cap each member’s workload.
Capacities
Cap how many records each member can receive within a time window.
Build a play
Add an Allocate step that distributes leads across your territory.

