> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# On Vercel integration configuration event

> Start an automation when a Vercel integration installation changes.

`onVercelIntegrationConfigurationEvent` is the broad installation webhook trigger. It emits permission, scope, removal, and ownership-transfer changes. Prefer a specific integration-configuration trigger when the automation handles one change.

```ts automations/watch-vercel-installation.automation.ts theme={null}
import { automation } from "automate.ax"
import { onVercelIntegrationConfigurationEvent } from "automate.ax/vercel"

export default automation("Watch Vercel installation", () => {
  const event = onVercelIntegrationConfigurationEvent()
  event.transform(({ payload, type }) => ({
    configurationId: payload.configuration.id,
    type,
  }))
})
```

Optional static `account` defaults to the project's Vercel binding and must use OAuth.

## Trigger data

The event `type` is `integration-configuration.permission-upgraded`, `integration-configuration.removed`, `integration-configuration.scope-change-confirmed`, or `integration-configuration.transferred`. Transfer events include the previous and new team or personal-account IDs; other events include the owning team or user and the current configuration details supplied by Vercel.
