Location


With location item, users will be able to send you their location within the chatbot. Let us first see an example of this button and then we will break it down to understand how to set it?

How to set location item?

To set location item in your bot:
-  Go to Workflow and click on location
-  You will have to fill details like:
   1. Pick location button label
   2. Change location button label
   3. Proceed button label
   4. Longitude and Latitude

Location

 

- These are buttons that you set which appears while asking for the location. Like you saw Enter your location and change location in the demo video.

 

Button

 

- Based on the type of your bot these buttons can be changed. For example, if your user says show offer near me then your button can be Select your location or Current location

- Change the button name through Change location button label and Proceed button label.

 

Change_button

 

 - And then comes the latitude and longitude section. Add the variable {{latitude}} and {{longitude}} in the required section

Location

 

- So when the user drags the location arrow and places on their current location the bot can understand through latitude and longitude.

- By doing this your location item is now set in the bot.