In order to have a trigger, it makes sense to have an action first, that you want to trigger with your trigger. You can see how to make actions here.
Once you have an action, you can start triggering it using sensor data. There are three types of triggers:
- triggered by events identified by sensor data
- triggered by time
- triggered by variable and property conditions