# Work in Progress: How to Fetch User Location Data to use in your Flow

## How to fetch user location data to use in a flow

{% embed url="<https://firebasestorage.googleapis.com/v0/b/savvy-flow-uploads/o/ZH5RO6gKEiwXw7GF3AD6%2FSavvy%20(1)_5404340370741689.mp4?alt=media&token=89f5f982-5e19-4e9a-9483-5c494fa69a7e>" %}

* Go to Entire Flow settings and open the Advanced dropdown
* Select **Add User Location to User Data**
* Once that option is selected, you will be able to access the following properties from the User Data inside of the `location_data` object:
  * ip,
  * city,
  * region,
  * region\_code,
  * country\_name,
  * country\_code,
  * continent\_name,
  * continent\_code,
  * latitude,
  * longitude,
  * flag,
  * emoji\_flag,
  * geohash


---

# 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.trysavvy.com/other-useful-docs/work-in-progress/pending/work-in-progress-how-to-fetch-user-location-data-to-use-in-your-flow.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.
