> ## 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 transcript ended

> Run an automation when Google Meet transcription stops.

`onGoogleMeetTranscriptEnded` emits a transcript when transcription stops. The document might not be ready yet.

## Example

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

export default automation("Track transcript completion", () => {
  const transcript = onGoogleMeetTranscriptEnded({ space: "abc-defg-hij" })

  transcript.endTime
})
```

## Options

`space` optionally limits the trigger to one static space. Omit it to watch owned meeting spaces. `account` optionally selects a static Google Account binding.

## Trigger data

Returns a transcript with `name`, `state: "ended"`, and timing. Use `onGoogleMeetTranscriptGenerated` when you need the Docs destination. The connected user must own or organize the meeting.
