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.
Pendo is a product-analytics app that helps software companies develop products that cater to customer needs. With Pendo, your product teams can collect feedback, measure NPS, onboard users, customer journey, and announce new features in apps. Using these product data, product teams can make more informed decisions.
Pendo IntegrationsPendo + Amazon SNS
Create Message to Amazon SNS from New Visitor From Report in Pendo Read More...Pendo + Amazon SNS
Create Topic to Amazon SNS from New Visitor From Report in Pendo Read More...Amazon SNS + Slack
Send messages to Slack from the Amazon Simple Notification Service (SNS) Read More...It's easy to connect Amazon SNS + Pendo without coding knowledge. Start creating your own business flow.
Triggers when you add a new subscription.
Triggers when you add a new topic.
Trigger when new visitor visit.
Trigger when a new visitor added in the report.
Create a new message.
Create a new topic.
(30 seconds)
(10 seconds)
(30 seconds)
(10 seconds)
(2 minutes)
Amazon SNS is a highly scalable, flexible, fully managed pub/sub messaging service. Amazon SNS lets you decouple the components of your application so they can scale independently and reach their full potential. We will look into the architecture of Amazon SNS and its features, which include:
Pendo is a cloud-based software analytics tool that gives teams deep insights into how users engage with their software. Pendo enables product teams to understand user behaviors, measure product usage, identify adoption challenges, analyze feature impact and optimize decisions based on actual data.
For our integration we are going to use the following tools:
AWS SDK for PHP . Provides simple access to AWS services from your PHP applications.
. Provides simple access to AWS services from your PHP applications. Amazon SNS . Event-driven publish/subscribe messaging service.
Pendo. A SaaS platform for managing customer engagements.
Now let’s find out how we can integrate Amazon SNS with Pendo.
II.A Integration of Amazon SNS and Pendo
We will use the JSON format in our payload. You can also use XML if you prefer, but we’ll stick with JSON for simplicity. Amazon SNS provides an endpoint in the API Gateway for us to send messages to topics. It also offers a URI template parameter that lets us specify this topic as a variable in our request. For more information about this, go here. This is how we will make our API request to send our message to a topic:
POST https://endpoint-api-id.execute-api.us-east-1.amazonaws.com/Prod/TopicArn=arn:aws:sns:us-east-1:123456789012:topic. MyTopicName
{ "Records". [ {"MessageType":"SMS","Body":"This is an SMS message","TopicArn":"arn:aws:sns:us-east-1:123456789012:topic:MyTopicName"} ] }' { "Records". [ {"MessageType":"SMS","Body":"This is an SMS message","TopicArn":"arn:aws:sns:us-east-1:123456789012:topic:MyTopicName"} ] }'
The above request creates a new subscription for the topic ‘MyTopicName’. When you send a POST request to this endpoint, it creates a new topic subscription and returns a subscription ID (SubscriptionId. and a list of ARNs for subscribed resources (SubscriptionArn. You should store these Subscription IDs and ARNs for the resources returned by the endpoint in AWS SNS so that you can use them later to send messages to the topic using AWS SDK for PHP functions. We will send our messages from Pendo to Amazon SNS via HTTP requests to the endpoint URL for our topic, plus any URI template variables required to specify the topic ARN (which would be the same as the topic name. For example, if we were sending an SMS message to Amazon SNS via Pendo, this is how we would call the HTTP endpoint in PHP. $client = new Services_AmazonSNS(); $response = $client->sendMessage(array('Endpoint' => 'https://endpoint-api-id.execute-api.us-east-1.amazonaws.com/Prod/TopicArn=' . urlencode('arn:aws:sns:us-east-1:123456789012:topic:MyTopicName'), 'MessageBody' => 'This is an SMS message', 'MessageAttributes' => array( 'Body' => 'This is an SMS message', ), )); The response contains an acknowledgement of the message being sent (such as “Successfully published message”. or an error code and message (such as “Failure publishing message”. These are described here and here respectively. Please note that this HTTP request will not return any information about whether or not Amazon SNS successfully delivered the message to your subscribers; you should check the status of your subscriptions directly from the Amazon SNS console instead.
III Conclusion
There are many other ways you can integrate Amazon SNS and Pendo; you can use HTTP requests or webhooks, for example. But the main thing is that both products are scalable and can be used together in many different ways to get the most value out of them.
The process to integrate Amazon SNS and Pendo 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.