OnPing has used Twilio to deliver calls behind the scenes for a while now, but we are broadening our connection with Twilio. You can put in your account details and link as many twilio accounts as you like to your onping account. This allows you to send alert events to twilio and create custom notifications while mixing data in from OnPing.
OnPing will need to know your account info in Twilio in order to create an integration for you. This information can be added to OnPing using the Twilio Integration Widget or the Twilio Integration Add Page. Your Twilio Information can be found by going to your Twilio Account Dashboard. On your dashboard you will need two pieces of information. The first is the Twilio Account SID. This is a unique identifier for your Twilio Account. The second is the secret Twilio Auth Token. As a 3rd-party integration we required this authentication token in order to be able to send messages using your Twilio Account.
In addition to the Twilio above Twilio Account Information you will also need a Twilio Phone Number capable of sending text messages. This phone number is purchased from Twilio and can be found by navigating to the “Phone Numbers” tab show to the left of the Twilio Account Dashboard.
Twilio Flows are how you are able to customize what happens when a Twilio Integration Event Link is generated. Twilio Flows are created in the Twilio Studio. This can be found in Twilio by using the side menu and navigating to “Explore Products > Developer Tools > Studio”.
Once on the Twilio Studio page you will need to create a new Twilio Flow. The flow can be named whatever you want. It is best to also choose the “Start from scratch” options for the Twilio Flow template. Once you do this it should open a drag and drop editor for creating and configuring a Twilio Flow.
The Twilio Studio has a lot of widgets available for use, for this demo we will be utilizing the “Send Message” widget to send a message to the configured OnPing User when the associated OnPing Event Table is updated with a new row. In order to do this locate the “Send Message” widget from the Widget Library panel and drag it into the flow editor grid. Once the widget is in the grid you will drag a line from the REST API segment of the Trigger into the top of the “Send Message” widget. You can also customize the message content at this time.
Twilio Flows can receive data from OnPing and that data can be embedded within your message bodies. Data can be from the first row of the event table and for each column in the event table, starting with the first column being column zero. The supported fields are:
Example cell data embedding for Table 1:
Powered by BetterDocs
PO BOX 851012 Yukon, OK 73085
© 2022 Plow Technologies. All rights reserved.