vercel.onDeploymentCleanup starts an automation for the corresponding Vercel webhook event.
automations/on-deployment-cleanup.automation.ts
Input
The trigger accepts optional staticaccount selection. Without it, Automate.ax uses the project’s Vercel OAuth binding.
Output
The event includesid, createdAt, region, its exact type discriminator, and a typed payload. payload.deployment contains the permanently deleted deployment and payload.project.id identifies its project.