vercel.onDomainEvent starts an automation for any event in this Vercel lifecycle family.
automations/on-domain-event.automation.ts
Input
The trigger accepts optional staticaccount selection. Without it, Automate.ax uses the project’s Vercel OAuth binding.
Output
Every event includesid, createdAt, region, type, and payload. The discriminated union covers all selected account-domain lifecycle events. Narrow type before reading event-specific fields such as domain, cert, dnsNames, or changes.