はじめに
対話型AIプラットフォーム
チャットボットの概要
自然言語処理(NLP)
ボットの概念と用語
クイックスタートガイド
プラットフォームへのアクセス
ボットビルダーの操作
リリースノート
最新バージョン(英語)
以前のバージョン(英語)
コンセプト
設計
ストーリーボード
ダイアログタスク
ダイアログタスクとは
ダイアログビルダー
ノードタイプ
インテントノード
ダイアログノード
エンティティノード
フォームノード
確認ノード
ロジックノード
ボットアクションノード
サービスノード
Webhookノード
スクリプトノード
グループノード
エージェント転送ノード
ユーザープロンプト
音声通話プロパティ
イベント ハンドラー
ナレッジグラフ
ナレッジグラフの抽出
ナレッジグラフの構築
ボットにナレッジグラフを追加
グラフの作成
ナレッジグラフの構築
既存のソースからFAQを構築
通知タスク
スモールトーク
デジタルスキル
デジタルフォーム
デジタルビュー
デジタルビューとは
パネル
ウィジェット
トレーニング
トレーニングとは
機械学習
機械学習とは
モデル検証
ファンダメンタルミーニング
ナレッジグラフ
示唆
ランキングおよび解決
NLPの詳細設定
NLPのガイドライン
インテリジェンス
インテリジェンスとは
コンテキスト
コンテキストインテント
割り込み
複数インテントの検出
エンティティの変更
デフォルトの会話
センチメント管理
トーン分析
テストとデバッグ
ボットと会話
発話テスト
バッチテスト
会話テスト
デプロイ
チャネル
公開
LLM and Generative AI
Introduction
LLM Integration
Kore.ai XO GPT Module
Prompts & Requests Library
Co-Pilot Features
Dynamic Conversations Features
分析
ボットの分析
NLPメトリクス
会話フロー
Usage Metrics
封じ込め測定
カスタムダッシュボード
カスタムダッシュボードとは
メタタグ
カスタムダッシュボードとウィジェット
ユニバーサルボット
ユニバーサルボットとは
ユニバーサルボットの定義
ユニバーサルボットの作成
ユニバーサルボットのトレーニング
ユニバーサルボットのカスタマイズ
他言語の有効化
ストア
プラントと使用
Overview
Usage Plans
Support Plans
Invoices
管理
ボット認証
複数言語対応ボット
個人を特定できる情報の編集
ボット変数の使用
IVRのシステム連携
一般設定
ボット管理
ハウツー
Integrations
Actions
Actions Overview
Asana
Configure
Templates
Azure OpenAI
Configure
Templates
BambooHR
Configure
Templates
Bitly
Configure
Templates
Confluence
Configure
Templates
DHL
Configure
Templates
Freshdesk
Configure
Templates
Freshservice
Configure
Templates
Google Maps
Configure
Templates
Here
Configure
Templates
HubSpot
Configure
Templates
JIRA
Configure
Templates
Microsoft Graph
Configure
Templates
Open AI
Configure
Templates
Salesforce
Configure
Templates
ServiceNow
Configure
Templates
Stripe
Configure
Templates
Shopify
Configure
Templates
Twilio
Configure
Templates
Zendesk
Configure
Templates
Agents
Agent Transfer Overview
Custom (BotKit)
Drift
Genesys
Intercom
NiceInContact
NiceInContact(User Hub)
Salesforce
ServiceNow
Configure Tokyo and Lower versions
Configure Utah and Higher versions
Unblu
External NLU Adapters
Overview
Dialogflow Engine
Test and Debug
会話スキルの設計
バンキングボットを作成
バンキングボット – 資金の振り替え
バンキングボット – 残高を更新
ナレッジグラフを構築
スマートアラートの予約方法
デジタルスキルの設計
デジタルフォームの設定方法
デジタルビューの設定方法
データテーブルのデータの追加方法
データテーブルのデータの更新方法
Add Data from Digital Forms
ボットのトレーニング
示唆の使用方法
インテントとエンティティのパターンの使用方法
コンテキスト切り替えの管理方法
ボットのデプロイ
エージェント転送の設定方法
ボット関数の使用方法
コンテンツ変数の使用方法
グローバル変数の使用方法
ボットの分析
カスタムダッシュボードの作成方法
カスタムタグを使ってフィルタリング
Data
Overview
Data Table
Table Views
App Definitions
Data as Service
Build a Travel Planning Assistant
Travel Assistant Overview
Create a Travel Virtual Assistant
Design Conversation Skills
Create an ‘Update Booking’ Task
Create a Change Flight Task
Build a Knowledge Graph
Schedule a Smart Alert
Design Digital Skills
Configure Digital Forms
Configure Digital Views
Train the Assistant
Use Traits
Use Patterns
Manage Context Switching
Deploy the Assistant
Use Bot Functions
Use Content Variables
Use Global Variables
Use Web SDK
Build a Banking Assistant
Migrate External Bots
Google Dialogflow Bot
APIs & SDKs
API Reference
API Introduction
Rate Limits
API List
koreUtil Libraries
SDK Reference
SDK Introduction
Web SDK
How the Web SDK Works
SDK Security
SDK Registration
Web Socket Connect and RTM
Tutorials
Widget SDK Tutorial
Web SDK Tutorial
BotKit SDK
BotKit SDK Deployment Guide
Installing the BotKit SDK
Using the BotKit SDK
SDK Events
SDK Functions
Tutorials
BotKit - Blue Prism
BotKit - Flight Search Sample VA
BotKit - Agent Transfer
  1. ホーム
  2. Integrations
  3. Using the Twilio Action Templates

Using the Twilio Action Templates

You can use the Prebuilt Action Templates from your Twilio Verify integration to auto-create dialog tasks and test them using the Talk to Bot option.

Steps to create a dialog task using the Twilio Verify action templates:

  1. Go to Build > Conversation Skills > Dialog Tasks.
  2. Click Create a Dialog Task.
  3. On the Dialog Task pop-up, under the Integration, select the Twilio Verify option to view the action templates.
  4. If you have not configured any integration for your virtual assistant, you will see the Explore Integrations option. Once you click this option, you will be redirected to the Actions page to configure an integration for your VA. For more information, see Actions Overview.

Twilio Verify Actions

The following Twilio Verify actions are supported in this release:

Supported Tasks Description Method
Send SMS Sends the SMS to the registered phone number. POST
Start Verification Starts the verification of the phone number registered in Twilio. POST
Verification Check Checks whether the verification is successful or unsuccessful. POST

Send SMS

Steps to send an sms to a phone number using the Twilio Verify integration:

  1. Refer to the Installing the Twilio Verify Templates section to install this template.
  2. The Send SMS dialog task is added with the following components:
    • sendSms – A user intent to send SMS.
    • accountSid, twilioNumber, receiverNumber, and message – Entity nodes for gathering the required for sending SMS.
    • sendSmsService – A bot action service to send sms from an external integration. Click the Plus icon to expand to view the sendSmsService bot action component properties.
    • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

      Sample Request:

      {
      Body = {{message}}
      From ={{twilioNumber}}
      To={{receiverNumber}}
      }

      To add one or more response, scroll down and click the +Add Response button:

      Sample Response:

      {
      "body": "Sent from your Twilio trial account - Hi Kore",
      "num_segments": "1",
      "direction": "outbound-api",
      "from": "{{twilioNumber}}",
      "date_updated": "Thu, 22 Dec 2022 08:09:10 +0000",
      "price": null,
      "error_message": null,
      "uri": "/2010-04-01/Accounts/AC6bae65f877f2488c902f57cexxxxx/Messages/SMbec6459143755dc1f76b123a2xxxxx.json",
      "account_sid": "AC6bae65f877f2488c902f57ce1fxxxxx",
      "num_media": "0",
      "to": "{{receiverNumber}}",
      "date_created": "Thu, 22 Dec 2022 08:09:10 +0000",
      "status": "queued",
      "sid": "SMbec6459143755dc1f76b123a2xxxxxx",
      "date_sent": null,
      "messaging_service_sid": null,
      "error_code": null,
      "price_unit": "USD",
      "api_version": "2010-04-01",
      "subresource_uris": {
      "media": "/2010-04-01/Accounts/AC6bae65f877f2488c902f57xxxxxxx/Messages/SMbec6459143755dc1f76b123a2xxxxxx/Media.json"
      }
      }
    • sendSmsMessage – A message node with the script to display responses for various scenarios.
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to send sms.
  6. Enter an sms message when prompted by the VA as shown below:

    Note: You must add the country code before the receivers phone number to deliver the SMS. For example, to send SMS to phone number in the United States, add country code as +1.
  7. You will notice an sms is sent to the number from the Twilio number.

Start Verification

Steps to start verification of a phone service using Twilio Verify integration:

  1. Refer to the Installing the Twilio Verify Templates section to install this template.
  2. The Start Verification dialog task is added with the following components:
    • startVerifcation – A user intent to start verification of the service.
    • serviceSid, receiverNumber, and channel – Entity nodes to gather required details to start the verification process.
    • startVerificationService – A bot action service to start verification in a Twilio integration. Click the Plus icon to expand to view the startVerificationService bot action component properties.
    • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

      Sample Request:

      {
      To ={{receiverNumber}}
      Channel={{channel}}
      }

      To add one or more responses, scroll down and click the +Add Response button:

      Sample Response:

      {
      "status": "pending",
      "payee": null,
      "date_updated": "2022-12-22T08:19:45Z",
      "send_code_attempts": [
      {
      "attempt_sid": "VL0dc72d3662674769417ddba8cxxxxxx",
      "channel": "sms",
      "time": "2022-12-22T08:19:45.268Z"
      }
      ],
      "account_sid": "AC6bae65f877f2488c902f57cexxxxx",
      "to": "+{{receiverNumber}}",
      "amount": null,
      "valid": false,
      "lookup": {
      "carrier": null
      },
      "url": "https://verify.twilio.com/v2/Services/VAd8fb32402129918fda43xxxxxx/Verifications/VEdfa1ba866cc6de52c811402bbxxxxxx",
      "sid": "VEdfa1ba866cc6de52c811402bbxxxxx",
      "date_created": "2022-12-22T08:19:45Z",
      "service_sid": "VAd8fb32402129918fda4368184xxxxx",
      "channel": "sms"
      }
    • startVerificationMessage – A message node with the script to display responses for various scenarios.
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to start verification.
  6. Enter the phone numbers when prompted by the VA.
  7. The VA now starts the verification process based on the phone numbers entered.

Verification Check

Steps to check the verification of a phone service using Twilio Verify integration:

  1. Refer to the Installing the Twilio Verify Templates section to install this template.
  2. The Verification Check dialog task is added with the following components:
    • verificationCheck – A user intent to check verification of the service.
    • serviceSid, receiverNumber, and code – Entity nodes to gather required details to check the verification process.
    • verificationCheckService – A bot action service to check the verification in a Twilio integration. Click the Plus icon to expand to view the verificationCheckService bot action component properties.
    • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

      Sample Request:

      {
      To ={{receiverNumber}}
      Code={{code}}
      }

      To add one or more responses, scroll down and click the +Add Response button:

      Sample Response:

      {
      "status": "approved",
      "payee": null,
      "date_updated": "2022-12-22T08:22:47Z",
      "account_sid": "AC6bae65f877f2488c902f57xxxxx",
      "to": "{{receiverNumber}}",
      "amount": null,
      "valid": true,
      "sid": "VEdfa1ba866cc6de52c811402xxxx",
      "date_created": "2022-12-22T08:19:45Z",
      "service_sid": "VAd8fb32402129918fda43681xxxxx",
      "channel": "sms"
      }
    • verificationCheckMessage – A message node with the script to display responses for various scenarios.
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to check verification.
  6. Enter the phone numbers when prompted by the VA.
  7. The VA now checks the verification based on the phone numbers entered.

Using the Twilio Action Templates

You can use the Prebuilt Action Templates from your Twilio Verify integration to auto-create dialog tasks and test them using the Talk to Bot option.

Steps to create a dialog task using the Twilio Verify action templates:

  1. Go to Build > Conversation Skills > Dialog Tasks.
  2. Click Create a Dialog Task.
  3. On the Dialog Task pop-up, under the Integration, select the Twilio Verify option to view the action templates.
  4. If you have not configured any integration for your virtual assistant, you will see the Explore Integrations option. Once you click this option, you will be redirected to the Actions page to configure an integration for your VA. For more information, see Actions Overview.

Twilio Verify Actions

The following Twilio Verify actions are supported in this release:

Supported Tasks Description Method
Send SMS Sends the SMS to the registered phone number. POST
Start Verification Starts the verification of the phone number registered in Twilio. POST
Verification Check Checks whether the verification is successful or unsuccessful. POST

Send SMS

Steps to send an sms to a phone number using the Twilio Verify integration:

  1. Refer to the Installing the Twilio Verify Templates section to install this template.
  2. The Send SMS dialog task is added with the following components:
    • sendSms – A user intent to send SMS.
    • accountSid, twilioNumber, receiverNumber, and message – Entity nodes for gathering the required for sending SMS.
    • sendSmsService – A bot action service to send sms from an external integration. Click the Plus icon to expand to view the sendSmsService bot action component properties.
    • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

      Sample Request:

      {
      Body = {{message}}
      From ={{twilioNumber}}
      To={{receiverNumber}}
      }

      To add one or more response, scroll down and click the +Add Response button:

      Sample Response:

      {
      "body": "Sent from your Twilio trial account - Hi Kore",
      "num_segments": "1",
      "direction": "outbound-api",
      "from": "{{twilioNumber}}",
      "date_updated": "Thu, 22 Dec 2022 08:09:10 +0000",
      "price": null,
      "error_message": null,
      "uri": "/2010-04-01/Accounts/AC6bae65f877f2488c902f57cexxxxx/Messages/SMbec6459143755dc1f76b123a2xxxxx.json",
      "account_sid": "AC6bae65f877f2488c902f57ce1fxxxxx",
      "num_media": "0",
      "to": "{{receiverNumber}}",
      "date_created": "Thu, 22 Dec 2022 08:09:10 +0000",
      "status": "queued",
      "sid": "SMbec6459143755dc1f76b123a2xxxxxx",
      "date_sent": null,
      "messaging_service_sid": null,
      "error_code": null,
      "price_unit": "USD",
      "api_version": "2010-04-01",
      "subresource_uris": {
      "media": "/2010-04-01/Accounts/AC6bae65f877f2488c902f57xxxxxxx/Messages/SMbec6459143755dc1f76b123a2xxxxxx/Media.json"
      }
      }
    • sendSmsMessage – A message node with the script to display responses for various scenarios.
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to send sms.
  6. Enter an sms message when prompted by the VA as shown below:

    Note: You must add the country code before the receivers phone number to deliver the SMS. For example, to send SMS to phone number in the United States, add country code as +1.
  7. You will notice an sms is sent to the number from the Twilio number.

Start Verification

Steps to start verification of a phone service using Twilio Verify integration:

  1. Refer to the Installing the Twilio Verify Templates section to install this template.
  2. The Start Verification dialog task is added with the following components:
    • startVerifcation – A user intent to start verification of the service.
    • serviceSid, receiverNumber, and channel – Entity nodes to gather required details to start the verification process.
    • startVerificationService – A bot action service to start verification in a Twilio integration. Click the Plus icon to expand to view the startVerificationService bot action component properties.
    • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

      Sample Request:

      {
      To ={{receiverNumber}}
      Channel={{channel}}
      }

      To add one or more responses, scroll down and click the +Add Response button:

      Sample Response:

      {
      "status": "pending",
      "payee": null,
      "date_updated": "2022-12-22T08:19:45Z",
      "send_code_attempts": [
      {
      "attempt_sid": "VL0dc72d3662674769417ddba8cxxxxxx",
      "channel": "sms",
      "time": "2022-12-22T08:19:45.268Z"
      }
      ],
      "account_sid": "AC6bae65f877f2488c902f57cexxxxx",
      "to": "+{{receiverNumber}}",
      "amount": null,
      "valid": false,
      "lookup": {
      "carrier": null
      },
      "url": "https://verify.twilio.com/v2/Services/VAd8fb32402129918fda43xxxxxx/Verifications/VEdfa1ba866cc6de52c811402bbxxxxxx",
      "sid": "VEdfa1ba866cc6de52c811402bbxxxxx",
      "date_created": "2022-12-22T08:19:45Z",
      "service_sid": "VAd8fb32402129918fda4368184xxxxx",
      "channel": "sms"
      }
    • startVerificationMessage – A message node with the script to display responses for various scenarios.
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to start verification.
  6. Enter the phone numbers when prompted by the VA.
  7. The VA now starts the verification process based on the phone numbers entered.

Verification Check

Steps to check the verification of a phone service using Twilio Verify integration:

  1. Refer to the Installing the Twilio Verify Templates section to install this template.
  2. The Verification Check dialog task is added with the following components:
    • verificationCheck – A user intent to check verification of the service.
    • serviceSid, receiverNumber, and code – Entity nodes to gather required details to check the verification process.
    • verificationCheckService – A bot action service to check the verification in a Twilio integration. Click the Plus icon to expand to view the verificationCheckService bot action component properties.
    • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

      Sample Request:

      {
      To ={{receiverNumber}}
      Code={{code}}
      }

      To add one or more responses, scroll down and click the +Add Response button:

      Sample Response:

      {
      "status": "approved",
      "payee": null,
      "date_updated": "2022-12-22T08:22:47Z",
      "account_sid": "AC6bae65f877f2488c902f57xxxxx",
      "to": "{{receiverNumber}}",
      "amount": null,
      "valid": true,
      "sid": "VEdfa1ba866cc6de52c811402xxxx",
      "date_created": "2022-12-22T08:19:45Z",
      "service_sid": "VAd8fb32402129918fda43681xxxxx",
      "channel": "sms"
      }
    • verificationCheckMessage – A message node with the script to display responses for various scenarios.
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to check verification.
  6. Enter the phone numbers when prompted by the VA.
  7. The VA now checks the verification based on the phone numbers entered.
メニュー