AlertWorX allows you to configure Twilio Configurations notifications within the Workbench.
To Configure Twilio Configurations Notifications:
Start the Workbench, then expand your project. Next, expand the Alarms and Notifications node to show the AlertWorX node. Expand the AlertWorX node to show the Configurations node. Expand the Configurations node to show the Twilio Configurations node.
Right-click the Twilio Configurations node in the navigation tree and select Add Twilio Configuration, as shown in the figure below.
Add Twilio Configuration Node from the Project Explorer
-OR-
Select the Twilio Configurations node in the Project Explorer, then click on the Add Twilio Configuration button, shown below, in the Edit section of the Home ribbon in the Workbench.
Add Twilio Configuration Button
This opens the Twilio Configuration properties window, shown below, beneath the Project Details section in the Workbench. Enter a unique name in the Name text entry field.
Twilio Configuration Properties - General Settings Tab
In the General Settings tab, in the General Settings section of the properties, you can decide if the current configuration "Is Default Configuration" by checking the checkbox.
You can also enter a description of the current configuration in the Description text entry field.
Use the pulldown menu to select a Default Phone Number, populated from the Phone Numbers tab.
Use the pulldown menu to select a Default WhatsApp Number, populated from the WhatsApp Numbers tab.
In the Test this configuration section, you can enter a number in the To Number text entry field to send a test message. Note that this is only used for testing. Once the necessary fields are complete, you can then click on the nearby Test Sms, TestWhatsApp, or TestVoice buttons.
You should now configure the credentials for your Twilio account in Environment Variables. Please restart the Alert Rest service after setting this up.
Twilio Configuration Properties - Phone Numbers Tab
Click on the "+ Click here to add new item" link. This adds a new entry, where you can then enter a Name, Phone Number and Callback URL in the respective text entry cells. If you have not already done so, you can now select a Default Phone Number from any added Phone Numbers here in Step 6 above.
Twilio Configuration Properties - WhatsApp Tab
Click on the "+ Click here to add new item" link. This adds a new entry, where you can then enter a Name and WhatsApp Number in the respective text entry cells. If you have not already done so, you can now select a Default WhatsApp Number from any added WhatsApp Numbers here in Step 7 above.
Once you have completed setting the Twilio Configuration properties, click on the Apply button. The new Twilio Configuration will now appear in the Project Explorer.
See Also: