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

February 25th, 2019 | Chatbot Management

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. bot location 01

  4. Go to the Intents menu
  5. bot location 02

  6. Select the existing Intent you want to edit or create a new Intent.
  7. Check the option Require visitors to share their location under the Question section.
  8. bot location 03

  9. Select the WEBHOOKS as one your Answer, which ensures that your application receives the visitor data and process it for a personalized response.
  10. bot location 04

  11. Input your Webhook URL, the visitors’ location data will be shared to your application through the URL.
  12. 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.

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

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

  14. 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. bot location 05

  3. Visitor Click Send Location.
  4. The new window loads the default geographical location based the visitor IP address. Visitors can also input the address of their own.
  5. bot location 06

  6. Visitor clicks the Submit button.
  7. Bot provides answers based on the visitor’s location.
  8. bot location 07

    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.

Be the 1st to vote.