Get the latest live chat benchmark data broken down by team size & industry

Read more
How does the Bot ask visitors to share their location while chatting?

Comm100 Bot allows you to ask the visitors share their location to achieved more personalized responses. Based on your business requirements, your customer is required to send their location before Bot returns with the best matching reply.

While editing your Bot Intent, you can choose whether visitors should share location with Bot. The location information of visitor includes latitude and longitude which can be sent to your own application using Webhook. And the corresponding response returned from your own application will be displayed as the bot reply. Utilizing the location sharing feature helps your bot provide customers with more efficient chatting experiences throughout the complex interactions.

Step by Step Instructions

1. Log into your Comm100 Control Panel.

2. Click the Bot module under the top navigation bar.

3. Go to the Intents menu.

4. Select the existing Intent you want to edit or create a new Intent.

5. Check the option Require visitors to share their location under the Question section.

6. Select the WEBHOOKS as one your Answer, which ensures that your application receives the visitor data and process it for a personalized response.

7. Input your Webhook URL, the visitors’ location data will be shared to your application through the URL.

8. Your web application will process the message and return the answer accordingly.

The geolocation info that will be sent to your application includes Longitude and Latitude in JSON format as the example below.

{
  Visitor: {
    "longitude":-106.34677099999999,
    "latitude":56.130365999999995
  }
}  

Refer to article Data Sent to Your Web Application on complete data from visitor’s side.

9. Save change to test your Bot.

Visitor is Asked to Share Location

1. When the related Intent is triggered, visitors will be asked to share location.

2. Visitor Click Send Location.

3. The new window loads the default geographical location based the visitor IP address. Visitors can also input the address of their own.

4. Visitor clicks the Submit button.

5. Bot provides answers based on the visitor’s location.

Visitors have shared their location and they are provided with personalized service based on their locations. Comm100 Bot can return answers in text, images, videos, files attachment and more. You can always customize the response on your side and send the supported JSON data to Comm100 Bot as answers.