vercel.onDeploymentEvent covers creation, readiness, success, error, cancellation, and promotion. Use a specific trigger for one lifecycle event.
automations/watch-vercel-deployments.automation.ts
account defaults to the project’s Vercel binding and must use OAuth. Access-token connections can’t receive installation webhooks.
Trigger data
The eventtype is deployment.created, deployment.ready, deployment.succeeded, deployment.error, deployment.canceled, or deployment.promoted. The payload includes the deployment, project, owning team or user, and other Vercel fields. The top level includes id, createdAt, and region.