Drew Alden
Published © MIT

Amazon Re:Invent "Dash" Button + AWS + IFTTT = InfiniButton!

Why make a button with a single function (a la Dash purchase) when you can make it do ANYTHING? Customizable online at any time via IFTTT!

IntermediateFull instructions provided19,210
Amazon Re:Invent "Dash" Button + AWS + IFTTT = InfiniButton!

Things used in this project

Hardware components

AWS IoT Button
Amazon Web Services AWS IoT Button

Software apps and online services

Maker service
IFTTT Maker service


Read more


index.js (AWSIoTButton Function)

Main function to forward AWS IoT Button presses to IFTTT via AWS Lambda.
var IFTTTkey = "<YOUR KEY>";
var request = require('request');

//this is called when the AWS Button is pressed and event data is passed as well
exports.handler = function(event, context) {
    console.log("Received AWS Button event: " + event.clickType + ". Firing IFTTT Maker Trigger...");
    request('https://maker.ifttt.com/trigger/' + 'AWS-'+ buttonState + '/with/key/' + IFTTTkey, function (error, response, body) {
        console.log("Complete! Response: ", response.statusCode);


Drew Alden

Drew Alden

14 projects • 96 followers
Hackster Live Community Lead & 1st Ambassador (PHX), php, infosec, hardware hacking, iPhone jailbreaking, game/graphics/display tech.


Add projectSign up / Login