Kaizen #114 - Geocoding Leads' Addresses in ZOHO CRM

Kaizen #114 - Geocoding Leads' Addresses in ZOHO CRM

Hola, code enthusiasts! buckle up for a new post on our Kaizen series

This week, let us bring the theory to practice and explore a real-world scenario of sales representatives. We will look at how to create a Related List Widget map in Zoho CRM's Lead detail page with features such as lead location display, directions from the current user's location, and showcasing other leads in the same street or city as the current lead.

Significance of Geocoding Leads Addresses in ZOHO CRM

In this ever-evolving landscape of Customer Relationship Management, the ability to harness location data is increasingly vital. Thus, integrating geocoding functionality has emerged as a key enhancement in the lead management. Geocoding transform raw address information into valuable data, providing insights that go beyond mere location. By incorporating this in our widget, ZOHO CRM empowers the sales teams in the following ways. 

1. Geo-Targeting for Marketing Campaigns

Understanding the concentration of leads in specific streets or cities can provide a competitive advantage by tailoring strategies to local market dynamics. This can enhance the relevance of marketing materials and increase the chances of engagement. 

2. Quick Access to Information

While ZOHO CRM offers a Locate Map feature to display the lead's location on a map, having the location-related information readily available within the Lead detail page reduces the need for users to switch between different applications. 

3. Data Driven Decision-Making

Displaying other leads in the same street or city as the current lead provides valuable context. It allow users to derive insights and help making informed decisions. It also aids in understanding the local business landscape and potential opportunities nearby. 

4. Efficient Route Planning

For sales representatives who need to visit leads in person, having a map view helps in optimizing routes. This can lead to more efficient travel, saving time and resources.

5. Increased Productivity Based on Proximity

Strategic planning based on proximity, like arranging visits to leads in close proximity, minimizes the time spent traveling between distant leads. Representatives can allocate more time to engaging with leads and less time in transit. Additionally, this approach helps reduce travel-related expenses, including fuel costs and transportation expenses.

Empowering Sales Representatives with Geocoded Insights

Imagine you are a Sales Manager overseeing a team of sales representatives who handle a diverse portfolio of leads in ZOHO CRM. Your organization's territory extends across various regions, and your sales team frequently finds themselves on the move, meeting with potential clients.

Now, to increase the productivity and efficient traveling, you aim to develop a custom Related List Widget to dynamically display the lead's location and provide the shortest route to their destinations on a map. 

Addedly, you want to show other leads in the same street or city as the current lead. This helps the sales team to plan their visits to multiple leads more efficiently by considering the proximity of leads in the same street or city. It reduces travel time and allows representatives to cover more leads in a given timeframe.

Let us walk you through the configuration process of this widget. 

Step 1: Check this post to carry out the initial set up for creating a widget in ZOHO CRM. 

Step 2: Once you have created a project for ZOHO CRM service via terminal, open the project locally and navigate to the app folder to find the widget.html file.



Step 3: In the widget.html file, integrate your third party map application and design your Related List Widget. 
To keep this demo simple, we have used the Google Maps JavaScript API in the provided sample code. You can access the sample code by downloading the attached zip file in this post. 

Step 4: Now in the terminal, validate and pack the application to create a zip file which can be uploaded to the ZOHO CRM. 



Step 5: Log in to your ZOHO CRM account and navigate to Setup > Developer Space > Widgets > Create New Widget



Step 6: Upload the zipped file and fill in the details as shown in the above image. 

Step 7: Now, go to Setup > Customization > Modules and Fields > Leads > Layouts > Standard > Detail View. 
You can install a custom widget in any of your layouts based on your requirements. In this sample, we will install it in the 'Standard' layout. 

Step 8: Click 'Add' on the left menu and select Widgets



This will list you the available widgets in your organization. Install the widget 'Maps', which was uploaded a few minutes ago. 



Ta-da, It is done! Let us go check this new Related List widget from the Leads module. 



We hope this post was both informative and beneficial!

If you have suggestions for future topics or questions, drop a comment or send us an email at support@zohocrm.com. We are here to listen and engage with you.

Cheers!

    Access your files securely from anywhere







                            Zoho Developer Community




                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                  • Ask the Experts



                                                            • Sticky Posts

                                                            • Kaizen #217 - Actions APIs : Tasks

                                                              Welcome to another week of Kaizen! In last week's post we discussed Email Notifications APIs which act as the link between your Workflow automations and you. We have discussed how Zylker Cloud Services uses Email Notifications API in their custom dashboard.
                                                            • Kaizen #216 - Actions APIs : Email Notifications

                                                              Welcome to another week of Kaizen! For the last three weeks, we have been discussing Zylker's workflows. We successfully updated a dormant workflow, built a new one from the ground up and more. But our work is not finished—these automated processes are
                                                            • Kaizen #152 - Client Script Support for the new Canvas Record Forms

                                                              Hello everyone! Have you ever wanted to trigger actions on click of a canvas button, icon, or text mandatory forms in Create/Edit and Clone Pages? Have you ever wanted to control how elements behave on the new Canvas Record Forms? This can be achieved
                                                            • Kaizen #142: How to Navigate to Another Page in Zoho CRM using Client Script

                                                              Hello everyone! Welcome back to another exciting Kaizen post. In this post, let us see how you can you navigate to different Pages using Client Script. In this Kaizen post, Need to Navigate to different Pages Client Script ZDKs related to navigation A.
                                                            • Kaizen #210 - Answering your Questions | Event Management System using ZDK CLI

                                                              Hello Everyone, Welcome back to yet another post in the Kaizen Series! As you already may know, for the Kaizen #200 milestone, we asked for your feedback and many of you suggested topics for us to discuss. We have been writing on these topics over the


                                                            Manage your brands on social media



                                                                  Zoho TeamInbox Resources



                                                                      Zoho CRM Plus Resources

                                                                        Zoho Books Resources


                                                                          Zoho Subscriptions Resources

                                                                            Zoho Projects Resources


                                                                              Zoho Sprints Resources


                                                                                Qntrl Resources


                                                                                  Zoho Creator Resources



                                                                                      Zoho CRM Resources

                                                                                      • CRM Community Learning Series

                                                                                        CRM Community Learning Series


                                                                                      • Kaizen

                                                                                        Kaizen

                                                                                      • Functions

                                                                                        Functions

                                                                                      • Meetups

                                                                                        Meetups

                                                                                      • Kbase

                                                                                        Kbase

                                                                                      • Resources

                                                                                        Resources

                                                                                      • Digest

                                                                                        Digest

                                                                                      • CRM Marketplace

                                                                                        CRM Marketplace

                                                                                      • MVP Corner

                                                                                        MVP Corner







                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now


                                                                                            Zoho Show Resources

                                                                                              Zoho Writer

                                                                                              Get Started. Write Away!

                                                                                              Writer is a powerful online word processor, designed for collaborative work.

                                                                                                Zoho CRM コンテンツ



                                                                                                  Nederlandse Hulpbronnen


                                                                                                      ご検討中の方




                                                                                                              • Recent Topics

                                                                                                              • Unify Overlapping Functionalities Across Zoho Products

                                                                                                                Hi Zoho One Team, We would like to raise a concern about the current overlap of core functionalities across various Zoho applications. While Zoho offers a rich suite of tools, many applications include similar or identical features—such as shift management,
                                                                                                              • Detailed Account Reports - Add Running Balance

                                                                                                                When one clicks into an account from a report (say P/L or Balance Sheet), the default reports have the Debit, Credit, and then the Amount. The Amount column (last one) is duplicate information. It would be far better and fit more peoples' use cases if
                                                                                                              • Can we add custom fields to portal community profiles?

                                                                                                                How do we add custom fields to our profile pages in our portal community? If we have the ability to add custom fields, will we be able to access those fields via API? We want to use our Desk community in our help portal as our primary community and would
                                                                                                              • Future Orders - Due Date

                                                                                                                Hi In my role, I can receive tickets where the work required is requested months in advance. Using a Future Orders option, which I believe was setup under the On Hold status type, hides the Due Date, in all views/ticket etc. Whilst I understand the reasoning
                                                                                                              • Start Workflow from Deluge Script

                                                                                                                I have developed a customized process from our CRM that leverages a deluge script to create a statement of work document. Once the document has been created via the merge and store function, I would like the ability to start a workdrive review & approve
                                                                                                              • Issue: Ticket Export Does Not Include Ticket Threads

                                                                                                                Dear Zoho Desk Support Team, I hope you’re doing well. I wanted to bring to your attention that the current ticket export feature in Zoho Desk does not seem to include the ticket threads or conversation history. When exporting tickets, only the summary
                                                                                                              • Pushover Notification Module

                                                                                                                Hello, it would be good if there would be a "Pushover" (https://pushover.net/) module besides the standard SMS module. Pushover is now very well known, especially in IT, and is becoming more and more popular. The biggest advantage are the customizable
                                                                                                              • Forward - no Ticket Number

                                                                                                                Hello, when I send an email to Zoho Desk via Reply or Reply All, the ticket number is in the subject line. But if I use forward then not. Is there an option to change this? We often forward e-mails and a reply to this will of course create a new ticket
                                                                                                              • Checkout: Adding Images

                                                                                                                Hello everyone, I’m trying to add a small GoGreen logo in the shipping section of the checkout to promote our sustainable shipping. While I can insert text without any issues, it seems that adding images is not supported in this area. Is there currently
                                                                                                              • Sortie de Zoho TABLE ??

                                                                                                                Bonjour, Depuis bientôt 2 ans l'application zoho table est sortie en dehors de l'UE ? Depuis un an elle est annoncée en Europe Mais en vrai, c'est pour quand exactement ??
                                                                                                              • [solved] #original_sender trick not working for us

                                                                                                                Hello community ! We really like DESK.. it's working like a charm for us but I have a request. Some users are sending emails personnaly to me (instead of using the support adress).. and I saw there was a possibilty to use : #original_sender {mail@mail.com}
                                                                                                              • SalesIQ Chat Notifications

                                                                                                                I am the admin of our salesIQ implementation. About two weeks ago, I started hearing/seeing notification for ALL chats messages from monitored agents/chat participants. I don't need to see these, we have a manager who deals with this. I can't stop the
                                                                                                              • Auto-sync field of lookup value

                                                                                                                This feature has been requested many times in the discussion Field of Lookup Announcement and this post aims to track it separately. At the moment the value of a 'field of lookup' is a snapshot but once the parent lookup field is updated the values diverge.
                                                                                                              • Ensure Consistent Service Delivery with Comprehensive Job Sheets

                                                                                                                We are elated to announce that one of the most requested features is now live: Job Sheets. They are customizable, reusable forms that serve as a checklist for the services that technicians need to carry out and as a tool for data collection. While on
                                                                                                              • Correlated subqueries not supported in Zoho Analytics. This creates huge limitations

                                                                                                                Running into a major limitation in Zoho Analytics: correlated subqueries simply don’t work, even in completely standard SQL patterns inside a JOIN. Example: LEFT JOIN "Bills" b ON d."Id" = b."Deal ID" AND EXISTS ( SELECT 1 FROM "Bill
                                                                                                              • Unknown table or alias 'A1'

                                                                                                                I would like to create a subquery but i am getting the following error: Unknown table or alias 'A1' used in select query. This is the sql statement:  SELECT A1.active_paying_customers, A1.active_trial_customers, A1.new_paying_signup, date(A1.date_active_customers), 
                                                                                                              • HubSpot CRM to Zoho Creator Integration

                                                                                                                I'm trying to create an integration between HubSpot CRM and Zoho Creator with HubSpot being the push source (if a contact is created or updated in HubSpot, it pushes the information to Zoho Creator). I have two questions: 1- Is it best to use Zoho Flow
                                                                                                              • Sorting Descending in a lookup

                                                                                                                I have a case number lookup on multiple forms. I need the most recent added to appear at the top of the lookup or as the list of cases grom it's too much to scroll. Is there a way to have a look up sort descending?
                                                                                                              • Batch Emails in CRM Plus without using a template?

                                                                                                                Hi guys. Is it possible to send the same email to multiple people at the same time within CRM Plus without using an email template? At the moment we create a custom view in Contacts to display the people that we need. We then click the boxes on the left, and click 'Send Mail', but always need to select a template. Sometimes its better to write a quick one off message, without needing to set up a template first. Thanks.
                                                                                                              • bank charge

                                                                                                                a charge to my account was made that I did not authorize, of $16.46, for something that looks like "computer maintenance or something to that matter". please refund.
                                                                                                              • [Free Webinar] Product Updates: Quick Catch-Up Session - Part II - Creator Tech Connect

                                                                                                                Hello Everyone! We welcome you all to the upcoming free webinar on the Creator Tech Connect Series. The Creator Tech Connect series is a free monthly webinar featuring deep-dive technical sessions designed for developers, administrators, and app builders.
                                                                                                              • Introducing Liquid Glass UI on the Zoho Mail iOS app

                                                                                                                Hello everyone! We're excited to announce that the Zoho Mail app is now fully optimised for iOS 26's Liquid Glass design on both iPhone and iPad! The updated interface features transparent layers, smooth animations, and refined visual elements that enhance
                                                                                                              • Jobs at multiple locations

                                                                                                                Hi A lot of times we have same job open at multiple locations. So I would like an option where we can create a job and choose multiple locations. Currently we have to create individual jobs for each location. If we can create one job and mention multiple
                                                                                                              • Zoho Creator customer portal users

                                                                                                                Hi, I'm in a Zoho One subscription with our company. I'm running a project now that involves creating a Zoho Creater application and using the Zoho Creator Customer Portal.  At most we need 25 customer portal users. In our Zoho One plan we only get 3
                                                                                                              • Plan change from Zoho One to Zoho Workplace

                                                                                                                Hello Zoho, Following the recent pricing update for Zoho One, we are interested in transitioning to Zoho Workplace products. Please inform us about the necessary steps for this process so we can proceed promptly. Kind regards,
                                                                                                              • Is it possible to sync data every 5–10 minutes in Zoho Analytics (CRM or Excel imports)?

                                                                                                                Hello Team, I want to know if Zoho Analytics supports near real-time syncing of data from different sources. My requirements: I am importing data from Zoho CRM → Zoho Analytics I also have some datasets maintained in Excel/CSV I want both data sources
                                                                                                              • Partner with HDFC And Sbi Bank.

                                                                                                                Hdfc and sbi both are very popular bank if zoho books become partner with this banks then many of the zoho books users will benefit premium features of partnered banks.
                                                                                                              • Links in Instagram

                                                                                                                Hi there, I have been using Later for a while now but keen to come back to Zoho Social as Later doesn't offer tagging of pages on Facebook but they offer something Zoho doesn't. You can add a link to your bio which opens up your profile feed where images
                                                                                                              • Spotlight #7 - Automatic Transitions in Blueprint

                                                                                                                Previously, records could not be moved from one state to another without user intervention. With automatic transitions, move records from one state to another automatically, when it elapses its pre-defined time. This Spotlight discusses how automatic
                                                                                                              • Sub Folders

                                                                                                                It would be great if there could be sub-folders in reports. We have a ton of individual reports and folders that would be easier to navigate this way 
                                                                                                              • Need a way to run a client script longet than 10 seconds

                                                                                                                By The Grace of G-D. Hi, Currently, Client Scripts are Timing out at 10 seconds. We have complex logics that needs more time. Can you add a feature request to increase the timeout?
                                                                                                              • Zoho CRM Community Digest - November 2025 | Part 2

                                                                                                                Hello Everyone! Second half of November brought several exciting updates, especially around Zia, making AI assistance smarter, faster, and more context-aware. We also feature engaging community snippets highlighting members who went the extra mile to
                                                                                                              • Zoho CRM - Writing Assistant Tone

                                                                                                                Hi Zoho CRM Team, Text in my emails often gets underlined in yellow because I tend to use a more informal tone with my client's, like using "I'm" instead of "I am". Is there some way for me to tell the system that this is my preferred writing tone, so
                                                                                                              • Exciting Updates to the Kiosk Studio Feature in Zoho CRM!

                                                                                                                Hello Everyone, We are here again with a series of new enhancements to Kiosk Studio, designed to elevate your experience and bring even greater efficiency to your business processes. These updates build upon our ongoing commitment to making Kiosk a powerful
                                                                                                              • Hide Contact Number for Field Users & Agents

                                                                                                                Is it possible to hide the contact number in both the Service Appointment and Work Order modules for field users and agents? The agents are using the Zoho FSM mobile app, and we want to restrict them from viewing the contact number.
                                                                                                              • Introducing Dark Mode / Light Mode : A New Look For Your CRM

                                                                                                                Hello Users, We are excited to announce a highly anticipated feature - the launch of Day, Night and Auto Mode implementation in Zoho CRM's NextGen user interface! This feature is designed to provide a visually appealing and comfortable experience for
                                                                                                              • Zoho Flow Credits

                                                                                                                Hi , I would like to ask the reason why every time I added plus credit but few days later I will return back to default? (as below I add credit to 3000 but today It change back to 1000) Most important is, when the credit fully used, not any reminder to
                                                                                                              • Form Submission Emails

                                                                                                                Is there a current delay with submission emails being sent? We've had 10-20 forms completed today but only a handful of emails.
                                                                                                              • How to update Multi File upload field

                                                                                                                Assume that i have a multi file upload field,how can i update the same field again?
                                                                                                              • What is the simplest way to import PST to Yahoo Mail?

                                                                                                                The simplest way to import PST file into Yahoo Mail is to use a third-party tool that supports direct PST-to-Yahoo migration. Software like Aryson PST Converter lets you upload emails, contacts, attachments, and folders from a PST file straight into your
                                                                                                              • Next Page