IFTTT Triggers

Here is the FAQ for creating a virtual switch.

After that it depends on what you want to do with it. A virtual switch can be any of several types, but for IFTTT mode changing you probably want a simple binary (on/off) switch.

The virtual switch doesn’t really exist, but the network will act as though it does, including letting you change it from the mobile app and telling IFTTT that it has turned on/off.