You can auto assign leads by city or pincode in a CRM by capturing location in a clean field, mapping each city or pincode range to a territory, and letting robots or a business process set the responsible person. Bitrix24 supports this with custom fields, robot conditions and a fallback rule for unknown locations.
Yes, you can auto assign leads by city or pincode in your CRM, and in Bitrix24 it takes three pieces: a clean location field on every lead, a territory map that links each city or pincode range to a sales person or team, and robots that set the responsible person based on that map. Add a fallback owner for unknown locations, and every regional lead reaches the right rep within seconds.
Picture a building materials dealer with reps in Chennai, Coimbatore and Bengaluru. A lead from Tiruppur fills the website form at 9 PM. With location-based routing, the Coimbatore rep sees it first thing, already assigned, with a call task waiting. Without it, the lead sits in a shared list until someone "distributes" it. This guide shows how to build the first version.
When does city or pincode routing make sense?
Location-based assignment is not for every team. It works best when geography changes how you sell, deliver or service. Common examples in India:
- Field sales teams that visit customers, such as interiors, solar, water purifiers or industrial equipment.
- Dealers and distributors with regional partners who must get leads from their own area.
- Service businesses where a technician or branch must reach the site, like pest control or home repairs.
- Language-based selling, where a Tamil-speaking rep handles Tamil Nadu and a Kannada-speaking rep handles Karnataka.
- Real estate and education businesses with branch offices in specific cities.
If your team sells only over phone and video, and any rep can serve any city, round robin or workload-based assignment is usually simpler. We compare those methods in our guide to sales automation with CRM.
City, pincode or territory: which field should drive assignment?
This is the decision that most teams get wrong. Many teams route on whatever the customer typed in a "City" box, and then wonder why half the leads go to the fallback owner. Here is how the three options compare.
| Routing field | How it is captured | Strength | Weakness | Best used for |
|---|---|---|---|---|
| City (free text) | Customer types it | Easy to ask | Spelling varies: "Bangalore", "Bengaluru", "Blr" | Avoid as the only rule |
| City (dropdown list) | Customer picks from a list | Clean, consistent values | List must be maintained | Teams covering a fixed set of cities |
| Pincode (6 digits) | Customer types it, validated | Precise, works for small towns | Needs a mapping to territories | Field sales, service visits, dealers |
| Territory (custom list field) | Set by robot or script from city or pincode | One clean value for all rules and reports | Needs a setup step | Every team with more than a few regions |
Our recommendation at Acemagick: capture pincode (or a city dropdown) from the customer, then fill a separate "Territory" field from it. All assignment rules and reports then read only the Territory field. When a rep leaves or a region is split, you change the mapping in one place instead of editing dozens of rules.
A quick note on how Indian pincodes work
Indian PIN codes are six digits, and the first digits narrow the location step by step. The first digit indicates a broad postal region, the first two a sub-region or postal circle, and the first three point to a sorting district. That means you can often route on the first three digits instead of listing every pincode. Always check your mapping against the official India Post directory before going live, because district borders and branch coverage do not always match your sales territories.
How to auto assign leads by city or pincode in Bitrix24
Here is the build order we follow. Each step uses standard Bitrix24 CRM features.
Step 1: Make location a required, clean field
Add pincode as a field on every lead source. On Bitrix24 CRM forms, add a pincode field and make it required for regions where you route by location. Our guide to Bitrix24 CRM forms for website leads covers field setup in detail.
For other sources, map the location at entry:
- Facebook Lead Ads: add a city or pincode question to the lead form, and map it to the CRM field during integration. For Bonvoice, we connected Facebook Lead Ads directly into their Bitrix24 CRM so new ad leads land in the right pipeline instantly.
- IndiaMART-style portals: most portal leads include a city; map it into the CRM city field.
- WhatsApp and Open Channels: have the chatbot or agent ask for the pincode early, then save it to the lead.
- Phone calls: an IVR option or the agent's first question can capture the city.
Step 2: Build the territory map
Make a simple sheet first: territory name, cities or pincode prefixes, primary owner, backup owner. For example, "Kongu" could cover Coimbatore, Tiruppur and Erode, while "Chennai Metro" covers Chennai and nearby suburbs. Keep territories few and clear at the start; you can split them later.
Then create a "Territory" custom field on leads (and deals) as a list, with one value per territory.
Step 3: Fill the Territory field automatically
For a small number of cities, robots with conditions are enough. On the first lead stage, add a robot that changes the Territory field, with a condition such as "City equals Coimbatore". Repeat for each city or group.
For pincode-based routing across many districts, a long chain of robot conditions gets hard to maintain. Here a business process or a small script using the Bitrix24 REST API is cleaner: it reads the pincode, looks up the prefix in your map and writes the Territory value. This is the kind of custom API integration we often build for clients with wide coverage.
Step 4: Set the responsible person from the territory
Now add robots on the first lead stage that change the responsible person, each with a condition on the Territory field. If one territory has several reps, the "change responsible" robot can distribute among a group of employees, so a busy city like Chennai is shared instead of landing on one person.
Order matters. The Territory robot must run before the assignment robots, so place them in sequence or add a short delay to the assignment step.
Step 5: Add a fallback and an alert
Some leads will always arrive with no pincode, a wrong pincode or a city you do not cover. Add a final robot: if Territory is empty, assign the lead to a fallback owner (often an inside sales person or the sales coordinator) and notify the sales head. That person qualifies the location and reassigns manually.
Step 6: Follow up immediately after assignment
Assignment is only half the job. Right after the owner is set, add robots to create a call task, send a welcome WhatsApp from the approved template, and start the follow-up rhythm. Our guide to the automated welcome message for new leads has templates you can use.
What should happen when the assigned rep does not respond?
Location routing creates one risk: if the only rep in a territory is on leave or in the field all day, leads wait. Plan for it.
- Backup owner per territory. Note it in your map and use it when the primary owner is marked absent.
- Time-based escalation. If the lead is still in the first stage after your target response time, notify the team lead and reassign to the backup. Our guide on escalation rules for unattended leads explains tiered setups.
- Working hours. Leads arriving at night can be assigned normally, but the first call task should be due the next morning, not instantly.
Setup checklist for location-based lead assignment
Run through this numbered checklist before you switch routing on for all sources.
- List your territories with cities or pincode prefixes, primary owner and backup owner.
- Check the pincode mapping against the India Post directory for edge districts.
- Add a required pincode field or city dropdown to every CRM form.
- Map city or pincode from Facebook, portals, WhatsApp and IVR into the same CRM field.
- Create a Territory list field on leads and deals.
- Add robots or a business process to fill Territory from city or pincode.
- Add assignment robots based on Territory, with group distribution where needed.
- Add a fallback owner and manager notification for empty Territory.
- Add the first call task and welcome message right after assignment.
- Test with real pincodes from each territory, plus a blank and a wrong one.
- Build a report of leads by Territory and by fallback owner, and review it weekly.
Mistakes we see in city and pincode routing
Routing on free-text city. Spelling variations quietly break your rules. Use a dropdown or pincode.
Too many territories on day one. Twenty micro-territories with one rep each are fragile. Start broad, measure, then split.
No fallback owner. Without one, unknown-location leads have no owner at all, which is worse than manual distribution.
Forgetting deals. If the lead converts to a deal, carry the Territory field over, so regional pipeline reports and dealer reports stay accurate.
Never reviewing the map. Rep changes, new branches and new dealers all change the map. Review it every quarter.
Why choose Acemagick as your Bitrix24 Gold Partner
Location routing touches every lead source, so the setup needs care. Here is why Indian businesses choose Acemagick for it:
- Bitrix24 Gold Partner that configures robots, business processes, smart processes and custom fields daily for Indian sales teams.
- Real lead-source integration work, such as Facebook Lead Ads into Bonvoice's CRM and Fly Airtaxi's IVR choices written into matching Bitrix24 leads.
- Custom API integrations when pincode lookups outgrow simple robot conditions.
- Clear per-seat pricing: βΉ30K for 5 users, βΉ65K for 50 users, βΉ1.2L for 100 users and βΉ2.35L for 250 users (first year, + GST).
- Training and support: live Zoom training, recorded videos, SOP/KRA/KPI framework, on-call support MonβFri 10AMβ6PM and monthly performance reports.
Get your leads to the right city team automatically
If your leads still wait for someone to forward them by region, we can fix that in your CRM. Acemagick will map your territories, connect every lead source and set up assignment with fallbacks. Explore our Bitrix24 integration services, fill the form at https://acemagick.com/#contact, call or WhatsApp +91 96770 10013, or email [email protected].
Why Bitrix24 is our top CRM pick for Indian businesses
- β All-in-one: CRM, tasks, projects, chat, telephony, HR and websites in one product, instead of paying for five separate apps.
- β Start free, grow later: a free plan to begin with and paid plans as your team grows.
- β Strong automation: automation rules, triggers and smart processes for sales and non-sales work.
- β Works the Indian way: WhatsApp, IVR, Facebook leads, payment links and GST-ready quotes connect easily.
- β Open API: connects to Tally, ERPs and your own software through webhooks and the REST API.
Why work with Acemagick on your Bitrix24 CRM
- β Official Bitrix24 Gold Partner based in Chennai, serving businesses across India.
- β Clear per-seat pricing: from βΉ30K + GST for 5 users, with WhatsApp API, AI chatbot and Day 1/3/7 follow-ups included.
- β Real integration work: Facebook Lead Ads for Bonvoice, IVR-to-lead automation for Fly Airtaxi, smart processes for Q-Line.
- β Your team actually uses it: live Zoom training, recorded videos, SOP/KRA/KPI framework.
- β Support after go-live: on-call help MonβFri, daily health checks, monthly reports and strategy calls β we stay with you after go-live.
Frequently Asked Questions
Can Bitrix24 assign leads automatically based on city?
+
Yes. Bitrix24 robots can change the responsible person on a lead, and you can add conditions that check a field such as City or Territory. For clean results, capture city from a dropdown or pincode instead of free text, then route on a single Territory field.
Is it better to route leads by city or by pincode?
+
Pincode is more precise, especially for small towns and suburbs that customers may name differently. City is simpler if you cover only a few large cities. Many teams capture pincode, convert it to a Territory field, and run all assignment rules from that one field.
What happens if a lead has no city or pincode?
+
Set a fallback rule. If the Territory field is empty after the mapping step, assign the lead to an inside sales person or coordinator and notify the sales head. That person confirms the location with the customer and reassigns the lead to the right territory owner.
Can one city have more than one sales person?
+
Yes. For busy territories, the robot that changes the responsible person can distribute leads among a group of employees instead of one person. This spreads the load fairly while still keeping leads within the right regional team, and you can add a backup owner for leave days.
Do I need custom code for pincode-based lead assignment?
+
Not always. A few cities or pincode prefixes can be handled with robot conditions. If you route across many districts or states, a business process or a small script using the Bitrix24 REST API is easier to maintain, because the mapping sits in one place.
How do I route leads from Facebook and IndiaMART by location?
+
Add a city or pincode question to your Facebook lead form and map it into the CRM field during integration. For portal leads, map the city the portal provides. Once all sources write into the same field, the same territory rules work for every lead.
Want a CRM that your team actually uses?
Acemagick is a Bitrix24 Gold Partner. We set up your CRM, connect your lead sources, automate follow-ups and train your team β usually live in weeks, not months.