Skip to main content
A Geo Location gambit shows a Share my location button in the conversation, and the browser asks for permission first. Once the location is captured, the chat shows the address with the coordinates under it.

When to use it

Use it when the next step depends on where the end user is: the nearest store, a delivery zone, a service area check. Because the end user can refuse permission, always give the flow a path that does not depend on the answer.

The gambit and its editor

Every page in this section shows the same demo flow: Start, a Welcome message, the gambit this page covers, then End. The gambit sits third, selected, with its editor open on the right. The rest of the screen is dimmed.

Configuration

Reverse Geocoding is stored outside the gambit’s config, so the flow export and import do not carry it. Set it by hand after importing a flow.

Branching

With Allow Free Text on, the gambit carries a Location handle for a shared location and a Free Input handle for a typed answer. With it off, the gambit has one Default handle. While Conditions is on, its branches replace these handles.
The end user can decline the permission prompt, and the button then shows an error such as Location access was denied. Please allow location access and try again. Keep Allow Free Text on, or turn on Allow Skip, so the flow can still move on.