Skip to main content
automate.onDeploymentFailed emits after a deployment stage exhausts its attempts and Automate.ax marks the deployment failed.
automations/watch-failed-deployments.automation.ts
When account is omitted, the trigger uses the deploying project’s organization. An explicit static Automate.ax binding requires deployment:read and can select another organization. projectId must identify a project in the resulting organization.

Trigger data

Returns the deployment event shape with status: "failed", a populated deployment.completedAt, and a failure containing the terminal error message.