Getting Amazon SNS into Zapier

Post on 04-Dec-2014

1.063 views 2 download

Tags:

description

Here is a step by step explanation of how to get SNS notifications POSTed via Zapier to hundreds of different services.

Transcript of Getting Amazon SNS into Zapier

Getting Amazon SNS into Zapier

My name is Shalom Carmel.I am a Solutions Architect at

GlobalDots.com, and a freelance consultant.

I solve problems for a living,and share some of my solutions

Amazon SNS

Amazon Simple Notification Service (SNS) is a web service that makes it easy to set up, operate, and send notifications from the cloud. 

http://aws.amazon.com/sns/

Zapier

Zapier enables you to automate tasks between other online services (services like Salesforce, Basecamp, Gmail, and 201 more).

http://zpr.io/Bhi

Here is how to connect Amazon SNS to 200+ services via Zapier,

without a single line of code

You need to have an active AWS account and a Zapier account

We start by opening the AWS console. Select SNS, and click “Create New Topic”

Give your new topic a descriptive name

Jot down the Topic ARN, you will soon need it.Click “Create New Subscription”

Leave SNS for a while and go to Zapier

We start with a web hook trigger “Catch Hook”and a web hook action “GET”

Select and Copy the Webhook URL, and continue

Switching over to SNS

Paste the Webhook URL into the SNS Endpoint, and click “Subscribe”

The subscription is Pending Confirmation. Copy the ARN if you forgot it earlier

In Zapier, we will add a custom filter on the ARN we copied from the console

The Zapier web hook is public, and you don’t want just anyone posting stuff into your ZAP

SNS requires subscription confirmation by invoking the subscription URL

Zapier is smart enough to do it for us via the GET web hook

By trying out the Zap we invoke the subscription URL. Send, DO NOT continue.

Back in AWS, refreshing the view shows the active subscription. Click “Publish To Topic”

Let’s send a test message

The webhook action was temporary, just to confirm the subscription

Now we change the Zap to the real action that we actually need, a Gmail draft

The Subject keyword took a few minutes to show on the list, so I typed {{Subject}} instead

Enable your Zap

You can start publishing to the SNS topic, either manually or via Amazon’s API

This is the draft message created in Gmail

This is how it looks like in Zapier’s activity log

What else is possible?

What else is possible with Zapier?

Insert a database record (SQL connection)Create a Helpdesk ticket (Desk.com,

Zendesk,…)Send SMS or ring a phone (Twillio)Post to a custom URL or API

http://zpr.io/Bhi