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

> Start an automation when an existing Google Calendar event changes.

`onCalendarEventUpdated` emits the current normalized event when Google reports
a changed representation relative to the synchronized baseline.

## Example

```ts theme={null}
import { automation } from "automate.ax"
import { onCalendarEventUpdated } from "automate.ax/google-calendar"

export default automation("Handle changed events", () => {
  const event = onCalendarEventUpdated({ calendarId: "primary" })

  event.updatedAt
})
```

## Options

`calendarId` defaults to `"primary"` and must be a static calendar ID.
`account` is an optional static Google account binding.

## Trigger data

Returns a normalized `CalendarEvent`; see [Get event](/reference/integrations/google-calendar/actions/get-event#output). Google Calendar notifications only signal that the collection changed, so Automate.ax synchronizes and classifies the changed resources. A provider representation can change for attendee responses, scheduling changes, or other metadata updates.
