Automate Vercel with TypeScript
Manage Vercel deployments, projects, domains, and environment variables. React to deployment and project events.
import { automation, sendEmail } from "automate.ax"
import { vercel } from "automate.ax/vercel"
export default automation("Notify on failed deployments", () => {
const event = vercel.onDeploymentFailed()
sendEmail({
subject: "Vercel deployment failed",
text: event.payload.deployment.url,
})
})What you can do
Actions
- Create, inspect, promote, and cancel deployments
- Create and manage projects
- Manage domains and environment variables
- List teams and inspect the connected user
Triggers
- Deployment created, ready, failed, or promoted
- Project created, renamed, or removed
- Domain changes
- Environment variable changes