With Twidget, you can send SMS messages to phones using the Send SMS
command. This functionality varies depending on the provider. Currently, we support Twilio as the SMS provider.
-
To use Twilio for SMS integrations, you will need:
A Twilio account ID
Twilio Auth Token
A Twilio-provided phone number
These credentials can be obtained by registering with Twilio.
To send an SMS:
Provide Twilio Credentials: Ensure that your Twilio account ID and Auth Token are correctly populated in your API settings.
Specify Phone Numbers: Input the phone number that you wish to send the SMS to.
Enter the message content: Populate the receiver's message content
By default, SMS commands sent via testing mode will succeed without actually sending an SMS. This prevents accidental messages during development.
To test real SMS messages:
You can send emails from Twidget using the Send Email
command.
-
The Send Email
command requires email settings:
By default, it will use the email details you provide in your API settings.
Alternatively, you can override the settings by selecting Custom Email Settings in the dropdown.
To send an email:
Provide Email Settings: If using custom settings, specify host, port, username, and password for your email provider.
Recipient Information: Populate the receiver's email, email subject, and email content.
By default, email commands sent via testing mode will succeed without actually sending an email, ensuring test emails aren’t sent by accident.
To test real emails:
Miscellaneous
Twidget provides several miscellaneous commands to facilitate various tasks. Is Null. Description: Checks whether the provided value is null or not. Inputs: - value: The value to be checked. Output: - boolean: Returns `true` if the value is null; otherwise, returns `false`. Not Null. Description: Ch...
Date
Twidget offers a variety of commands to manipulate date objects. Below are the available commands along with their respective descriptions, inputs, and outputs. Current Date. Description: Returns the current date and time. Output: - Type: DATE Add Time. Description: Returns the date plus a specified...
Database
Twidget offers many commands to manage data in your database. Below is a list of the available commands and their functionalities: Get Data. Retrieve an entry from a table. Get Multiple Data. Retrieve multiple entries from a table. Save Data. Save an object to a database table. Save Multiple Data. S...
Math
Twidget offers a variety of commands to manipulate numbers. Below are the math commands available, along with their descriptions, inputs, and outputs. Sum. Description: Adds together a list of numbers and returns the sum. - Inputs: - `numbers`: A list of numbers to be added together. - Output: A sin...
Conditionals
Condition Command. The Condition Command allows you to perform actions based on whether an expression evaluates to true or false. You can nest other commands within the true or false branches of the condition, enabling complex logic flows. - Expression Builder: Validate two variables to equal true. ...