Triggers
Integration triggers allow you to define when an instance should run. There are several types of triggers, with schedule triggers and webhook triggers being the most commonly used. Many components include triggers that do things like validate webhook payloads, preprocess data, or return custom responses to the webhook caller. You can also configure a deploy trigger that runs when your integration is deployed to a customer.
- If you are integrating with a particular app or service, and that service has a component with a trigger, use that trigger.
- If you would like your integration to run on a predefined regular basis, you should use a schedule trigger.
- If you would like to invoke your integration from another system that can make HTTP calls, you should use a webhook trigger.
- If you have a flow that you would like to run when an instance is deployed, use a deploy trigger.
If your integration has multiple flows, each flow has its own trigger (and so its own webhook URL or schedule).
You can always change which trigger your flow uses by clicking on the trigger, and clicking the CHANGE TRIGGER button in the drawer that appears.