Location Data Request
WhatsApp & Telegram support receiving location data. When a user sends their location, it will automatically populate variables in voiceflow containing their location data. Check out Automatically Populated Variables to see how the variable population works and which variables are needed in your flow to support this.
You can confirm if if the user has sent the location by parsing the JSON string which is sent by FlowBridge to your flow as text, to check if the location_latitude key exists in the JSON object. If both are true that it is indeed a JSON object, and it contains the key-variable pair location_latitude, you can assume its indeed a location request.
WhatsApp specifically supports requesting the user for their location. Read more about this on the Request User Locationpage
Last updated
