# Get GEO Location

<figure><img src="/files/jIDzBHucvOpcVDyRnZ1H" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/tdkDos3DFe8me4E8gyag" alt=""><figcaption></figcaption></figure>

## Description       &#x20;

**What it does** This component allows you to obtain location information using different methods. You can either automatically detect the location or manually enter an address. The result can be provided in two ways:

* By the name of the city
* By the latitude and longitude coordinates

The Get GEO Location component has the identifier of geo-**X**, where **X** represents the instance number of the Get GEO Location component.

**When to use it?**  If your automation needs to know the user’s location, this node can help fetch geographical coordinates. It’s great for location-based services, such as recommending nearby restaurants.

## Component settings

| Parameter Name   | Description                                                                                                                                                                       |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Method           | <p>Method to detect location.</p><p>Options: </p><ul><li>Auto detect location : the system auto detects the current customer's location </li><li>Manually enter address</li></ul> |
| Value            | <p>Only available if you choose "Manually enter adress". </p><p>The location value such as : city adress, latitude & longitude.</p>                                               |
| Data to retrieve | <p>The type of data to return in the output. Options: </p><ul><li>Latitude and Longitude</li><li>City name</li></ul>                                                              |

## Advanced configurations

The Get GEO Location component has no advanced configurations.

## Use case

Here is a simple use case of the Get GEO Location component, where the Get GEO Location component is used to get the localisation of a city in ouput with the latitude and longitude in the input.

<figure><img src="/files/PwkO2pts9k17HCOjo20g" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.diaflow.io/workflow-builder/nodes/built-in-tools/get-geo-location.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
