Emplement an SMS Chatbot Using Twilio & Watson Assistant

AI Chatbot Easy Integration allows you to easily emplement an SMS chatbot using the Twilio API. An SMS chatbot will enhance your live chat feature and improve customer service by allow support representatives to send messages to customers via text.

In order to use these features you will need to setup a Twilio Account, purchase a valid SMS capable number and enter the Twilio Account Phone Number, Twilio Account SID and Twilio Account Auth Token from your Twilio dashboard in fields below. Additionally you will need to locate Your Watson Assistant API Key and enter it below. The following steps are provided to assist in locating these values:

  1. Go to the IBM Cloud Resource list.
  2. Sign into you IBM Cloud Account. (figure 1)
  3. Type “Watson” in the product column. (figure 2)
  4. Click on the “AI / Machine Learning” dropdown.
  5. Click on “Watson Assistant-mi” or the name of your Watson Assistant instance.
  6. Copy the API Key displayed on this page and enter it on the AI Chat Bot Settings page under the Twilio/SMS Messaging tab. (figure 3)
  7. Choose “Launch Watson Assistant”.
  8. Locate your Watson Assistant instance and click on the 3 dots to the right of the box and choose, “Settings”.
  9. Copy the Assistant URL and enter it on the AI Chat Bot Settings page under the Twilio/SMS Messaging tab. (figure 3)
  10. If you haven’t already done so, create an account and login at Twilio.com.
  11. Copy the Phone Number, Account SID and Auth Token towards the bottom of the Console home page. (figure 4)
  12. Enter them on the AI Chat Bot Settings page under the Twilio/SMS Messaging tab. (figure 3)
  13. Send some test SMS messages to your Twilio phone number to verify that you can communicate with your chatbot.

Since most users use text messaging these days, adding text messages to your conversational chatbot should enhance the customer experience and improve customer support. We hope you have found this information helpful.

Figure 1: IBM Website

IBM Login

Figure 2: Resource List

Resource List

Figure 3a: Locating the Watson API Key and URL

watson credentials

Watson Assitant URL

Figure 3b: Enter SMS Chatbot Settings

SMS Settings

Figure 4: Copy Twilio Settings

Twilio Settings

Accessibility Tools
hide