Does the leak sensor work with IFTTT

The title says it all: can I use the IFTTT if the a leak is detected?

Reason I am looking into this: I have a third party connected water main valve, and I want to shut off the main if a leak is detected.


Yes please, IFTTT + leak sensor.