Trigger assemblies cause the actions in an automation to be executed when their criteria is met.
Typically triggers will fire upon new or updated data.
The main categories of triggers are:
- Polling triggers that periodically check an API for new or updated data, for example every 15 minutes.
- Date/Time triggers that fire at a certain date and time, or on a periodic time schedule like once an hour.
- Gated triggers that fire only once each time a threshold criteria is met, like a weather trigger that fires when a temperature goes below a certain value.
- Webhook triggers that receive new or updated data pushed from an external system. These are also called Instant Triggers.
- Protocol thread triggers that maintain an always-on connection for sending and receiving data by running in threads on the server. Generally a SDK is used that under the hood will maintain a socket connection and communicate with a protocol over the socket. An example is the XMPP protocol for Jabber. Another example is a message queue listener. Protocol triggers are also Instant Triggers.
- Export triggers used for one-time bulk exports of data, typically for loading into another system.