はじめに
対話型AIプラットフォーム
チャットボットの概要
自然言語処理(NLP)
ボットの概念と用語
クイックスタートガイド
プラットフォームへのアクセス
ボットビルダーの操作
リリースノート
最新バージョン(英語)
以前のバージョン(英語)
廃止機能(英語)
コンセプト
設計
ストーリーボード
ダイアログタスク
ダイアログタスクとは
ダイアログビルダー
ノードタイプ
インテントノード
ダイアログノード
エンティティノード
フォームノード
確認ノード
ロジックノード
ボットアクションノード
サービスノード
Webhookノード
スクリプトノード
グループノード
エージェント転送ノード
ユーザープロンプト
音声通話プロパティ
イベント ハンドラー
ナレッジグラフ
ナレッジグラフの抽出
ナレッジグラフの構築
ボットにナレッジグラフを追加
グラフの作成
ナレッジグラフの構築
既存のソースからFAQを構築
特性、同義語、停止用語
変数ネームスペースの管理
更新
ノード間の質問と回答の移動
用語の編集と削除
質問と応答の編集
ナレッジグラフの分析
通知タスク
スモールトーク
デジタルスキル
デジタルフォーム
デジタルビュー
デジタルビューとは
パネル
ウィジェット
トレーニング
トレーニングとは
機械学習
機械学習とは
モデル検証
ファンダメンタルミーニング
ナレッジグラフ
示唆
ランキングおよび解決
NLPの詳細設定
NLPのガイドライン
インテリジェンス
インテリジェンスとは
コンテキスト
コンテキストインテント
割り込み
複数インテントの検出
エンティティの変更
デフォルトの会話
センチメント管理
トーン分析
テストとデバッグ
ボットと会話
発話テスト
バッチテスト
会話テスト
デプロイ
チャネル
公開
分析
ボットの分析
NLPメトリクス
会話フロー
Usage Metrics
封じ込め測定
カスタムダッシュボード
カスタムダッシュボードとは
メタタグ
カスタムダッシュボードとウィジェット
ユニバーサルボット
ユニバーサルボットとは
ユニバーサルボットの定義
ユニバーサルボットの作成
ユニバーサルボットのトレーニング
ユニバーサルボットのカスタマイズ
他言語の有効化
ストア
プラントと使用
Overview
Usage Plans
Support Plans
Invoices
管理
ボット認証
複数言語対応ボット
個人を特定できる情報の編集
ボット変数の使用
IVRのシステム連携
一般設定
ボット管理
ハウツー
会話スキルの設計
バンキングボットを作成
バンキングボット – 資金の振り替え
バンキングボット – 残高を更新
ナレッジグラフを構築
スマートアラートの予約方法
デジタルスキルの設計
デジタルフォームの設定方法
デジタルビューの設定方法
データテーブルのデータの追加方法
データテーブルのデータの更新方法
Add Data from Digital Forms
ボットのトレーニング
示唆の使用方法
インテントとエンティティのパターンの使用方法
コンテキスト切り替えの管理方法
ボットのデプロイ
エージェント転送の設定方法
ボット関数の使用方法
コンテンツ変数の使用方法
グローバル変数の使用方法
Web SDK Tutorial(英語)
Widget SDK Tutorial(英語)
ボットの分析
カスタムダッシュボードの作成方法
カスタムタグを使ってフィルタリング
管理
ボット管理者コンソール
ダッシュボード
ユーザーの管理
ユーザーの管理
グループの管理
ロール管理
ボット管理モジュール
登録
ユーザーの招待
招待状の一括送信
ユーザーデータのインポート
Active Directoryからユーザーを同期
セキュリティ/コンプライアンス
シングル サインオンの使用
セキュリティ設定
Billing(日本未対応)
  1. ホーム
  2. Docs
  3. Virtual Assistants
  4. Channel Enablement
  5. Adding the Twilio Voice Channel

Adding the Twilio Voice Channel

To add Twilio Voice as a channel to your Kore.ai assistant, you must get a Twilio phone number and set up a webhook integration to communicate with the VA. Adding the Twilio Voice channel to your Kore.ai VA allows end users to interact with it using their 

Important Notes

Twilio Voice must be enabled for assistants that are specifically built to work on voice-based channels. Review the following constraints before enabling Twilio Voice as a channel:

  1. Enterprise VAs that require user’s authorization to communicate with it are not supported on Twilio Voice.
  2. Tasks that require user’s authorization to communicate with external systems must not be included.
  3. Webhook Nodes work asynchronously and are currently not supported on Twilio Voice.
  4. Use only dialog tasks for best user experience on Twilio Voice channel.
  5. Ensure that the responses you configure for Twilio Voice are brief, plain text messages only.
  6. The VA receives the user’s voice response from Twilio Voice only after a few moments of silence at the user’s end and this can appear as a lag to the end-user.

Prerequisites

Log in to your Twilio Voice account to create a new Twilio number to associate with your assistant. You can buy a number by going to the Main Menu > Phone Numbers > Buy a Number. If you already have a Twilio phone number that you want to associate with this VA, then you can proceed to the next steps.

Step 1: Configure the Integration in Twilio

To set up the integration:

  1. From Twilio’s main menu, select Phone Numbers > Manage > TwiML Apps, then click Create New TwiML App.
  2. Enter a name for the app and copy the Webhook URL from the Configurations tab of the Twilio Voice Channel page (XO Platform Assistant > Deploy > Channels > Twilio Voice) and enter in the Request URL for Voice.
  3. Click Save to complete the app creation.

Step 2: Associate a Phone Number

To associate the TwiML App with your Twilio Phone Number:

  1. From the main menu, go to Phone Numbers > Manage > Active Numbers.
  2. From the Active Numbers section, select the number you want to associate with the TwiML App.
  3. Under the Voice & Fax section, select TwiML App as the choice in the Configure With field.
  4. A new field called TWIML APP is displayed. Select the app you have configured in the previous steps.
  5. Click Save to complete this app association.

Step 3: Set Up Agent Transfer (Optional)

Optionally, you can also set up Agent Transfer functionality to transfer the user’s call conversation to another Twilio number. For this, you must configure the Kore.ai Agent Transfer SDK. Download the Agent Transfer SDK from the Kore.ai GitHub repository and define data.message, transferCallToAgent and agentPhonenumber parameters.

  1. data.message: Define the message to be read out to the end-user when the call is transferred to agent is initiated.
  2. transferCallToAgent: Set this flag to True to enable Agent Transfer and False to disable.
  3. agentPhonenumber: Provide your Twilio phone number to which the user call conversation is transferred.

Step 4: Enable the Twilio Voice Channel

To enable the Twilio Voice Channel, follow the below steps:

  1. In the XO Platform, start by selecting the assistant you want to work with.
  2. Go to Deploy > Channels > Twilio Voice.
  3. To complete the Channel setup, go to the Configurations tab.
    1.  Enter your Twilio Number to associate with the Kore.ai assistant.
    2. Select a Language to communicate with the VA by end-users.
    3. In the Enable Channel section, select Yes, and then click Save to complete the user creation process and channel activation.

  4. From the Voice Call Properties tab, enter the details to configure the channel level voice properties, click here for more details.
  5. Once you have enabled the Twilio channel, it is recommended to configure the Telephony Welcome Event for Voice Call Settings. This plays a welcome message for users when they connect to the VA through the Twilio channel. For this:
    1. From Natural Language > Default Conversation > Event Handlers configure Telephony Welcome Event.
    2. Click Use Voice Call Properties to open the Voice Call settings section.
    3. Under the Initial Prompts text box, enter the message that needs to be played when the user connects to the VA.

For details regarding the configuration of voice properties at the Dialog Task level, please , refer to Configuring Voice Call Settings for a Node.

After the channel is enabled and all configurations are verified, you can optionally publish the assistant to make it available for end-users, with the new channel. Learn more about Publishing your Virtual Assistant.

To learn more about working with Channels within the Kore.ai XO Platform, please see Channel Enablement.

Adding the Twilio Voice Channel

To add Twilio Voice as a channel to your Kore.ai assistant, you must get a Twilio phone number and set up a webhook integration to communicate with the VA. Adding the Twilio Voice channel to your Kore.ai VA allows end users to interact with it using their 

Important Notes

Twilio Voice must be enabled for assistants that are specifically built to work on voice-based channels. Review the following constraints before enabling Twilio Voice as a channel:

  1. Enterprise VAs that require user’s authorization to communicate with it are not supported on Twilio Voice.
  2. Tasks that require user’s authorization to communicate with external systems must not be included.
  3. Webhook Nodes work asynchronously and are currently not supported on Twilio Voice.
  4. Use only dialog tasks for best user experience on Twilio Voice channel.
  5. Ensure that the responses you configure for Twilio Voice are brief, plain text messages only.
  6. The VA receives the user’s voice response from Twilio Voice only after a few moments of silence at the user’s end and this can appear as a lag to the end-user.

Prerequisites

Log in to your Twilio Voice account to create a new Twilio number to associate with your assistant. You can buy a number by going to the Main Menu > Phone Numbers > Buy a Number. If you already have a Twilio phone number that you want to associate with this VA, then you can proceed to the next steps.

Step 1: Configure the Integration in Twilio

To set up the integration:

  1. From Twilio’s main menu, select Phone Numbers > Manage > TwiML Apps, then click Create New TwiML App.
  2. Enter a name for the app and copy the Webhook URL from the Configurations tab of the Twilio Voice Channel page (XO Platform Assistant > Deploy > Channels > Twilio Voice) and enter in the Request URL for Voice.
  3. Click Save to complete the app creation.

Step 2: Associate a Phone Number

To associate the TwiML App with your Twilio Phone Number:

  1. From the main menu, go to Phone Numbers > Manage > Active Numbers.
  2. From the Active Numbers section, select the number you want to associate with the TwiML App.
  3. Under the Voice & Fax section, select TwiML App as the choice in the Configure With field.
  4. A new field called TWIML APP is displayed. Select the app you have configured in the previous steps.
  5. Click Save to complete this app association.

Step 3: Set Up Agent Transfer (Optional)

Optionally, you can also set up Agent Transfer functionality to transfer the user’s call conversation to another Twilio number. For this, you must configure the Kore.ai Agent Transfer SDK. Download the Agent Transfer SDK from the Kore.ai GitHub repository and define data.message, transferCallToAgent and agentPhonenumber parameters.

  1. data.message: Define the message to be read out to the end-user when the call is transferred to agent is initiated.
  2. transferCallToAgent: Set this flag to True to enable Agent Transfer and False to disable.
  3. agentPhonenumber: Provide your Twilio phone number to which the user call conversation is transferred.

Step 4: Enable the Twilio Voice Channel

To enable the Twilio Voice Channel, follow the below steps:

  1. In the XO Platform, start by selecting the assistant you want to work with.
  2. Go to Deploy > Channels > Twilio Voice.
  3. To complete the Channel setup, go to the Configurations tab.
    1.  Enter your Twilio Number to associate with the Kore.ai assistant.
    2. Select a Language to communicate with the VA by end-users.
    3. In the Enable Channel section, select Yes, and then click Save to complete the user creation process and channel activation.

  4. From the Voice Call Properties tab, enter the details to configure the channel level voice properties, click here for more details.
  5. Once you have enabled the Twilio channel, it is recommended to configure the Telephony Welcome Event for Voice Call Settings. This plays a welcome message for users when they connect to the VA through the Twilio channel. For this:
    1. From Natural Language > Default Conversation > Event Handlers configure Telephony Welcome Event.
    2. Click Use Voice Call Properties to open the Voice Call settings section.
    3. Under the Initial Prompts text box, enter the message that needs to be played when the user connects to the VA.

For details regarding the configuration of voice properties at the Dialog Task level, please , refer to Configuring Voice Call Settings for a Node.

After the channel is enabled and all configurations are verified, you can optionally publish the assistant to make it available for end-users, with the new channel. Learn more about Publishing your Virtual Assistant.

To learn more about working with Channels within the Kore.ai XO Platform, please see Channel Enablement.

メニュー