Chatbot Overview
Conversational Bots
Intents & Entities
Intelligent Bots
Kore.ai's Approach
Kore.ai Conversational Platform
Bot Concepts and Terminology
Natural Language Processing (NLP)
Bot Types
Bot Tasks
Starting with Kore.ai Platform
How to Access Bot Builder
Working with Kore.ai Bot Builder
Building your first Bot
Getting Started with Building Bots
Using the Dialog Builder Tool
Creating a Simple Bot
Release Notes
Latest Updates
Older Releases
Bot Builder
Creating a Bot
Design
Develop
Dialog Task
Working with User Intent Node
Working with the Dialog Node
Working with Entity Node
Supported Entity Types
Working with Composite Entities
Supported Time Zones
Supported Colors
Supported Company Names
Working with Message Nodes
Working with the Confirmation Nodes
Working with Service Node
Implementing Custom Authentication
Enabling 2-way SSL for Service nodes
Working with Script Node
Working with Agent Transfer Node
Working with WebHook Node
Defining Connections & Transitions
Managing Dialogs
Prompt Editor
Action & Information Task
Working with Action Tasks
Working with Information Tasks
Establishing Flows
Alert Tasks
Working with Alert Tasks
Managing Ignore Words and Field Memory
Knowledge Graph
Terminology
Building Knowledge Graph
Generation of Knowledge Graph
Importing and Exporting Knowledge Graph
Knowledge Graph Analysis
Knowledge Extraction
Natural Language
Overview
Machine Learning
ML Model
Fundamental Meaning
Knowledge Graph Training
Traits
Ranking and Resolver
NLP Detection
NLP Settings and Guidelines
Bot Intelligence
Overview
Context Management
Session and Context Variables
Context Object
Dialog Management
Sub-Intents
Amend Entity
Multi-Intent Detection
Sentiment Management
Tone Analysis
Sentiment Management
Default Conversations
Default Standard Responses
Channel Enablement
Test & Debug
Talking to Bot
Utterance Testing
Batch Testing
Recording Conversations
Publishing your Bot
Analyzing your Bot
Overview
Dashboard
Custom Dashboard
Conversation Flows
Bot Metrics
Advanced Topics
Bot Authorization
Language Management
Collaborative Development
IVR Integration
Universal Bots
Defining
Creating
Customizing
Enabling Languages
Smart Bots
Defining
Sample Bots
Github
Asana
Travel Planning
Flight Search
Event Based Bot Actions
Bot Settings
Bot Functions
General Settings
PII Settings
Customizing Error Messages
Bot Management
Using Bot Variables
API Guide
API Overview
API List
API Collection
SDKs
SDK Overview
SDK Security
SDK App Registration
Kore.ai Web SDK Tutorial
Message Formatting and Templates
Mobile SDK Push Notification
Web Socket Connect & RTM
Using the BotKit SDK
Installing the BotKit SDK
BotKit SDK Configuration
Events for the BotKit SDK
Functions for the BotKit SDK
BotKit SDK Tutorial – Agent Transfer
BotKit SDK Tutorial – Flight Search Sample Bot
Using an External NLP Engine
Bot Administration
Bots Admin Console
User Management
Managing Users
Managing Groups
Managing Role
Bots Management
Enrollment
Inviting Users
Sending Bulk Invites to Enroll Users
Importing Users and User Data
Synchronizing Users from Active Directory
Security & Compliance
Overview
Using Single Sign-On
Cloud Connector
Analytics
Billing
How Tos
Context Switching
Using Traits
Live Agent Transfer
Schedule a Smart Alert
Configure Agent Transfer
Custom Dashboard
Patterns for Intents & Entities
Build Knowledge Graph
  1. Home
  2. Docs
  3. Bots
  4. Channel Enablement
  5. Adding the Twilio SMS Channel

Adding the Twilio SMS Channel

To add Twilio SMS as a channel, you will need to set up a Programmable SMS app, define the messaging service and then associate the bot with a Twilio Phone Number. When you add the Twilio channel to your bot, end-users for your bot can interact with your bot using text messages. To add Twilio SMS channel, you need to:

  1. Setup Account- Login to Twilio developer portal and set up an account.
  2. Setup Messaging Service- In the Programmable Messages section, create a messaging service
  3. Add Phone Number- Associate a Twilio Phone Number to your bot.

To add Twilio Channel:
The following procedure requires an active Twilio account for developers with access to the Twilio Console. For more information, see Creating a Twilio Trial Account later in this topic.

  1. In Bots section of the Bot Builder, click the Bot that you want to add the Twilio SMS channel to.
  2. On the Channels tab, click the Twilio SMS icon. The Twilio SMS Channel page gets displayed.
  3. Login to Twilio developer portal and in the Settings section, navigate to the General tab.  Create your API credentials, if you have not already set up your account. Copy your Account SID and Auth Token and enter them in the Configurations tab of the Twilio channel page.
  4. Navigate to Programmable SMS section from All Products & Services menu. Click on Create New Messaging Service option. Provide a name for your messaging service and select Use Case as Chat Bot / Interactive 2-way.
  5. After creating the service, make note of the Service SID of this service and enter it in the Configurations tab of the Twilio SMS channel page.
  6. Under Inbound Settings section, select the Process Inbound Messages option and update the Request URL and Fallback URL fields with the information provided in Configurations tab of the Twilio SMS channel page. Under Outbound Settings, update the Status Callback Request URL field with the information provided in the Configurations tab.

    Under Copilot Features section, make sure that Sticky Sender, MMS Converter, Scaler, Short Code Reroute, and Country Code Geomatch options are enabled. Save your changes and proceed.
  7. To add a number, navigate to Numbers section and associate a Twilio Phone Number to this bot. If you do not have a Twilio Number, you need to buy one.
  8. Navigate to the Configurations tab in the Twilio SMS channel page to review and complete the channel setup.

Editing the Twilio Channel

To edit the Twilio channel, hover your mouse over the channel and click to modify. You can make necessary updates to your channel configurations and save them. You may also disable or delete the channel information by clicking the Settings icon.

Select one of the following commands to modify the channel:

  • Disable/Enable – Click Disable to temporarily disable the use of the Twilio SMS channel for your Bot. To enable the use of the Twilio SMS channel, click Enable.
  • Delete – Click Delete, and then click OK in the Delete Confirmation dialog to permanently delete the Bot channel configuration.
Warning: This operation is permanent, and cannot be undone.

Creating a Twilio Trial Account

You can signup and create a free Twilio trial account at https://www.twilio.com/try-twilio. After you create an account, you can sign in and open the Twilio Console Dashboard. In the Account Summary section, you will find the Account SID and Auth Token.

Copy the Account SID and Auth Token and save for configuring the Twilio channel settings in Kore.ai Bot Builder. You will also need a telephone number for your end users to send text message interactions to for your bot. On the Dashboard page, you can scroll down and click Numbers. The Phone Numbers Dashboard is displayed. Click Numbers on the left navigation menu to display the Numbers page. Click Buy a number.

On the Get Started with Phone Numbers page, click Get your first Twilio phone number. A dialog is displayed with the phone number you will need to configure the Kore.ai Twilio channel. Click Buy This Number to save the number to your account.

The phone number is saved and accessible from the Home screen on the Dashboard. You are now ready to configure the Twilio channel in Kore.ai Bot Builder.

Menu