---
sourceDocument: Brazil Conversational Interfaces
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/conversational-interfaces

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Conversational Interfaces

ft:clusterId :

    - convint

bundleId :

    - convint

workflow :

    - Platform


---

# Using the Geolocation topic block

# (Legacy) Using the Geolocation topic block {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of (Legacy) Using the Geolocation topic block

The Geolocation topic block is a pre-built component within ServiceNow conversations that allows topic authors to retrieve a user's latitude and longitude coordinates with their permission.
This location data helps in responding efficiently to user requests, such as dispatching nearby technicians to customer sites.
Show full answer Show less  

## How It Works

When a user interacts with the Geolocation topic block for the first time, they are prompted to share their location. Users may encounter browser or operating system-specific permission prompts allowing them to:

* Allow always
* Allow one time only
* Block access

If the user consents, the block retrieves and sends their coordinates to the ServiceNow instance. If declined, the block does not retrieve location data and provides an error message for the topic author to address, which is also logged as an output parameter.

## Customization and Management

Topic authors and admins can modify the Geolocation topic block by duplicating and renaming it for use in larger conversation flows. They can customize the prompt language using data pills or scripts to explain why location permission is requested.

The properties sheet allows configuration of:

* **Input mappings:** Customize how users are asked for permission to share location.
* **Output mappings:** Specify which variables (e.g., latitude, longitude, error details) are returned and stored as server variables.

Latitude and longitude are essential outputs, but including error messages and status details can aid in troubleshooting issues.

## Practical Benefits for ServiceNow Customers

* Enables faster, location-aware responses to users by integrating geolocation data into conversations.
* Supports operational efficiency, such as dispatching field technicians based on proximity to customer sites.
* Flexible customization allows tailoring the user permission experience and handling of geolocation data within workflows.  
Topic authors can include a pre-built topic block called Geolocation in conversations
with users. The Geolocation topic block retrieves the latitude and longitude coordinates of the
user's location.

Topic authors can add this topic block to larger conversation flows. With the user's
permission, the topic block retrieves the user's latitude and longitude location coordinates.
Knowing these coordinates can help topic authors respond to customer requests or issues faster
and more efficiently.

For example, you may need to send a technician to a customer site to resolve an incident. To
quickly respond to the customer, you need to know which technicians are located nearby so you can
dispatch the appropriate technician for the customer's location.

For general information about how geolocation is used on the ServiceNow platform, see [Geolocation](https://www.servicenow.com/docs/access?context=c_Geolocation&version=brazil&pubname=brazil-servicenow-platform&ft:locale=en-US).

## Share location details {#va-geolocation__id_xy1_vmw_ypb}

The first time a user, such as a field technician, uses the Geolocation topic block in a conversation, they are asked if they would like to share details about their location.

{#va-geolocation__table_epl_33n_xrb__entry__2}

| User choice | Topic block response |
|-|-|
| Yes | The topic block sends the user's latitude and longitude coordinates from the server to the user's device. If users want to allow the ServiceNow instance to access their location, users may then see operating system-specific or browser-specific prompts. Examples of such prompts include the following: * Allow (always) * Allow (one time only) * Block (don't allow) {#va-geolocation__ul_fry_3jn_xrb} Depending on the user's response, they may see this prompt one or more times, or they may never see it. |
| No | The topic block does not retrieve user coordinates and displays a relevant error message for the topic author to resolve. The error is logged as an output parameter. For details, see [Geolocation topic block parameters](https://servicenow-prod.fluidtopics.net/ajcYSYuk_YYzBie7XUpsqw#va-platform-topicblocks__geolocation-topic-block-properties). |
[Table 1. Geolocation topic block flow]

{#va-geolocation__table_epl_33n_xrb}

## Modify the Geolocation topic block {#va-geolocation__section_ymx_klw_ypb}

If you are a topic author or an admin, you can modify the Geolocation topic block flow, as
applicable. Simply duplicate the topic block and rename it. You can then use it as needed in the
larger conversation flow you're designing.  
The Geolocation topic block properties sheet lets topic authors specify the input and output mappings. You can also customize the prompt using data pills or scripts. For example, you can include an explanation or reason for asking the question. For information about using data pills and scripts, see [Assistant Designer controls](https://servicenow-prod.fluidtopics.net/GFhqH2CiZmVKxNteF9zhhQ "A Virtual Agent topic consists of a collection of controls within a topic flow. Use these controls to collect, process, and present information to your users. Controls can also read, create, and update records on your instance.").Figure 1. Share location prompt in the Geolocation topic block properties

Use the input mappings to customize how Virtual Agent asks users for permission
to share their location. The response is passed to the topic block.  
Use the output mappings to specify the variables that are returned from the topic block in the conversation. Figure 2. Output mapping properties in the Geolocation topic block

All the variables are selected by default. Keep the default choices, or select the variables
you want returned from the topic block. At a minimum, you should select the latitude and
longitude coordinates. However, error messages, error type, and status details could be useful
when resolving problems. The output mappings you select are stored as variables on the
server.  
Figure 3. Geolocation topic block results

For more information about the Geolocation topic block properties, see [Geolocation topic block parameters](https://servicenow-prod.fluidtopics.net/ajcYSYuk_YYzBie7XUpsqw#va-platform-topicblocks__geolocation-topic-block-properties).

