IFTTT is a free platform that allows you to create custom rules for calling applications based on events. With this example, you will build an application that will send DroneDeploy Trigger Events to an IFTTT webhook.
Be sure to complete the pre-requisites and to read the DroneDeploy App Platform documentation.
-
Complete the pre-requisites
-
Install the sample's dependencies
$ npm install -
Drag the
appdirectory into the Settings page App Zone. -
Grab the app's ID
-
Copy the app ID into the
appfield in your serverless.yml file -
Deploy your app
$ serverless deployNote that a new DroneDeploy Datastore will be configured. Additionally, you will note that a function named
ifttt-webhookgets deployed as well. -
Create an IFTTT account if you do not have one already.
-
Go to the IFTTT webhooks service and configure a new webhook
-
Go to the webhook's documentation page to get a trigger URL
You should end up with URL that looks like
https://maker.ifttt.com/trigger/<TRIGGER NAME>/with/key/<YOUR IFTTT WEBHOOK KEY> -
Create a new IFTTT Applet that triggers on your IFTTT webhook and choose an action it should take.
A good simple one is to send an email
-
Navigate to your DroneDeploy settings page and open the IFTTT app
-
Paste your IFTTT webhook url and press save
-
Create a DroneDeploy export or process a new map. You should see your DroneDeploy Trigger Events get sent to your IFTTT webhook

