Here is an example where the chatbot request the user position. The user can share his location with the “share” button in Telegram and Facebook or can insert manually the address, here is the flow

Send user position

Send user position

First is presented a message to the user asking to share his position, this is connected to a Telegram Sender Node with the tracking option activated, the answer to this message will not start over the flow but will continue to the nodes attached to this sender output.

The answer of the user is then captured by the Parse node , which parse the incoming message searching for a location-type message (an object containing latitude and longitude) and it’s the result of the user sharing the position with the chat client (Telegram or Facebook Messenger). If it doesn’t match the message is routed to the second output, (this happens when the user writes his location manually) to the Google Geolocation node.

The final message just the coordinates "Your position is {{location.latitude}}, {{location.longitude}}"