Get User’s Location on WhatsApp and Telegram

Modified on Fri, 24 May at 8:18 AM

ChatBotBuilder provides an excellent tool to quickly request and get your customer’s location via WhatsApp and Telegram channels, as you need to get your customer’s location at one point or another in the customer journey. 

ChatBotBuilder also provides two system fields you can use to perform actions on the contact’s geological data.


To get the user’s location, follow the steps below


  • Request the user’s location





Once the user shares his/her location, the user’s entire geographical data (location) will be saved in the custom field you used on the Get User Data block.


  • You can access the entire geographical data (location) in the custom field you used on the Get User Data block (You can access both latitude and longitude)
  • You can access the ‘latitude’ of the last location the user/contact shared on {{last_latitude}}
  • You can access the longitude of the last location the user/contact shared on {{last_longitude}} 


Advance

To get the URL of the user’s location, click here.




Note: The URL will work based on the last location shared by the user/contact.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article