Skip to content

US Territory

US Territory fields route leads to agents based on US geographic location. Agents configure their territories using US zip codes, counties, states, or regions. When a lead comes in, the input can be any location format — a city name, zip code, phone number, address, or state — and EnforcedFlow automatically resolves it to the right agent.

  1. Navigate to the Fields tab in your group
  2. Click Add a New Field
  3. Select US Territory as the field type
  4. Click Save

The input type doesn’t need to match how your agents are configured. A lead can come in as a city name while your agents are set up by zip code — EnforcedFlow decodes the input and matches it to the right agent automatically.

When you add an agent to the group, the US Territory field appears as a location input. Enter zip codes, counties, states, or regions to define each agent’s territory. Agents can have territories at different granularity levels — one agent might cover specific zip codes while another covers an entire state.

When a lead comes in, EnforcedFlow resolves the location through a three-step process, trying each step in order until a match is found.

When the input type matches the agent config type (e.g., both are zip codes), the system does an exact value lookup. This is the fastest and most precise match.

If no direct match is found, the system checks whether the input falls within an agent’s territory using the geographic hierarchy.

A state input like “California” includes all zip codes in CA. If multiple agents match equally, assignments are distributed via round robin.

When no direct or inclusion match exists — for example, an unassigned zip code — the system falls back to geographic proximity and assigns the nearest agent.

When multiple agents match equally at the same resolution step, leads are distributed using round robin.

Below are 13 scenarios across 3 configuration types demonstrating how flexible matching works in practice.

Agents: John (94103, 94110), Sarah (90012, 90210), Mary (60601)

Each agent is assigned specific zip codes. The input can be anything — a city name, a county, a phone number, or even a nearby unassigned zip — and the system resolves it to the matching agent.

Nearest match when input zip is unassigned

Section titled “Nearest match when input zip is unassigned”

Multiple agents in same state triggers round robin

Section titled “Multiple agents in same state triggers round robin”

When the input is “California” and multiple agents have zip codes in CA, the system can’t pick just one — so it round-robins between all matching agents.

Agents: John (San Francisco County, Marin County), Sarah (Los Angeles County, Orange County), Mary (Cook County)

Each agent is assigned specific counties. Inputs like zip codes, city names, or state names are resolved to the correct county and matched to the right agent.

State input matches counties in that state

Section titled “State input matches counties in that state”

Nearest county match when input county is unassigned

Section titled “Nearest county match when input county is unassigned”

Multiple agents in same state triggers round robin

Section titled “Multiple agents in same state triggers round robin”

When the input is “California” and multiple agents have counties in CA, the system round-robins between all matching agents.

Agents: John (California, Nevada), Sarah (New York, New Jersey), Mary (Texas)

Each agent is assigned entire states. Zip codes, phone numbers, and region names all resolve to the correct state.

Region input matches states in that region

Section titled “Region input matches states in that region”

Assign agents to states or regions. A lead from any city or zip within that area routes to the right rep automatically.

Assign agents to specific zip codes or counties for precise coverage areas. The system handles input in any format — a customer might provide their city, address, or phone number and still get matched to the right local agent.

Different agents can operate at different granularity levels. One agent might cover all of California (state level) while another covers only Los Angeles County. The system respects the hierarchy — a lead from LA County goes to the county-level agent, while a lead from Sacramento goes to the state-level agent.

US Territory fields work with Zapier (pass a location value into the US Territory field), email forwarding (location is auto-extracted from email content), and the API.