The previous section taught us how to trigger an IFTTT Applet from our Raspberry Pi. In this section, we will learn how to action our Raspberry Pi from an IFTTT Applet.
For our example, we will create an IFTTT Applet that will trigger when an email is received. We'll use the subject of this email to control an LED that is connected to a GPIO pin.
We will be using an IFTTT Webhook service, as we did previously, only this time the Webhook service will be installed on the That side of our Applet and will request a URL that we specify. This basic idea is illustrated in the following diagram:
Figure 13.16 – Raspberry Pi assuming the That role in an IFTTT Applet
Let's look at two possible methods we can use with the IFTTT Webhook service to request a URL that can then be seen by our Raspberry Pi's Python code.