Building Arduino Projects for the Internet of Things

(Steven Felgate) #1
CHAPTER 12 ■ IOT PLATFORMS

In Step 5, you need to provide details about the e-mail alert, such as who it should
go to, what should be the subject, and what should be the body text. When Xively calls
the webhook URL, it will send some data in an HTTP POST request as well. You can use
that data in Zapier wherever you see the Insert Fields option. Figure  12-23 shows the
e-mail settings.


Figure 12-23. E - m a i l s e t t i n g s


For illustration purposes, this project uses the moisture sensor value and inserts
it into the e-mail body. As shown in Figure  12-24 , when you click on the Insert Fields
button, it will show a list of all the variables that can be inserted. Initially, you might not
see any data, so you can come back to this step after the Xively trigger has been set up and
you have sent a couple of test requests. Zapier will automatically start showing a list of all
the request variables.

Free download pdf