You are here:

The Twilio Connector allows sending SMS messages via Designer applications using the Twilio API. A Twilio Connector can be associated with Action Button controls, and the system will send an SMS message to a phone number (static or dynamic) using Twilio programmable sms mechanism whenever the Action Button triggers that event.

Twilio connector properties must be configured in order to define the message content and recipient.


The section below will outline the properties for the Twilio connector.


The Name is simply a friendly identifier given to the connector to help you subsequently identify this event from the others.

Account Sid

Account Sid is a string that identifies your account. You can find your account id on the Twilio console.

Auth token

Auth token is a password that is assocaited with your account. It should be kept as a secret for your own security. You can find your account id on the Twilio console.

From Number Static Value

From Number Static Value is the phone number of the recipient that will receive the SMS messages. Note that you need to purchase an SMS capable phone number from Twilio to be able to send SMS messages. This number should include a Country code.

To Number Type

This property defines whether the recipient number is to a be static phone number, or retrieved dynamically from a Single Named Range (SNR).

The corresponding values are as follows:

  • Static – You can enter a static number where the messages will be sent every time.
  • Dynamic – The target phone number will be based on a Single Named Range (SNR) from your workbook. You can select this named range from the To Number Named Range dropdown list, which will become visible when you select this option.

Body Type

This defines whether the contents of the Twilio message are to be static or retrieved dynamically from a Single Named Range (SNR).

The corresponding values are as follows:

  • Static – The contents of the Twilio message can be defined using the rich-text editor that becomes available upon selecting this option. This editor allows formatting the text, inserting media files, hyperlinks, and tables. You can also modify the custom CSS by opening the code editor with the button.
  • Dynamic – The contents will be dynamic and based on a Single Named Range (SNR) from your workbook. You can select this named range from the Body Named Range Sequence ID dropdown list, which becomes visible when you select this option.

Static Body Type – Custom Content Injection

With the Static Body Type option, you can dynamically inject named range values into the Twilio message contents, just like you can with a Content Control in the User Interface Designer.

The value of the calculated and input named ranges can be injected directly into the HTML contents of a content / label control.

All dynamically injected variables must be placed inside double curly braces ({{ }}). To begin the process of injecting a variable into the contents, begin entering curly brackets, and hints will show up to guide you through the rest of the process.

Single Named Ranges

Upon opening double curly brackets, you will see a list of available Single Named Ranges (SNR). Selecting one of these from the dropdown will populate the content control with the named range’s name.

If you would like no formatting to be applied, you can simply close the two brackets and the value will be injected as an unformatted value.

Text formatting options are available when injecting the value of a Single Named Range (SNR). To do this, simply type in a colon character (:) after the named range’s name to see a list of supported data types.

Inserting Stubs Using the Stubs Button

Clicking the Stubs button on the top right of the content editor will open the Insert Stub menu where you can add document stubs with the help of a graphical user interface.

On the Insert Stub menu, you can select a named range, type, and format to automatically add the stub corresponding to your selections. If you want to use text format you can click Pull format from Excel checkbox.

After selecting the named range, type and format properties, or selecting the named range field and clicking Pull format from Excel checkbox press the Insert Stub button to insert the stub text into the content editor.

List and Table Named Ranges

These types of named ranges must be entered in the same format as Single Named Ranges (SNR), except they do not support formatting of the output values. Using a List or Table Named Range within two sets of curly brackets will inject a full table into the content / label control.

This is best utilized when looking to test the values that exist within a named range, rather than for final presentation of a list or table named range. To present a readable and customizable format, use an Input or Output Grid control instead to display this type of data.

Record stubs

Record stubs are replaced with URLs related to the saved record when there is a Save event associated with the same button as the Twilio connector. The stubs that can be used are:

  • {{RecordLink}}: Replaced with View Record URL
  • {{RecordEditLink}}: Replaced with Edit Record URL.