# Send Message

> Uses the Twilio API to send an SMS/MMS message.

Uses the Twilio API to send an SMS/MMS message.

## How it works

The following steps is an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

1. Complete the [Setup](https://docs.uipath.com/activities/other/latest/legacy-integrations/twilio-setup) steps.
2. Add the [Twilio Scope](https://docs.uipath.com/activities/other/latest/legacy-integrations/twilio-scope-activity) activity to your project.
3. Add the **Send Message** activity inside the **Twilio Scope** activity.
4. Enter values for the **From**, **To**, and **Body** input properties.
5. Run the activity.

## Properties

### Common

* **ContinueOnError** - Specifies if the automation should continue even when the activity throws an error. This field only supports `Boolean` values (**True**, **False**). The default value is **False**. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to **True**, the execution of the project continues regardless of any error.
* **DisplayName** `String` - The display name of the activity. Enter a `String` or `String` variable.

### Message

* **Body** `String` - The text of the message you want to send. Can be up to 1,600 characters in length. Required if **Media** is not specified. Enter a `String` or `String` variable.
* **Media** - A list of media (up to 10) to send with the message. Required if **Body** is not specified. Enter a `String[]` variable.
  :::note
  The media size limit is **5MB** for supported file types (JPEG, PNG, GIF) and 500KB for other types of accepted media.
  :::
  :::note
  Twilio doesn't allow you to specify both **Body** and **Media** for a single message. If both are specified, **Media** is ignored.
  :::

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

* **Message** `Twilio.Message` - The message to be sent. Recommended if you plan to use the output data in subsequent activities. Enter a `Twilio.Message` variable.

### Receiver

* **To** `String` - The destination phone number to call, in E.164 format, e.g. +15558675310. Enter a `String` or `String` variable.

### Sender

* **From** `String` - The Twilio phone number in E.164 format. Enter a `String` or `String` variable.
