Skip to main content
automate.onAutomationEnabled emits when the selected automation changes from disabled to enabled.
automations/watch-enabled-automation.automation.ts
When account is omitted, the trigger uses the deploying project’s organization. An explicit static Automate.ax binding requires project:read and can select another organization. automation accepts an imported descriptor, exact ID, or unique deployed description in that organization.

Trigger data

Returns the automation state event shape with previousEnabled: false and enabled: true.