Leads auto distributing in Bitrix24 CRM based on IP of user who filled a webform on website
Our client have got several filials in different cities and different managers that operate leads in each city. Client want that each new lead in CRM will be automatically recognized from which city it is and then be transfered to appropriate manager from this city.
When lead created from webform on site IP-address of user stored in one of Lead’s field. Then we make the request using API to web service that find out city from IP address, and then least loaded manager from this city put as responsible manager for this lead.
Also when incoming call come in our handler spots phone city code, finds out the city where from this call come and transfers created lead to appropriate manager.