Skip to main content
vercel.onDeploymentCleanup starts an automation for the corresponding Vercel webhook event.
automations/on-deployment-cleanup.automation.ts

Input

The trigger accepts optional static account selection. Without it, Automate.ax uses the project’s Vercel OAuth binding.

Output

The event includes id, createdAt, region, its exact type discriminator, and a typed payload. payload.deployment contains the permanently deleted deployment and payload.project.id identifies its project.

Provider behavior

Automate.ax verifies Vercel’s signature, routes the event to the matching installation, and deduplicates the delivery by event ID. This event arrives only after Vercel’s recovery period ends, not when deletion is first requested.