Skip to main content
automate.onDeploymentCancelled emits when a cancellable deployment becomes cancelled, including when creating a replacement deployment cancels in-progress work.
automations/watch-cancelled-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: "cancelled" and a populated deployment.completedAt.