Sign Up
Loading...

Send Message

Send SMS Command

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.

-

Prerequisites

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.

Usage

To send an SMS:

  1. Provide Twilio Credentials: Ensure that your Twilio account ID and Auth Token are correctly populated in your API settings.

  2. Specify Phone Numbers: Input the phone number that you wish to send the SMS to.

  3. Enter the message content: Populate the receiver's message content

Testing

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:

  • Update the test to use Live Data Mode.

Send Email Command

You can send emails from Twidget using the Send Email command.

-

Prerequisites

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.

Usage

To send an email:

  1. Provide Email Settings: If using custom settings, specify host, port, username, and password for your email provider.

  2. Recipient Information: Populate the receiver's email, email subject, and email content.

Testing

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:

  • Update the test to use Live Data Mode.

Related Topics

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. ...

Loops

In Twidget, loops allow you to execute commands multiple times, either based on a condition or through a set number of iterations. Loops can also be nested, meaning you can run loops within other loops, creating complex logic for your tasks. List Loop. The `List Loop` command enables you to loop thr...

Lists

Twidget offers a variety of commands to help you manipulate lists easily without coding. Below is a detailed explanation of each command available. Get. Description: Returns the element in the provided list at the given index. Inputs: - `list`: The list from which to get the element. - `index`: The ...

Managing Files

Twidget offers a set of commands to manipulate files in your file store. Below are the descriptions and usage of each command to help you understand how to utilize them effectively. Get File. Retrieve a file via file path. Inputs: - `path`: The file path to retrieve the file from. Outputs: - `filena...

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...