@botpress/channel-twilio
Official Twilio (SMS) connector module for Botpress.
This module has been build to accelerate and facilitate development of SMS bots.
Configuration
There's 3 required configuration variables:
-
accountSID
or envTWILIO_SID
-
authToken
or envTWILIO_TOKEN
-
fromNumber
or envTWILIO_FROM
and optionally:
-
messagingServiceSid
or envTWILIO_MESSAGING_SERVICE
You must set the SMS webhook to POST
on the Twilio dashboard and the url is the following:
https://{hostname}/api/botpress-twilio/webhook
Note on webhook
Protocol must be https. We recommend you use a tool like ngrok or pagekite in dev.