Imagine you have a chatbot on your Facebook page and you want to geolocate the user who is chatting with your chatbot to suggest an answer based on their location. For example, you could suggest goods, services or shops based on their location.
This is possible with Botnation AI ! You even have 2 ways of doing this, which we will describe in detail. First of all, you need to master the notions of variables, the IF condition and connect Facebook Messenger to the GPS.
Here we go:
1/ First, you can use the {{LANGUAGE}} variable containing the language of your user (according to his Facebook profile or his browser for a web chatbot) and then use the conditions to direct him to sections of your bot translated into different languages. If you need to refine by country, then propose a menu according to the language. Ex: "For German: are you in Germany, Austria, Switzerland, other? "
2/ Otherwise, the GPS function is for you ! The GPS location mode will give you the GPS address and the user's city and country. This will be more precise but less "ergonomic" for the user and more "intrusive" because it will go through an additional window. You will also have to use the conditions using the {{GPS_COUNTRY}} variable communicated in order to direct the user to the right section of your chatbot.
The easiest way to do this is to try it out on your own and make your own judgement on these 2 solutions, one technique will be more adapted than the other according to your needs.
Going further :