Any one used switch sensor on windows to turn temperature down on Nest through IFTTT

Hey, Im just wondering if there is anyone who has tried to use switch sensor/multi sensor to monitor windows opening, and turn down the temperature on Nest through IFTTT?

I would like to give it a try, but want to see if that is been down by anyone.