- Go to Automation AI > Use Cases > Dialogs and click Create a Dialog Task.
-
Under Integration, select Twilio Verify.
-
If no integration is configured, click Explore Integrations to set one up. See Actions Overview.
Supported Actions
| Task | Description | Method |
|---|---|---|
| Send SMS | Sends an 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
- Install the template from Twilio Verify Action Templates.
-
The Send SMS dialog task is added with the following components:
- sendSms – User intent to send SMS.
- accountSid, twilioNumber, receiverNumber, message – Entity nodes for SMS details.
-
sendSmsService – Bot action service to send SMS. Click Edit Request:
Sample Request:
Click +Add Response:
Sample Response:
- sendSmsMessage – Message node to display responses.
-
Click Train, then Talk to Bot to test:
You must add the country code before the receiver’s phone number. For example, to send an SMS to a US number, add +1.
Start Verification
- Install the template from Twilio Verify Action Templates.
-
The Start Verification dialog task is added with the following components:
- startVerification – User intent to start verification.
- serviceSid, receiverNumber, channel – Entity nodes for verification details.
-
startVerificationService – Bot action service to start verification. Click Edit Request:
Sample Request:
Click +Add Response:
Sample Response:
- startVerificationMessage – Message node to display responses.
-
Click Train, then Talk to Bot to test:
Verification Check
- Install the template from Twilio Verify Action Templates.
-
The Verification Check dialog task is added with the following components:
- verificationCheck – User intent to check verification.
- serviceSid, receiverNumber, code – Entity nodes for verification check details.
-
verificationCheckService – Bot action service to check verification. Click Edit Request:
Sample Request:
Click +Add Response:
Sample Response:
- verificationCheckMessage – Message node to display responses.
-
Click Train, then Talk to Bot to test: