Initial Configuration
TProfile can send/receive SMS through Twilio. To do so Tenants need to setup their own Twilio account and pass the following information to us:
Account Sid
Auth Token
From Number
You can get that information from the Twilio dashboard https://console.twilio.com/
These then need to be entered on the brand Site Settings section.
Inbound SMS
Twilio will forward SMS messages based on the webhook value setup under https://console.twilio.com/us1/develop/phone-numbers/manage/active
These are converted to an enquiry history item where a trigger can be configured to react on these inbound sms messages.
SMS Events
When a message is enqueded to send with Twilio various event occur. These are logged against the enquiry history item and are viewable in the history feed. Types of events for Twilio can be found here: Message Resource Reference for the Twilio Messaging REST API | Twilio