vercel.createDrain creates a drain with filters and a delivery destination.
automations/create-drain.automation.ts
Input
name: the drain name shown in Vercel.projects:"all"or"some". When you choose"some", pass the selected Vercel project IDs inprojectIds.schemas: schema versions keyed by event family, such aslog,trace, oranalytics.teamId: the target team. OAuth connections default to the team where the integration is installed.
delivery, filter, sampling, source, and transforms options.