account_build
[Tier 1 — Attribute Grouping Builder] When: territories should mirror an account attribute column from CRM exports (rep name, territory_name, territory code). Prerequisites: ingest_accounts with grouping column; part_layer chosen; viewer connected. Omit ts and ts_handle when the session id argument is already set. That session is the TS. Numeric codes are labels, not balance metrics; scoped builds use in-scope accounts only. Part scope defaults to bbox_intersect (bbox proximity of ingested accounts). When the user names a state/region ('TX ZIPs only'), pass part_scope=explicit and part_filter={state_abbr: TX} — not bbox_intersect. Scope fields are top-level part_filter/part_ids. Progress: linked tasks publish live subphases on Tasks status / MC overlay (grouping → radial seeds → inflate → empty-part assign → interlock polish) with cooperative cancel — same poll loop as auto_build (next_action / sleep_ms). VISIT FREQUENCY: when a cadence column is declared, pass visit_frequency_field to scale workload or ignore_visit_frequency=true for one visit per cycle — do not inherit the column silently. Modern form-capable clients (protocol >= 2026-07-28) may be prompted in-band for missing grouping_field / part_layer / tal_label; legacy hosts keep required-arg / INVALID_REQUEST errors. Next: analyze + load_analysis_panel. Scenarios: ACB-001..004, MC-011.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | ||
| part_ids | No | ||
| tal_label | No | ||
| ts_handle | No | ||
| part_layer | No | ||
| part_scope | No | ||
| output_mode | No | tal is the default. assignments returns assignments_artifact plus an authenticated download_url; no ts_handle, tal_id, or map_refresh. | tal |
| part_filter | No | ||
| point_layer | Yes | ||
| repair_policy | No | default | |
| grouping_field | No | ||
| map_session_id | No | ||
| conflict_policy | No | plurality_account_count | |
| guidance_handle | No | ||
| expected_revision | No | ||
| visit_frequency_field | No | ||
| ignore_visit_frequency | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||