Introduction

Send SMS messages with ease using the AWS SNS Connector. This connector utilizes Amazon Web Services' Simple Notification Service (SNS) to enable SMS messaging capabilities. For comprehensive details on AWS SNS, visit the official documentation.

You'll need to make sure you have an organization phone number registered, then you can head to your account page to get your AWS Access Key ID and Secret Access Key.

Configuration

To integrate the AWS SNS Connector into your project, head to the Connectors page, select the AWS SNS connector, and configure the following parameters:

  • Connector Name: Assign a custom name to your connector. This is especially useful for distinguishing among multiple connectors derived from the same template.
  • Connector Description: Provide a brief description of your connector's purpose.
  • Access Key ID: Your AWS Access Key ID.
  • Secret: Your AWS Secret Access Key.
  • Endpoint (Optional): Specify an endpoint URL. This can be either the hostname alone or a fully qualified URI.
  • Region: The AWS region to which requests should be sent (e.g., us-west-2).
  • Sender ID (Optional): The sender name that will appear on outgoing SMS messages. Refer to the SNS documentation for acceptable IDs and information on supported regions/countries.
  • Origination Number (Optional): The phone number from which the SMS will be sent. Ensure this number is correctly registered in your server.

Testing

Before deploying your connector, it's crucial to verify its configuration:

  1. Enter a phone number to which the test SMS should be sent.
  2. Use the Test button to initiate a test SMS message.

This test ensures that your connector is properly set up and can send SMS messages successfully.

For further assistance or troubleshooting, refer to the AWS SNS documentation or contact Descope support.

Activating Connectors

  1. One-time Password (OTP) Short Message Service (SMS)

The first way to use the AWS SNS connector is to send OTP messages. Simply head to Authentication Methods, click One-time Password, and choose a different Connector.

aws sns connector sms otp
  1. Send SMS Messages in Flow

The second option is to add the AWS SNS widget in the flow to send SMS messages. Simply navigate to the flow and add the connector widget.

aws sns flow widget config

Then, you can configure the message you'd like to send and the phone number to send to.

aws sns flow connector