In this article we will guide you on how to configure Acknowledgement and Notification SMS messages in DataPages, Triggered Actions and Tasks.  

Configuring SMS in DataPages

Acknowledgement SMS

When enabled, Acknowledgement SMS messages are sent upon data submission, modification, or deletion to a phone number from a given field. For example, you can set up an acknowledgement SMS to app users who make an appointment or register to a new service. 

To send acknowledgement SMS messages: 

  1. In your app, navigate to DataPages and edit a selected DataPage. Proceed to the Destination and Messaging screen. 
  2. Click the Messaging tab. In the Acknowledgements section, select the SMS checkbox. 
  3. In the phone field, select the recipient phone number field. 
  4. Select your preferred country code handling: 
    • All my numbers contain proper country code in +n format, or +1 is assumed 
    • Append country code from this field – select a field from a data source to append the phone number with. 
    • Append fixed country code – enter a fixed country code that will be appended to all phone numbers from your phone number field.  
  1. Configure the SMS message content.
  2. Select Finish.

Notification SMS

Notification SMS messages are sent upon the data submission, modification, or deletion to the specified phone numbers. For example, you can send a notification SMS to a system administrator when an app user makes an appointment or registers to a new service. 

To send notification SMS messages: 

  1. In your app, navigate to DataPages, and edit a selected DataPage. Proceed to the Destination and Messaging. 
  2. Click the Messaging tab. In the Notifications section, select the SMS checkbox. 
  3. Enter a valid receiver phone number and configure the message content.  
  4. Select Finish. 

Configuring SMS in Triggered Actions

Triggered Actions allow sending automatic SMS notifications upon addition, modification, or deletion of a record in DataPages.  They can be executed by building an application logic using the visual interface.  

Sending SMS messages with Triggered Actions

  1. From the Triggered Actions tab of the table you want to base the trigger on, click New Triggered Action. 
  2. Select events on a table that will trigger your action. You can choose between Insert, Update, and/or Delete.
  3. From the left-hand menu, select Send SMS as an action that should run when a trigger executes. Click or drag this action block.
    • By clicking the gear icon in the notification Action block, you retrieve data from tables to use in the subject or message body.
    • In the TO field, insert the country code and phone number. If no country code is entered, it will be auto-filled with +1. You can also use an international phone number format with the code included in the Phone field.  
    • By clicking the picker icon you can insert a field value in the message body or subject line. This is available only when SELECT statement is used to retrieve data from tables.
  1. You can click the Validate button in the upper menu to check if there are no errors in the trigger.
  2. Select Save from the top menu.
  3. Name your trigger and then select either Save or Save & Enable.

Configuring SMS in Tasks

Tasks are operations that you can create in your application and run them manually or automatically based on a predefined schedule. You can use them, for instance, to send SMS messages with best wishes and special offers on your customers’ birthdays.  

Sending SMS messages with Tasks

  1. On the sidebar of your application, click Tasks. 
  2. Click New Task and build your task in the task editor. 
  3. Click on the dropdown to set the frequency of your task runs.  
    • For manual tasks, select the On Demand option. For more information, see Running a task manually. 
    • For repetitive tasks, select Configure… and set the task scheduleoptions as needed. 
  1. From the left-hand menu, click or drag the Send SMS action block.
    • In the TO field, insert the country code and phone number. If no country code is entered, it will be autofilled with +1. You can also use an international phone number format with the code included in the Phone field. 
    • By clicking the  picker icon you can insert a field value in the message body or subject line. This is available only when SELECT statement is used to retrieve data from tables.
  1. You can optionally test the correctness of your logic by clicking Validate. If there are errors, you must fix them before you can save the task.
  2. Click Save  and name your task.
  3. Save your task. If you want to enable the task immediately, click Save & Enable.