Hello everyone,
We're excited to announce enhancements to the Zoho Map integration tasks in Deluge, which will boost its performance. This post will walk you through the upcoming changes, explain why we're making them, and detail the steps you need to take.
What's this change about?
The update brings several key benefits, like:
- Improved response times
- Better structure response
- More detailed and contextual information
- Future scalability
What's changing?
As a result of this update, the response format for Geocode and Reverse Geocode Map tasks will change. We're moving from a simple response to a more structured, JSON-like response as shown below.
For zoho.map.GeoCode()
Current format:
- {
- "latitude": "37.68612315",
- "longitude": "-121.89374181126261",
- "status": "success"
- }
New format:
- {
- "country": "United States of America",
- "country_code": "us",
- "address_line2": "Pleasanton",
- "address_line1": "4141, Hacienda Drive",
- "city": "Pleasanton",
- "street": "Hacienda Drive",
- "lon": "-121.89374",
- "state": "California",
- "label": "Zoho Corporation, 4141, Hacienda Drive, Hacienda, Pleasanton, Alameda County, California, 94588, United States",
- "postal_code": "94588",
- "lat": "37.68612",
- "status": "success"
- }
For zoho.map.rGeoCode()
Current format:
- {
- "country": "India",
- "country_code": "in",
- "address": "Bucket Building, Grand Southern Trunk Road, Guduvancheri, Tamil Nadu, 603202, India",
- "road": "Grand Southern Trunk Road",
- "ISO3166-2-lvl4": "IN-TN",
- "postcode": "603202",
- "state": "Tamil Nadu",
- "village": "Guduvancheri",
- "building": "Bucket Building",
- "status": "success"
- }
New format:
- {
- "country": "India",
- "country_code": "in",
- "address_line2": "Guduvancheri",
- "address_line1": "Grand Southern Trunk Road, Bucket Building",
- "city": "Guduvancheri",
- "street": "Grand Southern Trunk Road",
- "state": "Tamil Nadu",
- "label": "Bucket Building, Grand Southern Trunk Road, Guduvancheri, Tamil Nadu, 603202, India",
- "postal_code": "603202",
- "status": "success"
- }
For zoho.map.getDistance(): The response format for this task will not change. The update only changes the methodology used to provide more accurate real-world distance calculations. Specifically, this involves a move from the spherical law of cosines to the haversine formula, which is the standard for modern GPS apps.
What should you do?
To prevent any disruption to your applications, you'll need to update your Deluge scripts that use these map tasks. To help you identify where these tasks are being used, we'll automatically add a v1 identifier in your existing scripts (e.g., "zoho.map.v1.geoCode;").
Your action plan should be:
- Identify: Locate all instances of Zoho Map integration tasks in your Deluge scripts by searching for the v1 identifier.
- Update: Make necessary changes to your scripts to make sure it aligns with the new response format.
- Test: Thoroughly test your updated scripts to ensure they handle the new data structure correctly.
Help documentation
When does this take effect?
We have rolled out the update to Map tasks on October 21, 2025. Going forward, any newly created Map tasks will use the enhanced version.
All your existing Map tasks will be marked with a v1 identifier in the task name. These v1 tasks must be updated to support the new response format by January 30, 2026. After this date, the old response format will be deprecated and will no longer be supported.
We request your utmost attention to this matter and encourage you to make the necessary changes before the deadline to avoid any disruption to your workflows.
We're confident that these enhancements will make it even easier and more efficient to incorporate location capabilities into your Zoho apps using Deluge.
If you need any assistance or have questions, please feel free to reach out to us; we're always here to help.
Regards,
The Deluge team