# Solicitando ubicación

Puede haber ocasiones en las que necesite preguntarle al usuario su ubicación exacta. Por ejemplo, si quieres llamar a un Uber por ellos.

## Parámetros <a href="#parameters" id="parameters"></a>

Puede enviar una solicitud de ubicación con el parámetro `RB_LOCATION`. La plataforma enviará un botón de respuesta rápida de ubicación en Facebook Messenger.

![Una respuesta rápida de ubicación en Messenger](https://gblobscdn.gitbook.com/assets%2F-L8qsmIDw5_reabURkaE%2F-LDGl-LHOLtuXsoMvykW%2F-LDGlc__7epaIQHixr1N%2F14235551_1274248235927465_1935714581_n.png?alt=media\&token=c3d627ca-b8a2-4a14-9be5-b45d98a5e62d)

Al hacer clic en el botón, el usuario puede seleccionar una ubicación para enviar al bot, incluida una opción para enviar la ubicación actual.

{% hint style="info" %}
Las coordenadas de longitud y latitud resultantes se resuelven automáticamente en una dirección que se almacena en la plataforma. Se puede acceder a la ubicación mediante la `@contact.location`[variable dinámica](/contactos-y-mensajes/variables-dinamicas.md) .
{% endhint %}

## Mejores prácticas <a href="#best-practices" id="best-practices"></a>

Esto se puede utilizar junto con el evento `LOCATION`como confirmación para recibir su ubicación. Es una buena práctica dar retroalimentación al usuario cuando se ha recibido su información.


---

# 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.1980tic.us/integraciones/dialogflow/gestion-de-intenciones/parametros/solicitando-ubicacion.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.
