?>

Amazon SNS + Twilio Integrations

Appy Pie Connect allows you to automate multiple workflows between Amazon SNS and Twilio

About Amazon SNS

The Amazon SNS platform (SNS) is a web service that enables you to send an SMS or a text-enabled mobile push notification to targeted subscribers.

About Twilio

Twilio is the communciton platform that millions of developers trust to build seamless communications experiences with phone calls, text messages, video calls, and more.

Twilio Integrations
Twilio Alternatives

Connect the apps you use everyday and find your productivity super-powers.

  • SMS By Connect SMS By Connect
  • Aircall Aircall
  • CallFire CallFire
  • CallHub CallHub

Best Amazon SNS and Twilio Integrations

  • Amazon SNS Slack

    Amazon SNS + Slack

    Send messages to Slack from the Amazon Simple Notification Service (SNS) Read More...
    When this happens...
    Amazon SNS New Message
     
    Then do this...
    Slack Send Channel Message
    Want to keep your Slack team informed about the Amazon SNS messages you're sending? After you've set up this Amazon SNS-Slack integration, they'll receive a message on Slack for any new Amazon SNS message instantly. The message content will include a timestamp, the topic name, and the body of the notification.
    How This Integration Works
    • A new message is sent on a topic from Amazon SNS
    • Appy Pie Connect automatically sends a message on Slack
    What You Need
    • Amazon SNS account
    • Slack account
  • Amazon SNS Google Sheets

    Amazon SNS + Google Sheets

    Add new rows on Google Sheets for new Amazon SNS messages Read More...
    When this happens...
    Amazon SNS New Message
     
    Then do this...
    Google Sheets Create Spreadsheet Row
    If you want to keep track of all your Amazon SNS interactions, this integration is for you. Connect your Amazon SNS account to Google Sheets with Appy Pie Connect without any coding. Once you've activated this Amazon SNS Google Sheets integration, you'll be all set. From then on, every new message you receive for a specific topic on Amazon SNS will automatically be sent to Google Sheets, where a new row will be created for each. That way you can keep a record of all your Amazon SNS communication easy and organized.
    How This Amazon-SNS Integration Works
    • A new message is sent on a topic from Amazon SNS
    • Appy Pie Connect automatically adds a new row on Google Sheets
    What You Need
    • Amazon SNS account
    • Google Sheets account
  • Amazon SNS Amazon SNS

    Gmail + Amazon SNS

    Send Messages through Amazon SNS from new Gmail emails [REQUIRED : Business Gmail Account] Read More...
    When this happens...
    Amazon SNS New Email
     
    Then do this...
    Amazon SNS Create Message

    Amazon SNS is the highly managed messaging service used for sending basic notifications that can take the form of mobile push notifications, SMS’s, and even emails. With this service, you can also send alerts to various distributed services around the web. Now you can add more value to your Amazon SNS service by connecting it to Gmail. Once active, whenever a new email (matching a specific search term) is received on Gmail, Appy Pie Connect will automatically push out a new Amazon SNS message with all the details of the email.

    Note: To use this integration you must have a Business Gmail account.

    How it Works
    • A new email is received on Gmail
    • Appy Pie Connect automatically sends an Amazon SNS message.
    What You Need
    • A Gmail account
    • An Amazon SNS account
  • Amazon SNS Google Sheets

    Twilio + Google Sheets

    Add new Google Sheet rows for Twilio SMS text messages Read More...
    When this happens...
    Amazon SNS New SMS
     
    Then do this...
    Google Sheets Create Spreadsheet Row
    If you’re a business owner, you understand the importance of Twilio SMS Text Messages. These SMS text message mean a lot to your business and you must keep them safe for future reference. With our automation platform, you can automatically save Twilio SMS Text Messages without any manual efforts. With this integration active, Appy Pie Connect will copy your Twilio SMS messages into a spreadsheet in Google Sheets, bringing all of your messages together into one place.
    How This Connect Works
    • A new SMS message triggers in Twilio
    • Appy Pie Connect automatically adds the SMS to Google Sheets as a new row in a spreadsheet
    What You Need
    • A Twilio account
    • A Google account (with an access to Google Sheets spreadsheet)
  • Amazon SNS Google Sheets

    Twilio + Google Sheets

    Save New Twilio Calls to Google Sheets as New Rows Read More...
    When this happens...
    Amazon SNS New Call
     
    Then do this...
    Google Sheets Create Spreadsheet Row
    Setup Google Sheets – Twilio automation with Appy Pie Connect and automatically save Twilio calls without any manual efforts. You don’t need to learn coding or programming skills, just follow our simple instructions and set-up this Connect in minutes. After setting this integration up, Appy Pie Connect will save Twilio phone calls in details, including – number, call location, and how long you talked or any other detail you might need.
    How This Automation Works
    • A new call is logged on Twilio
    • Appy Pie Connect adds call information to Google Sheets as a new row
    What Is Needed For Integration
    • A Twilio Account
    • A Google Account( with access to Google Sheets)
  • Amazon SNS Google Sheets

    {{item.triggerAppName}} + {{item.actionAppName}}

    {{item.message}} Read More...
    When this happens...
    Amazon SNS {{item.triggerTitle}}
     
    Then do this...
    {{item.actionAppImage}} {{item.actionTitle}}
Connect Amazon SNS + Twilio in easier way

It's easy to connect Amazon SNS + Twilio without coding knowledge. Start creating your own business flow.

    Triggers
  • New Subscription

    Triggers when you add a new subscription.

  • New Topic

    Triggers when you add a new topic.

  • New Call

    Triggers once a call is completed on your Twilio number.

  • New Recording

    Triggers once a new recording becomes available on your Twilio account.

  • New SMS

    Triggers the moment an SMS is sent to your Twilio Number.

    Actions
  • Create Message

    Create a new message.

  • Create Topic

    Create a new topic.

  • Call Phone

    Call a number or numbers and say your predefined message.

  • Send SMS

    Send a SMS to a number or numbers.

How Amazon SNS & Twilio Integrations Work

  1. Step 1: Choose Amazon SNS as a trigger app and Select "Trigger" from the Triggers List.

    (30 seconds)

  2. Step 2: Authenticate Amazon SNS with Appy Pie Connect.

    (10 seconds)

  3. Step 3: Select Twilio as an action app.

    (30 seconds)

  4. Step 4: Pick desired action for the selected trigger.

    (10 seconds)

  5. Step 5: Authenticate Twilio with Appy Pie Connect.

    (2 minutes)

  6. Your Connect is ready! It's time to start enjoying the benefits of workflow automation.

Integration of Amazon SNS and Twilio

Amazon Simple Notification Service (SNS. is a web service that delivers messages to applications and end users from an Amazon Web Services (AWS. cloud. It is used for sending email, texts and push notifications. Amazon SNS can be used for sending out notifications about website changes or system status updates. It also can be used to send out information regarding weather alerts, package delivery, product sale promotions and other relevant notifications.

Amazon SNS is easy to integrate with other AWS services like Elastic Compute Cloud (EC2), Relational Database Service (RDS), Simple Storage Service (S3), Simple Queue Service (SQS), Mobile Hub and Application Load Balancer, and it's also easy to integrate with on-premises servers and applications using the Amazon SNS API.

Twilio provides an application program interface (API. to connect software applications to communications channels like Voice, SMS, and MMS. The API powers communications capabilities within web, desktop, and mobile applications.

Integration of Amazon SNS and Twilio helps in adding messaging capabilities to your application without the need for complex programming. It is also useful in adding notifications to your application.

Twilio provides APIs that can be used to route incoming phone calls, text messages, or push notifications to the right place in your application. It also allows you to build voice, VoIP, chat bots and other real-time communications into your web apps and devices.

This integration helps in building scalable phone trees which can handle thousands of phone calls per second by routing them to the appropriate person or department. This integration also helps in creating a feedback loop in your application. You can create automated surveys and questionnaires based on the responses received from customers as well.

The integration of Amazon SNS and Twilio helps in a variety of ways. Some of them are listed below:

  • Create a free account at both Amazon SNS and Twilio if you don't have one already.
  • Create a new topic on Amazon SNS console and fill in the details:

Topic Name. TwilioTopic ARN. arn:aws:sns:eu-west-1:XXXXXXXXXX:TwilioTopic

Subscription Type. TopicMessageWebhook

Click on the "Create topic" button.

  • Create a new app on Twilio console and fill in the details:

Name. TwilioTopicApp Webhook URL. https://api.twilio.com/2010-04-01/Accounts/DXXXXXXXXXXXXXXXXXXX/Messages

Click on the "Create" button.

It should take few minutes for the app to get created. Once the app is created, copy down the values of Account SID and Auth Token as we will need them later on.

  • Create a new Lambda function by clicking on the "Create" button under the "Lambda" section in AWS Console. It will ask you to choose between Java 8 runtime or nodejs4.3 runtime environment; select nodejs4.3 runtime environment if you are not sure where to go with this choice then choose Java8 runtime environment as it is more popular among developers than nodejs4.3 runtime environment .

Next step would be configuring the trigger for this Lambda function . For this Lambda function the trigger will be configured as "Cloudwatch Event". Under Event source choose "SNS".

In next screen fill in the details as shown in figure below:

  • Now click on the "Next" button and fill in the details as shown in the following image :
  • Next click on the "Upload" button and upload the code zip file from here . This zip file contains two files . index.js and config.json .
  • Your Lambda function has been successfully created; it's time to configure it with our API keys for Twilio now. We have two options available here. we can either do this manually or we can use AWS Serverless Application Model (SAM. template which we have built earlier. I am going to use AWS SAM template here as it is easier way of doing it.

Here is how you can do this :

Go to AWS console → navigate to AWS Lambda → Functions → click on yours → Actions → Configure function → Search for SAM in list → click on Configure via SAM Template item → search for your function name → click on it → give permission for this template to configure your lambda function → let it configure it :

  • After successful configuration of Lambda function it should look like this :
  • Go back to AWS Console → navigate to Services → Twilio → Click on "+" sign next to your Twilio account → Click on Messaging → Click on Test Messages → Populate your number here → Send a test message → Make sure you got test message :
  • Go back to AWS Console → Navigate to Services → Twilio → Click on "+" sign next to your Twilio account → Click on Phone Numbers → Click on "+" sign next to your Twilio phone number → Click on Edit Number → Click on HTTP Callback URL field → Paste your URL here :
  • Go back to AWS Console → Navigate to Services → Amazon SNS → Click on Subscription created earlier for your Topic named TwilioTopic => Click on Actions tab => Click on Edit topic => Add ARN of Lambda function which we created earlier (i.e. arn:aws:lambda:eu-west-1:XXXXXXXXXXXXXX::YOUR_LAMBDA_FUNCTION_NAME . => Save your changes :
  • Go back to AWS Console → Navigate to Services → Amazon SNS => Topics → Select TwilioTopic => Actions tab => Edit topic => Click on Publish Subscribe Endpoint Option => Add your endpoint URL which we created earlier (i.e. https://api.twilio.com/2010-04-01/Accounts/DXXXXXXXXXXXXXXXXXXX/Messages . => Save changes :
  • Finally go back to AWS Console -> Services -> Twilio -> Numbers -> Click on the number which you want to receive messages from Topic we have created earlier => Actions -> Edit number -> Quick actions tab -> Enable webhooks => enable Receive webhooks checkbox => fill in your endpoint url (i.e https://api.twilio.com/2010-04-01/Accounts/DXXXXXXXXXXXXXXXXXXX/Messages . => Save Changes :

Congratulations !! Your Amazon SNS & Twilio Integration has been successfully set up !! Let's test out this integration by receiving a notification from Topic we have created earlier .

Now whenever someone sends test message from Twilio console you should see something like below in your AWS Console /services/Amazon SNS=>Topics=>TwilioTopic=>Events=>click on test message event :

You should see something like below in your twilio console :

  • You will see something like below once event is processed by lambda function :

The process to integrate Amazon SNS and Twilio may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick solution to help you automate your workflows. Click on the button below to begin.