# Ask Location

> **Who can use this Card?**
>
> * Gallabox Users having permission to either build and deploy bots or manage bots.
> * Available on Scale and Growth Plans.

## Overview

Ask Location from your customer by using **Ask Location card.**&#x20;

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

{% hint style="info" %}
You can only ask the co-ordinates from the user not the address in text.
{% endhint %}

**For example:** Kindly share your location with us to send the service person.&#x20;

The above text can be made Bold, Italic, or strikethrough using the options provided. The text will add the asterisk(\*) for **Bold**, Underscore(\_) for **Italic text**, and Tilde(\~) for **Strikethrough** as shown in the text below.&#x20;

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

### Other available fields:

1. **Attempt:** In this field, you have to add the number of times you would like to ask the same question to your customers when you get some other response.&#x20;

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

2. **Validation Error Message:** This message is for the customer's when they respond randomly to the question you have asked.&#x20;

<figure><img src="/files/4GY2XYuUVClPdEob5MrS" alt=""><figcaption></figcaption></figure>

3. **Action on Invalid Response:** This is for the Action you want to take when a customer gives an invalid response. You can either [**End the Flow** or **Skip the question** or **Proceed to Fallback**](/bots/gallabox-bot-faqs.md#define-the-options-for-action-on-invalid-response) to continue with the flow.&#x20;

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

4. **Store response in the variable:** You can create or use the previously created variables to store the responses shared by your customers. \
   \&#xNAN;*If you are creating variables for the first time, all you have to do is type the Variables name in the box; it will ask to create the variable once you click on Create "Variable Name" as shown in the screenshot below.*&#x20;

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

Once you have set all the fields required and click on **SAVE.**

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

{% hint style="success" %}
PRO TIP: Use Variables in the **Question Text** and in the **Validation Error Message** to make it more personalized.
{% endhint %}

The ask card sent will have a button with a static text “**Send Location**”. When the end user clicks on “Send Location” will open maps in WhatsApp to share location.

<figure><img src="/files/idrTU2wduYL7ryjYUnja" 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.gallabox.com/bots/ask-questions/ask-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.
