You can send a message on Twilio based on a dynamic template that you define. The message is sent whenever the webhook is triggered.
For example: Send a message to Twilio whenever a new entry is created in your Leads table on Canonic.
Twilio is a message type webhook. To create one, select your input type as Message when creating a webhook.
|SID||The Twilio account identifier. Read More|
|Auth Token||The Auth Token for Twilio. The token should have sufficient permissions to trigger the webhook|
|Sender's Phone Number||The phone number from which the sms will be sent. Must be a verified Twilio phone number.|
|Receiver's Phone Number||The phone number to which the sms will be sent. You can use handlebar variables to refer to the data for the endpoint which triggered the webhook.|
|Email Body||The content for the SMS that would be sent through Twilio to the receiver's phone number.
It's a handlebars template so you can refer to the data from which the endpoint was triggered. You can also access any previous webhook's data. You can read more about the available variables here
Creating a Twilio webhook
- Create a new webhook on the endpoint you want to trigger the webhook.
- Select the input type as Message.
- Select Twilio as the provider.
- Enter the trigger URL and the message body to be sent.
- Close the properties panel to save your changes.
The webhook will be triggered whenever the endpoint you attached it to is triggered.
You can receive the result of this webhook in the extensions field by enabling the wait for webhooks options in the Endpoint properties.