Populate City and State from Zip Code (New Location)

lawrenceberra
Kilo Explorer

We are creating a request for a new location to be created. In that request I would like the requestor to enter the zip and have that validate externally and bring back the city and state, preventing errors. Is it possible and what services have you used. 

Any help or direction is appreciated

Thank you! 

1 ACCEPTED SOLUTION

Narendra Kota
Mega Sage

Hi,

The only option to work on this is to use Google Maps API in ServiceNow platform. There comes a plugin of Google Maps in the platform, which is com.glideapp.google_maps (id of the plugin, System Definition -> Plugins). Once activated, there requires some subscription from Google to use this map API and it's services to populate such details Zip code, State, City based on Location provided.

Hope this helps.
Mark helpful or correct based on impact.

Thanks.

View solution in original post

5 REPLIES 5

Narendra Kota
Mega Sage

Hi,

The only option to work on this is to use Google Maps API in ServiceNow platform. There comes a plugin of Google Maps in the platform, which is com.glideapp.google_maps (id of the plugin, System Definition -> Plugins). Once activated, there requires some subscription from Google to use this map API and it's services to populate such details Zip code, State, City based on Location provided.

Hope this helps.
Mark helpful or correct based on impact.

Thanks.

Thank you! I will have a look into that plugin.

Hi Guru, 

Thanks for your proposed solution, as we are also having the same requirement but can I know what will be the charges for subscription from Google for this API for google maps if you know please let me know?

 

Regards,

Shaik Ibrahim.

Chris M3
Tera Guru

Another option is USPS API's that I believe are freely available.  This page describes the API call to lookup city/state from a ZIP.

 

https://www.usps.com/business/web-tools-apis/address-information-api.htm#_Toc532390356