# Location

## **Ask Location Card**&#x20;

Use the Ask Location card to request your customer's location.&#x20;

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2FQFuH98OBaBwanggvhqTO%2FScreenshot%202025-09-16%20163529.png?alt=media&#x26;token=954b301b-a064-45dd-98b4-ecf0a9dfb547" alt=""><figcaption></figcaption></figure>

## Question Text

You can only ask for coordinates, not a text address.

**For example:** "Please share your location so we can send the service person."

You can format the text using **Bold**, *Italic*, or ~~Strikethrough~~. Use asterisks (\*) for Bold, underscores (\_) for Italic, and tildes (\~) for Strikethrough, as shown in the text below.

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2FAcbSmeavDba1GRXth8kA%2FScreenshot%202024-06-24%20142053.png?alt=media&#x26;token=a85a0502-30e0-4922-87dd-fa657518d202" alt=""><figcaption></figcaption></figure>

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

##

## Other available fields:

1. **Attempt:** In this field, specify the number of times you would like to ask the same question to your customers when they provide an unexpected response.

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2FJV6tYxHzQkG8ESYu2zcQ%2FScreenshot%202024-06-24%20142834.png?alt=media&#x26;token=033ede32-298e-4245-b8e0-0d70a62f482f" alt=""><figcaption></figcaption></figure>

2. **Action on Invalid Response:** This defines the action you want to take when a customer provides an invalid response. You can choose to either End the Flow or Skip the question.&#x20;

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2Ft1vm13XxaWyWFpSvSiZN%2FScreenshot%202024-06-24%20130809.png?alt=media&#x26;token=81657c2a-3cf8-4c1f-b56f-291742ad451e" alt=""><figcaption></figcaption></figure>

3. **Validation Error Message:** This message is sent to customers when they respond inappropriately to the question asked.

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2F3MjSdhPNTY66yHYoCBXt%2FScreenshot%202024-06-24%20143710.png?alt=media&#x26;token=fedae9c5-c742-4fb3-a5d5-029abcf73e99" alt=""><figcaption></figcaption></figure>

4. **Store Response in a Variable:** You can create new variables or use existing ones to store the responses provided by your customers. If you are creating a variable for the first time, simply type the variable name in the box. It will prompt you to create the variable once you click on "Create 'Variable Name'" as shown in the screenshot below.

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2FgQGgGXxwKq0lrW4mymBq%2FScreenshot%202024-06-24%20143915.png?alt=media&#x26;token=48d8f49e-33a0-4e90-8493-e36d34392b57" alt=""><figcaption></figcaption></figure>

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


---

# 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.bizmagnets.ai/bot-flows/ask-questions/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.
