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.
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
Amazon SNS + TwilioSend SMS in Twilio when New Subscription is created in Amazon SNS Read More...
Amazon SNS + TwilioCall Phone in Twilio when New Subscription is created in Amazon SNS Read More...
It's easy to connect Amazon SNS + Twilio without coding knowledge. Start creating your own business flow.
Triggers when you add a new subscription.
Triggers when you add a new topic.
Triggers once a call is completed on your Twilio number.
Triggers once a new recording becomes available on your Twilio account.
Triggers the moment an SMS is sent to your Twilio Number.
Create a new message.
Create a new topic.
Call a number or numbers and say your predefined message.
Send a SMS to a number or numbers.
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.
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:
Topic Name. TwilioTopic ARN. arn:aws:sns:eu-west-1:XXXXXXXXXX:TwilioTopic
Subscription Type. TopicMessageWebhook
Click on the "Create topic" button.
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.
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:
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 :
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 :
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.