{"id":54665,"date":"2023-02-23T09:15:36","date_gmt":"2023-02-23T09:15:36","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=54665"},"modified":"2023-03-09T15:47:04","modified_gmt":"2023-03-09T15:47:04","slug":"using-the-twilio-action-templates","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/integrations\/using-the-twilio-action-templates\/","title":{"rendered":"Using the Twilio Action Templates"},"content":{"rendered":"<p>You can use the <strong>Prebuilt Action Templates<\/strong> from your Twilio Verify integration to auto-create dialog tasks and test them using the <strong>Talk to Bot<\/strong> option.<\/p>\n<p>Steps to create a dialog task using the Twilio Verify action templates:<\/p>\n<ol>\n<li>Go to <strong>Build > Conversation Skills > Dialog Tasks<\/strong>.<\/li>\n<li>Click <strong>Create a Dialog Task<\/strong>.<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127105135\/create_dailog_task.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1899\" height=\"901\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127105135\/create_dailog_task.png\" alt=\"\"  class=\"alignnone size-medium wp-image-53142\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127105135\/create_dailog_task.png 1899w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127105135\/create_dailog_task-300x142.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127105135\/create_dailog_task-1024x486.png 1024w\" sizes=\"auto, (max-width: 1899px) 100vw, 1899px\" \/><\/a><\/li>\n<li>On the Dialog Task pop-up, under the Integration, select the Twilio Verify option to view the action templates.<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223080625\/twilio_action9.png\"><img loading=\"lazy\" decoding=\"async\" width=\"791\" height=\"913\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223080625\/twilio_action9.png\" alt=\"\" class=\"alignnone size-medium wp-image-54656\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223080625\/twilio_action9.png 791w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223080625\/twilio_action9-260x300.png 260w\" sizes=\"auto, (max-width: 791px) 100vw, 791px\" \/><\/a><\/li>\n<li>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 <a href=\"https:\/\/developer.kore.ai\/v10-1\/integrations\/actions\/\">Actions Overview<\/a>.<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230123095852\/create_dialog_new.png\"><img loading=\"lazy\" decoding=\"async\" width=\"892\" height=\"906\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230123095852\/create_dialog_new.png\" alt=\"\" class=\"alignnone size-medium wp-image-52397\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230123095852\/create_dialog_new.png 892w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230123095852\/create_dialog_new-295x300.png 295w\" sizes=\"auto, (max-width: 892px) 100vw, 892px\" \/><\/a>\n<\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Twilio_Verify_Actions\">Twilio Verify Actions<\/span><\/h2>\n<p>The following Twilio Verify actions are supported in this release:<\/p>\n<table>\n<tbody>\n<tr>\n<td><b>Supported Tasks<\/b><\/td>\n<td><b>Description<\/b><\/td>\n<td><b>Method<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Send SMS<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Sends the SMS to the registered phone number.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">POST<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Start Verification<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Starts the verification of the phone number registered in Twilio.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">POST<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Verification Check<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Checks whether the verification is successful or unsuccessful.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">POST<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"Send_SMS\">Send SMS<\/span><\/h3>\n<p>Steps to send an sms to a phone number using the Twilio Verify integration:<\/p>\n<ol>\n<li>Refer to the <a href=\"https:\/\/developer.kore.ai\/v10-1\/integrations\/configuring-the-twilio-action\/#Step_2_Install_the_Twilio_Verify_Action_Templates\">Installing the Twilio Verify Templates<\/a> section to install this template.<\/li>\n<li>The <em>Send SMS<\/em> dialog task is added with the following components:<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223080758\/twilio_action10.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1649\" height=\"910\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223080758\/twilio_action10.png\" alt=\"\" class=\"alignnone size-medium wp-image-54659\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223080758\/twilio_action10.png 1649w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223080758\/twilio_action10-300x166.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223080758\/twilio_action10-1024x565.png 1024w\" sizes=\"auto, (max-width: 1649px) 100vw, 1649px\" \/><\/a>\n<ul>\n<li><strong>sendSms<\/strong> &#8211; A user intent to send SMS.<\/li>\n<li><strong>accountSid<\/strong>, <strong>twilioNumber<\/strong>, <strong>receiverNumber<\/strong>, and <strong>message<\/strong> \u2013 Entity nodes for gathering the required for sending SMS.<\/li>\n<li><strong>sendSmsService<\/strong> \u2013 A bot action service to send sms from an external integration. Click the <strong>Plus<\/strong> icon to expand to view the <em>sendSmsService<\/em> bot action component properties.<\/li>\n<li>In the Component Properties window, click the <strong>Edit Request<\/strong> link to edit the request parameters as shown below:<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223093038\/send_sms.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1919\" height=\"854\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223093038\/send_sms.png\" alt=\"\"  class=\"alignnone size-medium wp-image-54669\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223093038\/send_sms.png 1919w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223093038\/send_sms-300x134.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223093038\/send_sms-1024x456.png 1024w\" sizes=\"auto, (max-width: 1919px) 100vw, 1919px\" \/><\/a><br \/>\n<strong>Sample Request<\/strong>:<br \/>\n<code><br \/>\n {<br \/>\nBody = {{message}}<br \/>\nFrom ={{twilioNumber}}<br \/>\nTo={{receiverNumber}}<br \/>\n}<br \/>\n<\/code><br \/>\nTo add one or more response, scroll down and click the +Add Response button:<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223093408\/send_sms1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1919\" height=\"854\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223093408\/send_sms1.png\" alt=\"\" class=\"alignnone size-medium wp-image-54672\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223093408\/send_sms1.png 1919w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223093408\/send_sms1-300x134.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223093408\/send_sms1-1024x456.png 1024w\" sizes=\"auto, (max-width: 1919px) 100vw, 1919px\" \/><\/a><br \/>\n<strong>Sample Response<\/strong>:<br \/>\n<code><br \/>\n{<br \/>\n    \"body\": \"Sent from your Twilio trial account - Hi Kore\",<br \/>\n    \"num_segments\": \"1\",<br \/>\n    \"direction\": \"outbound-api\",<br \/>\n    \"from\": \"{{twilioNumber}}\",<br \/>\n    \"date_updated\": \"Thu, 22 Dec 2022 08:09:10 +0000\",<br \/>\n    \"price\": null,<br \/>\n    \"error_message\": null,<br \/>\n    \"uri\": \"\/2010-04-01\/Accounts\/AC6bae65f877f2488c902f57cexxxxx\/Messages\/SMbec6459143755dc1f76b123a2xxxxx.json\",<br \/>\n    \"account_sid\": \"AC6bae65f877f2488c902f57ce1fxxxxx\",<br \/>\n    \"num_media\": \"0\",<br \/>\n    \"to\": \"{{receiverNumber}}\",<br \/>\n    \"date_created\": \"Thu, 22 Dec 2022 08:09:10 +0000\",<br \/>\n    \"status\": \"queued\",<br \/>\n    \"sid\": \"SMbec6459143755dc1f76b123a2xxxxxx\",<br \/>\n    \"date_sent\": null,<br \/>\n    \"messaging_service_sid\": null,<br \/>\n    \"error_code\": null,<br \/>\n    \"price_unit\": \"USD\",<br \/>\n    \"api_version\": \"2010-04-01\",<br \/>\n    \"subresource_uris\": {<br \/>\n        \"media\": \"\/2010-04-01\/Accounts\/AC6bae65f877f2488c902f57xxxxxxx\/Messages\/SMbec6459143755dc1f76b123a2xxxxxx\/Media.json\"<br \/>\n    }<br \/>\n}<br \/>\n<\/code><\/li>\n<li><strong>sendSmsMessage<\/strong> \u2013 A message node with the script to display responses for various scenarios.<\/li>\n<\/ul>\n<\/li>\n<li>Click the <strong>Train<\/strong> tab to complete the Dialog task training.<\/li>\n<li>Click the <strong>Talk to Bot<\/strong> icon to test and debug the dialog task.<\/li>\n<li>Follow the prompts in the VA console to send sms.<\/li>\n<li>Enter an sms message when prompted by the VA as shown below:<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223121258\/send_sms2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"492\" height=\"860\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223121258\/send_sms2.png\" alt=\"\" class=\"alignnone size-medium wp-image-54724\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223121258\/send_sms2.png 492w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223121258\/send_sms2-172x300.png 172w\" sizes=\"auto, (max-width: 492px) 100vw, 492px\" \/><\/a><br \/><strong>Note<\/strong>: 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. <\/li>\n<li>You will notice an sms is sent to the number from the Twilio number.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Start_Verification\">Start Verification<\/span><\/h3>\n<p>Steps to start verification of a phone service using Twilio Verify integration:<\/p>\n<ol>\n<li>Refer to the <a href=\"https:\/\/developer.kore.ai\/v10-1\/integrations\/configuring-the-twilio-action\/#Step_2_Install_the_Twilio_Verify_Action_Templates\">Installing the Twilio Verify Templates<\/a> section to install this template.<\/li>\n<li>The <em>Start Verification<\/em> dialog task is added with the following components:<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223094112\/start_verification.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1649\" height=\"910\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223094112\/start_verification.png\" alt=\"\" class=\"alignnone size-medium wp-image-54676\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223094112\/start_verification.png 1649w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223094112\/start_verification-300x166.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223094112\/start_verification-1024x565.png 1024w\" sizes=\"auto, (max-width: 1649px) 100vw, 1649px\" \/><\/a>\n<ul>\n<li><strong>startVerifcation<\/strong> &#8211; A user intent to start verification of the service.<\/li>\n<li><strong>serviceSid<\/strong>, <strong>receiverNumber<\/strong>, and <strong>channel<\/strong> \u2013 Entity nodes to gather required details to start the verification process.<\/li>\n<li><strong>startVerificationService<\/strong> \u2013 A bot action service to start verification in a Twilio integration. Click the <strong>Plus<\/strong> icon to expand to view the <em>startVerificationService<\/em> bot action component properties.<\/li>\n<li>In the Component Properties window, click the <strong>Edit Request<\/strong> link to edit the request parameters as shown below:<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223094438\/start_verification1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1914\" height=\"850\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223094438\/start_verification1.png\" alt=\"\"  class=\"alignnone size-medium wp-image-54679\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223094438\/start_verification1.png 1914w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223094438\/start_verification1-300x133.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223094438\/start_verification1-1024x455.png 1024w\" sizes=\"auto, (max-width: 1914px) 100vw, 1914px\" \/><\/a><br \/>\n<strong>Sample Request<\/strong>:<br \/>\n<code><br \/>\n {<br \/>\nTo ={{receiverNumber}}<br \/>\nChannel={{channel}}<br \/>\n}<br \/>\n<\/code><br \/>\nTo add one or more responses, scroll down and click the +Add Response button:<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223094644\/start_verification2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1914\" height=\"852\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223094644\/start_verification2.png\" alt=\"\" class=\"alignnone size-medium wp-image-54682\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223094644\/start_verification2.png 1914w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223094644\/start_verification2-300x134.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223094644\/start_verification2-1024x456.png 1024w\" sizes=\"auto, (max-width: 1914px) 100vw, 1914px\" \/><\/a><br \/>\n<strong>Sample Response<\/strong>:<br \/>\n<code><br \/>\n{<br \/>\n    \"status\": \"pending\",<br \/>\n    \"payee\": null,<br \/>\n    \"date_updated\": \"2022-12-22T08:19:45Z\",<br \/>\n    \"send_code_attempts\": [<br \/>\n        {<br \/>\n            \"attempt_sid\": \"VL0dc72d3662674769417ddba8cxxxxxx\",<br \/>\n            \"channel\": \"sms\",<br \/>\n            \"time\": \"2022-12-22T08:19:45.268Z\"<br \/>\n        }<br \/>\n    ],<br \/>\n    \"account_sid\": \"AC6bae65f877f2488c902f57cexxxxx\",<br \/>\n    \"to\": \"+{{receiverNumber}}\",<br \/>\n    \"amount\": null,<br \/>\n    \"valid\": false,<br \/>\n    \"lookup\": {<br \/>\n        \"carrier\": null<br \/>\n    },<br \/>\n    \"url\": \"https:\/\/verify.twilio.com\/v2\/Services\/VAd8fb32402129918fda43xxxxxx\/Verifications\/VEdfa1ba866cc6de52c811402bbxxxxxx\",<br \/>\n    \"sid\": \"VEdfa1ba866cc6de52c811402bbxxxxx\",<br \/>\n    \"date_created\": \"2022-12-22T08:19:45Z\",<br \/>\n    \"service_sid\": \"VAd8fb32402129918fda4368184xxxxx\",<br \/>\n    \"channel\": \"sms\"<br \/>\n}<br \/>\n<\/code>\n<\/li>\n<li><strong>startVerificationMessage<\/strong> \u2013 A message node with the script to display responses for various scenarios.<\/li>\n<\/ul>\n<\/li>\n<li>Click the <strong>Train<\/strong> tab to complete the Dialog task training.<\/li>\n<li>Click the <strong>Talk to Bot<\/strong> icon to test and debug the dialog task.<\/li>\n<li>Follow the prompts in the VA console to start verification.<\/li>\n<li>Enter the phone numbers when prompted by the VA.<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223095112\/start_verification3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"852\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223095112\/start_verification3.png\" alt=\"\"  class=\"alignnone size-medium wp-image-54685\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223095112\/start_verification3.png 500w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223095112\/start_verification3-176x300.png 176w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/li>\n<li>The VA now starts the verification process based on the phone numbers entered.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Verification_Check\">Verification Check<\/span><\/h3>\n<p>Steps to check the verification of a phone service using Twilio Verify integration:<\/p>\n<ol>\n<li>Refer to the <a href=\"https:\/\/developer.kore.ai\/v10-1\/integrations\/configuring-the-twilio-action\/#Step_2_Install_the_Twilio_Verify_Action_Templates\">Installing the Twilio Verify Templates<\/a> section to install this template.<\/li>\n<li>The <em>Verification Check<\/em> dialog task is added with the following components:<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223095626\/verification_check.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1650\" height=\"890\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223095626\/verification_check.png\" alt=\"\" class=\"alignnone size-medium wp-image-54689\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223095626\/verification_check.png 1650w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223095626\/verification_check-300x162.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223095626\/verification_check-1024x552.png 1024w\" sizes=\"auto, (max-width: 1650px) 100vw, 1650px\" \/><\/a>\n<ul>\n<li><strong>verificationCheck<\/strong> &#8211; A user intent to check verification of the service.<\/li>\n<li><strong>serviceSid<\/strong>, <strong>receiverNumber<\/strong>, and <strong>code<\/strong> \u2013 Entity nodes to gather required details to check the verification process.<\/li>\n<li><strong>verificationCheckService<\/strong> \u2013 A bot action service to check the verification in a Twilio integration. Click the <strong>Plus<\/strong> icon to expand to view the <em>verificationCheckService<\/em> bot action component properties.\n<\/li>\n<li>In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223100000\/verification_check1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1913\" height=\"856\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223100000\/verification_check1.png\" alt=\"\" class=\"alignnone size-medium wp-image-54692\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223100000\/verification_check1.png 1913w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223100000\/verification_check1-300x134.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223100000\/verification_check1-1024x458.png 1024w\" sizes=\"auto, (max-width: 1913px) 100vw, 1913px\" \/><\/a><br \/>\n<strong>Sample Request<\/strong>:<br \/>\n<code><br \/>\n{<br \/>\nTo ={{receiverNumber}}<br \/>\nCode={{code}}<br \/>\n}<br \/>\n<\/code><br \/>\nTo add one or more responses, scroll down and click the +Add Response button:<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223100259\/verification_check2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1913\" height=\"856\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223100259\/verification_check2.png\" alt=\"\"  class=\"alignnone size-medium wp-image-54695\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223100259\/verification_check2.png 1913w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223100259\/verification_check2-300x134.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223100259\/verification_check2-1024x458.png 1024w\" sizes=\"auto, (max-width: 1913px) 100vw, 1913px\" \/><\/a><br \/>\n<strong>Sample Response<\/strong>:<br \/>\n<code><br \/>\n{<br \/>\n    \"status\": \"approved\",<br \/>\n    \"payee\": null,<br \/>\n    \"date_updated\": \"2022-12-22T08:22:47Z\",<br \/>\n    \"account_sid\": \"AC6bae65f877f2488c902f57xxxxx\",<br \/>\n    \"to\": \"{{receiverNumber}}\",<br \/>\n    \"amount\": null,<br \/>\n    \"valid\": true,<br \/>\n    \"sid\": \"VEdfa1ba866cc6de52c811402xxxx\",<br \/>\n    \"date_created\": \"2022-12-22T08:19:45Z\",<br \/>\n    \"service_sid\": \"VAd8fb32402129918fda43681xxxxx\",<br \/>\n    \"channel\": \"sms\"<br \/>\n}<br \/>\n<\/code>\n<\/li>\n<li><strong>verificationCheckMessage<\/strong> \u2013 A message node with the script to display responses for various scenarios.<\/li>\n<\/ul>\n<\/li>\n<li>Click the <strong>Train<\/strong> tab to complete the Dialog task training.<\/li>\n<li>Click the <strong>Talk to Bot<\/strong> icon to test and debug the dialog task.<\/li>\n<li>Follow the prompts in the VA console to check verification.<\/li>\n<li>Enter the phone numbers when prompted by the VA.<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223100703\/verification_check3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"490\" height=\"843\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223100703\/verification_check3.png\" alt=\"\"  class=\"alignnone size-medium wp-image-54698\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223100703\/verification_check3.png 490w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230223100703\/verification_check3-174x300.png 174w\" sizes=\"auto, (max-width: 490px) 100vw, 490px\" \/><\/a><\/li>\n<li>The VA now checks the verification based on the phone numbers entered.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>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: Go to Build > Conversation Skills > Dialog Tasks. Click Create a Dialog Task. On the Dialog Task&#8230;<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[201],"tags":[],"class_list":["post-54665","post","type-post","status-publish","format-standard","hentry","category-integrations"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/54665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=54665"}],"version-history":[{"count":8,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/54665\/revisions"}],"predecessor-version":[{"id":55803,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/54665\/revisions\/55803"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=54665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=54665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=54665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}