SMS
To configure your Autopilot Assistant for Twilio Programmable SMS follow the following instructions:
- Go to your Console Phone Numbers page.
- Buy or select the phone number you want to use for your Assistant.
- In Messaging Configuration select Webhook.
- Fill in the URL in the following format:
-
https://channels.autopilot.twilio.com/v1/<ACCOUNT_SID>/<ASSISTANT_SID>/twilio-messaging
- Click Save Settings.
- Send a message to that phone number and you should get an Assistant Responder webhook.
Autopilot URL Parameters
Parameter | Description |
TargetTask |
A string representing the unique name of the destination Task. If no TargetTask is provided, the destination task is determined by the natural language understanding. TargetTask is useful when you want to control what task a user is routed to. |
For Example: Note the TargetTask parameter at the end of the URL
https://channels.autopilot.twilio.com/v1/<ACCOUNT_SID>/<ASSISTANT_SID>/twilio-messaging?TargetTask=handle_appointment_confirmation
Any message sent to number or messaging service configured with this URL will land in the handle_appointment_confirmation task.
Need some help?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.