Skip to main content
automate.onExecutionEvent emits when an execution starts, settles, or permanently fails.
automations/watch-executions.automation.ts
automation accepts an imported automation descriptor, exact ID, or unique deployed description. When account is omitted, the trigger uses the deploying project’s organization. An explicit static Automate.ax binding requires project:read and can watch another organization. The payload contains execution, automation, project, organization, eventTypes, transitionedAt, and nullable failure. Execution status is running, settled, or failed. Events are stored in the same transaction as the execution transition and are not delivered to the automation whose execution produced them.