Collect location
Collects the location from the end user on WhatsApp
You can now collect user location seamlessly on WhatsApp using a native block that allows users to share their location with just a tap of a button—no typing required.

Question
The question to be asked when collecting the location from the user. This question will be followed with a "Send location" button.

Error message
The error message to be sent when the user sends something unexpected than the location details i.e they closed the location input screen and typed something random.
Location response
When the user submits the location, we receive the following details:
Location name
Address
Latitude
Longitude
You can map these fields to your variables to use the collected data for API calls for anything else.

Last updated
Was this helpful?