# Quickstart - Send an SMS

> The purpose of this guide is to help you create a working sample that uses the [Send Message](https://docs.uipath.com/activities/other/latest/legacy-integrations/send-message-activity) activity.

## Overview

The purpose of this guide is to help you create a working sample that uses the [Send Message](https://docs.uipath.com/activities/other/latest/legacy-integrations/send-message-activity) activity.

This working sample enables you to quickly verify the connection to your Twilio resources and get familiar with the activity's input/output datatypes.

After completing the steps in this guide, you'll have an automation sequence that does the following:

1. Establishes a connection to your Twilio resources ([Twilio Scope](https://docs.uipath.com/activities/other/latest/legacy-integrations/twilio-scope-activity)).
2. Sends an SMS message ([Send Message](https://docs.uipath.com/activities/other/latest/legacy-integrations/send-message-activity)).

## Prerequisites

Before you begin:

1. Complete the Twilio [Setup](https://docs.uipath.com/activities/other/latest/legacy-integrations/twilio-setup) steps.

## Steps

1. First, add an **Twilio Scope** activity and set the values for the input parameters like in the screenshot below. In the sample workflow above, you can see that I got the values for these parameters from variables. Here's a short description of the activity’s parameters:
   * **Account Sid** (`String`) - Your Account SID from [your project dashboard](https://www.twilio.com/console).
   * **API Key Sid** (`String`) - API Key SID to work with your Twilio project. API Keys can be provisioned and revoked through the [Twilio Console](https://www.twilio.com/console).
   * **API Key Secret** (`String`) - API Key Secret to work with your Twilio project. API Keys can be provisioned and revoked through the [Twilio Console](https://www.twilio.com/console).

     ![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/legacy-integrations-docs-image-180672-1ed588e3-ed946150.webp)
2. Add the [Send Message](https://docs.uipath.com/activities/other/latest/legacy-integrations/send-message-activity) activity which can be used to send an SMS message. The parameters of this activity are:
   * **From** (`String`) - The Twilio phone number in E.164 format.
   * **To** (`String`) - The phone number to call, in E.164 format, e.g. +15558675310.
   * **Body** (`String`) - The text of the message you want to send. Can be up to 1,600 characters in length.
   * **Media** (`String[]`) - List of media (up to 10) to send with the message.

     ![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/legacy-integrations-docs-image-182833-a1801e77-d6a09136.webp)
3. Click **Run** and verify the SMS goes through.

A sample of this workflow can be found [here](https://forum.uipath.com/uploads/short-url/3rRJiBXaFssqoyNmJTdxREDFzEn.zip).
