I know this is an old post, but I wanted to share what I intent to do in order to illustrate what can be done with a very practical example.
I have a set of surveillance cameras. Some are indoor, some are outside. My associated software is iSpy. I also have a security system that only allows to get notifications via emails, as the Cie has its own proprietary surveillance system, at a different cost than mine (^_^). I want shut down the indoor and backyard cameras when I am in house, and turn them back on when I leave, or sleep, using the notification eMail. So, I plan on…
Create 2 tasks conditions in IFTTT, for “Off” & “On”.
Use <if><gmail> with proper filter on sender and subject), using respectively the words”Disarmed” & “Armed”.
Use your method to trigger a batch commands to iSpy, that may look like this:
URL: https://www.triggercmd.com/api/IFTTT?trigger=run ispy.exe "recordstop.alarmset"&computer=MyPC
... where alarmset is the set of cameras to stop in this case.
I will keep you posted of the outcome.