Automated Territory Creator & Optimizer
Maptive's Auto Territory Builder takes your sales data, your rep locations, and your balancing rules, then generates a full set of territories in minutes instead of days.

What the Automatic Territory Builder Does
Maptive's Auto Territory Builder groups geographic boundaries like zip codes or counties into balanced zones using an algorithm.
You pick balancing variables from your spreadsheet or built-in census data, assign a weight to each one, set the number of territories, and click Generate. The tool returns color-coded zones on your map with a graph scoring how evenly each metric landed.
Let the Algorithm Do the Balancing
1
Choose Your Boundaries

Open Map Tools and select Auto Territory Builder. Pick your boundary type and the balancing variables from your data.
2
Set Weights and Limits

Weight each variable so the algorithm knows your priorities. Set your territory count and add any min or max thresholds.
3
Generate Territories in Seconds

Name your territory group and click Generate Territory. Maptive builds the zones and shows how each metric was split.
How to Configure & Generate Automated Territories
Balance Territories by Revenue, Population, or Custom Data
The tool starts by asking you to select a boundary type, which determines the geographic units the algorithm works with. US zip codes are the most common, but counties and states are available too. You can limit the scope to a specific region of the country so the tool does not generate zones across the full national map.
Next you select your balancing variables. These come from numerical columns in your spreadsheet, like total revenue, number of accounts, or customer count, or from Maptive's built-in US and Canadian census data, which includes population, median household income, and age distribution. You can combine both sources in a single run. Each variable gets a weight slider that controls how heavily the algorithm prioritizes it. A high-weight variable will cluster tightly across territories in the results, while a lower-weight one allows more variance between zones.
You then set how many territories you want and click Generate Territory. Processing takes between one and fifteen minutes depending on data volume and geographic scope. The output is a set of color-coded territory boundaries on your map paired with a distribution graph that scores each zone against every variable you selected.


Use Rep Locations & Previous Territories as Starting Points
Two optional settings change how the algorithm builds territories. The first is Respect Sales Rep Locations, which points the tool to a second Maptive map containing your rep home addresses. When enabled, the algorithm centers each territory around its assigned rep and sets the territory count to match the number of reps on that map. Each zone takes its name from the corresponding rep, based on the name column you select from the rep location map.
The second is Respect Previous Territories, which tells the algorithm to start from your current territory layout instead of building from zero. This is available when you have a territory group saved in Maptive and want to rebalance it using updated data. The algorithm adjusts boundaries to correct imbalances while keeping the overall structure close to the original, so reps in unaffected zones retain most of their existing account assignments.
You can enable both settings in the same run. When combined, the tool starts from your current map and rebalances around your rep home addresses at the same time, factoring in both the existing territory structure and each rep's physical location when it assigns zip code or county boundaries to each zone.
Control Territory Output with Minimum & Maximum Constraints
Optimize with Constraints adds hard limits to your balancing variables. After selecting the columns you want the algorithm to balance on, check the constraints box and set a minimum and maximum for any of those columns. The algorithm then generates territories that keep every zone within your thresholds, and the final territory count is driven by the data rather than a number you entered.
According to the Maptive help center, constraining total US sales to between 30 and 40 million per territory produced 38 zones averaging about 35 million each. The territory count was not set in advance. The algorithm calculated how many zones were needed to fit every one within the defined range and generated that number on its own.
Constraints can only apply to columns already selected as balancing variables. If a column does not appear in the constraints panel, return to the variable selection step and add it first. You can constrain multiple columns in the same run, each with its own minimum and maximum slider. The algorithm treats these as non-negotiable limits, so the output respects your thresholds even if that means producing more or fewer territories than you originally entered.




















