The Custom Trigger API allows you to run automations on a Wix site from your code.
Automations created as part of an app or on a site have a set trigger that causes them to run. The trigger is typically a business event like a member login or invoice payment. An automation only runs for that specific event.
Using the Custom Trigger API, you can run an automation without tying it to a single specific event or creating a trigger in the app dashboard. This gives you greater control and flexibility over when your automations execute.
The API includes a single method, Run Trigger, that you can call anywhere in your code.