> ## 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 base event

> Run for every Airtable data, field, or table transaction in a base.

`airtable.onBaseEvent` is the broad Airtable trigger. Use it when one automation needs the complete provider transaction; prefer a semantic trigger for a specific lifecycle event.

```ts automations/archive-airtable-events.automation.ts theme={null}
import { automation } from "automate.ax"
import { airtable } from "automate.ax/airtable"

export default automation("Archive Airtable events", () => {
  const change = airtable.onBaseEvent({ baseId: "app123" })
  // Route the Airtable base event by event type.
})
```

`baseId` is required; `account` is optional and defaults to the project binding. The event includes `baseId`, `occurredAt`, `source`, optional `sourceMetadata`, `transactionNumber`, and the complete Airtable `event`. Requires `webhook:manage`, `data.records:read`, `schema.bases:read`, and base creator access.
