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
Deprecations
Bot Builder
Creating a Bot
Design
Develop
Storyboard
Dialog Task
User Intent Node
Dialog Node
Entity Node
Supported Entity Types
Composite Entities
Supported Colors
Supported Company Names
Form Node
Logic Node
Message Nodes
Confirmation Nodes
Service Node
Custom Authentication
2-way SSL for Service nodes
Script Node
Agent Transfer Node
WebHook Node
Grouping Nodes
Connections & Transitions
Managing Dialogs
User Prompts
Alert Tasks
Alert Tasks
Ignore Words and Field Memory
Digital Forms
Digital Views
Knowledge Graph
Terminology
Building
Generation
Importing and Exporting
Analysis
Knowledge Extraction
Small Talk
Action & Information Task
Action Tasks
Information Tasks
Establishing Flows
Natural Language
Overview
Machine Learning
Model Validation
Fundamental Meaning
NLP Settings and Guidelines
Knowledge Graph Training
Traits
Ranking and Resolver
NLP Detection
Advanced NLP Configurations
Bot Intelligence
Overview
Context Management
Session and Context Variables
Context Object
Dialog Management
Sub-Intents & Follow-up Intents
Amend Entity
Multi-Intent Detection
Sentiment Management
Tone Analysis
Sentiment Management
Default Conversations
Default Standard Responses
Channel Enablement
Test & Debug
Talk to Bot
Utterance Testing
Batch Testing
Record 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
Data Table
Universal Bots
Defining
Creating
Training
Customizing
Enabling Languages
Smart Bots
Defining
Sample Bots
Github
Asana
Travel Planning
Flight Search
Event Based Bot Actions
koreUtil Libraries
Bot Settings
Bot Functions
General Settings
PII Settings
Customizing Error Messages
Manage Sessions
Bot Management
Bot Versioning
Using Bot Variables
API Guide
API Overview
API List
API Collection
SDKs
SDK Overview
SDK Security
SDK App Registration
Web SDK Tutorial
Message Formatting and Templates
Mobile SDK Push Notification
Widget SDK Tutorial
Widget SDK – Message Formatting and Templates
Web Socket Connect & RTM
Using the BotKit SDK
Installing
Configuring
Events
Functions
BotKit SDK Tutorial – Agent Transfer
BotKit SDK Tutorial – Flight Search Sample Bot
Using an External NLP Engine
Bot Administration
Bots Admin Console
Dashboard
User Management
Managing Users
Managing Groups
Managing Role
Bots Management
Enrollment
Inviting Users
Bulk Invites
Importing Users
Synchronizing Users from AD
Security & Compliance
Using Single Sign-On
Security Settings
Cloud Connector
Analytics
Billing
How Tos
Creating a Simple Bot
Creating a Banking Bot
Transfer Funds Task
Update Balance Task
Context Switching
Using Traits
Schedule a Smart Alert
Configure Digital Forms
Add Form Data into Data Tables
Configuring Digital Views
Add Data to Data Tables
Update Data in Data Tables
Custom Dashboard
Custom Tags to filter Bot Metrics
Patterns for Intents & Entities
Build Knowledge Graph
Using nlMeta
Global Variables
Content Variables
Using Bot Functions
Configure Agent Transfer
  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 must set up a Programmable SMS app, define the messaging service, and 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 the Twilio SMS channel, follow the below steps:

  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 the Twilio Channel, follow the below steps:
The following procedure requires an active Twilio account for developers with access to the Twilio Console. For more information, refer to 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 is displayed.
  3. Login to Twilio developer portal.
  4. Under the Settings section, click the General tab.
  5. Create your API credentials, if you have not already set up your account.
  6. Copy your Account SID and Auth Token and enter them in the Configurations tab of the Twilio channel page.
  7. Go to the Programmable SMS section from the All Products & Services menu.
  8. Click Create New Messaging Service option. Provide a name for your messaging service and select Use Case as Chat Bot/Interactive 2-way.
  9. 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.
  10. 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.
  11. Under Outbound Settings, update the Status Callback Request URL field with the information provided in the Configurations tab.
  12. Under Copilot Features section, make sure that Sticky Sender, MMS Converter, Scaler, Short Code Reroute, and Country Code Geomatch options are enabled.
  13. Save your changes and proceed.
  14. To add a number, go to the Numbers section and associate a Twilio Phone Number to this bot. If you do not have a Twilio Number, you must buy one.
  15. Go to the Configurations tab in the Twilio SMS channel page to review and complete the channel setup.

Edit the Twilio Channel

To edit the Twilio channel, follow the below steps:

  1. Hover over the channel and click to modify.
  2. You can make necessary updates to your channel configurations and save them. You can 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.
    • On the Delete Confirmation dialog box, click OK to permanently delete the bot channel configuration.
Warning: This operation is permanent, and cannot be undone.

Create a Twilio Trial Account

  1. You can sign up and create a free Twilio trial account at https://www.twilio.com/try-twilio.
  2. After you create an account, you can sign in and open the Twilio Console Dashboard.
  3. In the Account Summary section, you can find the Account SID and Auth Token.
  4. Copy the Account SID and Auth Token and save for configuring the Twilio channel settings in Kore.ai Bot Builder. You also need a telephone number for your end users to send text message interactions to for your bot.
  5. On the Dashboard page, you can scroll down and click Numbers. The Phone Numbers Dashboard is displayed.
  6. Click Numbers on the left menu to display the Numbers page. Click Buy a number.
  7. On the Get Started with Phone Numbers page, click Get your first Twilio phone number.
  8. On the corresponding dialog box, you can find the phone number that you must configure the Kore.ai Twilio channel.
  9. Click Buy This Number to save the number to your account.
  10. 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