Catalog / Optimisation & Planning / OPT-034

Sales territory design, account assignment & quota setting

Estimate the sales potential of every account and region with ML, then use a constrained solver to balance territories, assign accounts to reps and set fair, attainable quotas.

Sales organisations redraw territories and set quotas once or twice a year, mostly in spreadsheets and negotiation. The result is unequal opportunity: some reps get rich territories and easy targets, others the opposite, which drives attrition and missed plans. ML estimates the potential of each account and region; a constrained optimiser then balances workload and potential, keeps customer continuity, assigns accounts to reps and proposes quotas, and re-plans quickly when headcount or markets change.

Problem & value

  • Today: territories are drawn from historical revenue, postcodes or gut feeling, quotas are a top-down number cascaded by percentage, and mid-year changes (a rep leaves, a product launches) trigger weeks of manual re-alignment. Historical revenue is a poor proxy for potential: it rewards past coverage rather than opportunity.
  • AI value: potential-based design (white-space instead of last year's sales), balanced workload and opportunity, explainable quotas that add up to the company target, faster scenario analysis, and measurable fairness (spread of attainment across reps).
  • Why distinct: PRED-002 forecasts deals but does not allocate. Here a potential model feeds a decision (who covers what, at which target). Vendors position this as an established category of sales-planning and incentive software [1][2][3].
  • Benefit figures vary strongly by vendor and are mostly self-reported case studies; measure your own baseline (attainment spread, time-to-realign, regretted attrition) before promising numbers.

Variants

  • Geographic territories: postcode/NUTS or drive-time based alignment for field sales (also pharma field force, insurance agents, distribution reps).
  • Named-account assignment (enterprise/ABM): assign strategic accounts by industry, parent hierarchy, language and relationship rather than geography.
  • Inside-sales and customer-success books: assign leads/accounts to pods by capacity and segment, often continuously (lead routing, round-robin with weights; see AGENT-007).
  • Quota setting: top-down (company target to regions) combined with bottom-up (account potential) and capacity-based (ramped rep equivalents) methods.
  • Channel and partner coverage: allocate partner accounts and distributor regions.
  • Private use: none.

How it works

  1. data prep (CRM + market data + geodata + rep capacity)
  2. potential models (account/segment propensity and spend potential, white-space)
  3. constraints & objectives (balance potential/workload, continuity, travel, rules)
  4. solver (MIP / constraint programming / graph partitioning; multi-scenario)
  5. review: sales ops + regional leaders adjust, lock accounts, compare scenarios
  6. quota proposal (top-down target split by potential and capacity; fairness check)
  7. publish to CRM/ICM, notify reps, track attainment and re-plan triggers
  • Potential model: gradient-boosted trees or similar on firmographics, installed base, product usage and purchased market data; output is expected addressable spend per account. Lookalike modelling covers prospects without history.
  • Optimiser: assignment of units (accounts or geographic cells) to reps, maximising balance of potential and workload, with penalties for moving accounts (continuity), travel time and rule violations. Typically a mixed-integer programme solved with a commercial or open solver; large geographic problems use heuristics or graph partitioning.
  • LLM role (optional): natural-language what-if ("add two reps in the south, keep top 20 accounts fixed") translated into constraints (see OPT-018), and plain-language explanations of why an account moved. The LLM never decides the allocation.
  • Human-in-the-loop: sales operations owns the model; regional leaders review and lock accounts; leadership approves quotas; reps can raise objections through a defined process.

Data preparation

Territory design needs a trustworthy account base. Data typically lives in the CRM (accounts, opportunities, quota attainment), the ERP (revenue by customer), Excel files used for annual planning, purchased market data and address or postcode tables. Rep data sits in HR systems and spreadsheets.

Typical gaps: duplicate accounts and unmerged parent-child hierarchies, missing industry or size fields, outdated addresses, opportunities without a close reason, revenue in ERP that does not match CRM account IDs, and informal account ownership that is not recorded anywhere.

Preparation steps: 1. Inventory sources and map fields to the use case (PREP-002, PREP-005). 2. Deduplicate accounts, resolve hierarchies and match CRM to ERP customer numbers. 3. Enrich with firmographic data and geocode addresses to postcodes or NUTS regions. 4. Restructure planning spreadsheets into tidy tables (PREP-011) and align KPI definitions such as quota, attainment and potential (PREP-012). 5. Pseudonymise rep-level data for modelling (PREP-022) and check purpose and legal basis (PREP-025).

Tools: CRM export or API, a dedup tool or SQL, a geocoder, and notebooks or n8n. Expect around a third of the effort in data work, with account deduplication as the largest item.

Implementation paths

Which path for whom

  • smb (A): CRM-integrated territory and quota tools are mature, and a small sales team rarely justifies custom solver work.
  • enterprise (B): territory and quota rules (strategic accounts, legal entities, continuity) are company-specific and tied to variable pay, so a solver on your own CRM and finance data fits better than a generic product.
  • developer (B): cloud optimisation and LLM APIs let you build tailored what-if tooling on the client's CRM export.
  • Territory and quota planning platforms: Anaplan (connected planning, territory and quota planning apps), Varicent (territory, quota and incentive compensation), Xactly (planning plus ICM), Salesforce (Maps / Revenue Cloud and Agentforce-based planning features), SAP Sales/Commissions, Fullcast, lightweight mapping tools, and CRM-native territory management (Salesforce Enterprise Territory Management, Microsoft Dynamics 365 Sales territories, HubSpot). Many of these offer EU data residency; check sub-processors and region choices per vendor.
  • EU-based options: SAP (DE) for large enterprises; for geographic optimisation, European GIS/route-planning vendors and partners are an alternative to US platforms; verify current products during selection.
  • Choose A when: more than ~20 reps, an existing CRM, and a recurring annual and mid-year planning cycle. Budget mostly for implementation and data quality.

Path B — Build on cloud APIs

  • Solver as a service / library: Google OR-Tools (open source, runs anywhere), Gurobi or FICO Xpress (commercial MIP), Azure/AWS compute for scenario batches; PostgreSQL/PostGIS and OpenStreetMap-based routing (OSRM, Valhalla) for drive times.
  • ML: managed AutoML or notebooks on EU-region cloud for potential models; LLM API (EU region or EU provider such as Mistral) for what-if parsing and explanations.
  • Integration: CRM APIs (Salesforce, Dynamics, HubSpot) to read accounts and write territory assignments; BI tool for fairness dashboards.
  • Choose B when: unusual constraints (e.g. regulated territories, multiple legal entities) or existing data platform.

Path C — Self-host (open source)

  • Stack: Python with OR-Tools / HiGHS / PuLP / Pyomo for the solver, scikit-learn, LightGBM or XGBoost for potential models, PostGIS plus OSRM or Valhalla for geography, Apache Superset or Metabase for dashboards. Small open-weight LLMs (e.g. Qwen, Llama, Mistral families) via Ollama or vLLM only for the optional natural-language layer.
  • Hardware: CPU server (HW1) is sufficient; the problem is combinatorial, not GPU-bound.
  • Ops effort: a data scientist or OR engineer plus sales-ops owner; plan for model maintenance.

Path D — Custom training

Worthwhile for potential models when you hold rich proprietary data (installed base, product telemetry, tens of thousands of accounts). Start with gradient boosting; deep models rarely pay off on tabular CRM data. Reinforcement learning for dynamic re-assignment is research-stage.

State of the art (2026)

  • Potential-based, scenario-driven planning is now standard in planning platforms; the shift is from annual one-shot design to continuous re-balancing and many parallel scenarios.
  • Generative AI is mainly an interface layer: natural-language scenario building, change summaries and drafted communications to reps. Exact allocation stays with solvers because LLMs do not guarantee feasible, optimal assignments.
  • Fairness diagnostics: attainment distribution, potential Gini-style spread and opportunity-per-rep measures are used to defend quota decisions.
  • Limits and failure modes: poor CRM data quality and stale market data; potential models that inherit historical coverage bias (under-served regions look small); over-optimisation that ignores relationships; instability (small input changes move many accounts); quotas perceived as opaque, causing gaming and attrition; cannibalisation and double-coverage across channels.

Shared resources & combinations

  • Shared capabilities: optimization-solver and geodata with OPT-001 (routing) and OPT-019 (field service dispatch); tabular-ml with PRED-002 (forecasting), which supplies pipeline and win-probability inputs; workforce capacity logic with OPT-003.
  • Combines with: OPT-004 (pricing and discount guardrails), OPT-018 (natural-language optimisation copilot), AGENT-011 (CRM hygiene, essential for input quality), AGENT-007 (prospecting to cover white-space), OPT-035 (routing of inbound customer contacts to agents).

Effort, cost & KPIs

  • Path A: 2–4 months for first planning cycle including data clean-up; licence per seat or per planned rep.
  • Path B/C: 3–6 months for a first usable model and solver; low infrastructure cost, mainly people time.
  • KPIs: share of reps at or above quota, spread of attainment, potential balance across territories, accounts moved per realignment and revenue at risk, time to re-plan after a change, coverage of high-potential accounts, rep attrition and ramp time.

People & change

Sales territories and quotas touch pay and relationships, so change management matters more than the algorithm. Involve management and the head of sales as sponsors, HR for compensation rules, and sales ops and IT as data owners. Bring a few respected reps and area managers in early as a pilot group to review proposals; managers keep the final say on every move of an account.

Works council: yes in practice. Rep-level potential scores, attainment dashboards and quota proposals are suited to monitor performance, so co-determination under section 87(1) no. 6 BetrVG is likely, and section 90(1) no. 3 requires timely information. Variable pay rules may add further co-determination. Consider engaging an AI expert under section 80(3) BetrVG. Public sector or other bodies: staff council.

Data protection: rep data and individual performance are personal data; involve the DPO, run a DPIA if scores evaluate individuals systematically, and sign an AVV with any vendor. Make the logic explainable: publish the factors and fairness diagnostics.

AI literacy: support managers in reading model outputs and limits (GUIDE-006). Typical concern: quotas set by a black box. Address it with transparency, a documented appeal process and what-if sessions (GUIDE-008). See GUIDE-004 for the works council steps and GUIDE-005 for data protection.

Risks, regulation & compliance

  • EU AI Act: classification depends on the design. Pure account and territory allocation with no individual-level effects is likely minimal risk. However, Annex III point 4(b) lists AI systems used to allocate tasks based on individual behaviour or personal traits or to monitor and evaluate performance of workers as high-risk. Quotas, account assignment tied to individual rep performance scores, or AI that feeds pay, promotion or termination decisions can fall into that category; assess case by case (not legal advice) and, if high-risk, plan for the Art. 9–15 and Art. 26 deployer duties (human oversight, logging, informing workers). Emotion inference on reps is prohibited in the workplace (Art. 5(1)(f)); do not add it [4].
  • GDPR: rep performance and attainment data is employee personal data (Art. 88 and national employment law, e.g. German BDSG section 26); customer contacts in CRM are personal data too. Use account-level aggregates where possible, minimise rep-level features, document the legal basis and run a DPIA when profiling employees [5].
  • Works council / labour law: in Germany (BetrVG section 87(1) no. 6), technical systems suited to monitor employees require works council co-determination; involve it early. Variable pay and quota changes may also need contractual or collective-agreement checks.
  • Other: competition law for any exchange of competitor data in market datasets; contractual rights to market data used for potential models.
  • Mitigations: transparent quota methodology, appeal process, bias checks (e.g. region, gender and part-time status in attainment outcomes), human approval of all allocations, versioned scenarios and audit logs.

Getting started

  1. Define goals and constraints with sales leadership: balance, continuity, travel, strategic accounts, and who approves quotas.
  2. Audit CRM data (account hierarchy, duplicates, segment fields) and buy or collect market-potential data for the top segments.
  3. Build a baseline: current attainment spread and potential per territory; test whether a simple potential model beats historical revenue as a predictor.
  4. Pilot one region or segment with a Path A tool or an OR-Tools prototype and compare scenarios with the manual plan.
  5. Involve HR, data protection and the works council before rep-level metrics or quotas go live.

Sources

  1. Anaplan — Sales Planning, territory and quota planning — https://www.anaplan.com/
  2. Varicent — Sales Planning and Performance Management — https://www.varicent.com/
  3. Xactly — Sales Planning and Incentive Compensation — https://www.xactlycorp.com/
  4. Regulation (EU) 2024/1689 (AI Act), Annex III and Art. 5 — https://eur-lex.europa.eu/eli/reg/2024/1689/oj
  5. Regulation (EU) 2016/679 (GDPR), Art. 88 and Art. 35 — https://eur-lex.europa.eu/eli/reg/2016/679/oj
  6. Salesforce — Enterprise Territory Management documentation — https://help.salesforce.com/s/articleView?id=sf.tm2_territory_management.htm
  7. Google OR-Tools — https://developers.google.com/optimization
  8. HiGHS open-source solver — https://highs.dev/
  9. Gesetze im Internet — BetrVG section 87 — https://www.gesetze-im-internet.de/betrvg/__87.html