using cayenne webhook trigger feature we will send a custom message notification to the mobile. we will be also using IFTTT for this. Explore - IFTTT You can replace the SMS service with other services provided by IFTT. https://ifttt.com/search.
-
Add a new device to the cayenne dashboard. Here is a tutorial to get started Adding a New Device using MQTT
-
Add a button to dashboard by following the step to add an actuator from the above tutorial.

-
Create a new account in https://ifttt.com/
-
Let’s start by creating a new applet.


-
add the “this” condition.

- Search for webhooks.


-
Add a new event name and create the trigger.

-
Now we will create the action.

-
Choose the action you want to be executed when the trigger happens.

-
I will send an SMS notification to my mobile when the button is pressed.

-
You need to verify your mobile number in next step.
-
Add the custom message you want when the button is pressed

-
Create action and click Finish. This complete adding an applet.

-
Search for webhook Sevice.

-
Click on setting to get the URL.


-
On cayenne dashboard navigate to triggers.

-
Drag and drop the device into the IF condition. Select the button widget and the ON action.

-
Click on the Setup Webhook option in THEN.

-
Select POST and Add this URL by replacing xxxxxxx… by your URL last parameter from webhook setting. https://maker.ifttt.com/trigger/webhook_testing/with/key/xxxxxxxxxxxxxxxxxxxxxxx


- Click save and it is done.
RESULT:
When you turn ON the button on your dashboard, we get an SMS notification about it.

Debug:
Make sure the run counter is incremented, indicating the trigger has successfully occurred.









