Wix Automations allows site collaborators to automatically take an action in response to triggers.
Some examples of automations that can be configured are:
For more information on how site collaborators can use Wix Automations, see .
As a trigger provider, you can integrate events from your own service to allow site collaborators to create automations with your triggers. You'll set up your app's trigger in the and configure your server to report the relevant events via the API.
When configuring your app in the Wix Developers Center, select Automations from the left menu, then select Create New > Trigger. See for more information on configuring a trigger.
After users install your app, your triggers are available for their automations, as shown here:
It's important to note these points when planning your app:
Automation: Consists of a trigger and one or more actions. Automations are typically created by site collaborators, although some automations can come preinstalled.
Trigger: A configuration that defines the business event that activates an automation, as well as the expected payload schema. Triggers are defined per app and can be used by site collaborators in their automations.
Event: Activates automations that use a specified trigger. Events are reported by providers when something happens in the provider's service. A reported event contains a payload that meets the schema requirements defined by the app that created the trigger.
An event can be a real-time event or a scheduled event.
Action: The result of an automation, which happens in response to a trigger. A site collaborator can configure an action to happen immediately or in relation to a date provided in the trigger's payload, depending on how the app configures the trigger.