Building Arduino Projects for the Internet of Things

(Steven Felgate) #1
CHAPTER 12 ■ IOT PLATFORMS

You can skip Step 6, and in Step 7 enter a name for Zap. Click Turn Zap On as shown
in Figure 12-26.

Figure 12-26. Zap name and turn Zap on

This completes the setup in Zapier. Now you just need to set up a trigger in Xively
that will call the custom webhook URL generated by Zapier.

Xively Trigger


Log in to Xively and go to the Triggers section of device setup. Click on the Add Trigger
button. As shown in Figure  12-27 , select a condition when trigger should be fired; in this
case it is IF SoilMoistureSensor1 > 850 THEN CALL HTTP POST URL. In the HTTP
POST URL field, paste the custom webhook URL that was generated by Zapier. Click Save
Trigger to enable the trigger.
Free download pdf