> ## 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 reply edited

> Run an automation when a comment reply is edited in Google Drive.

`googleDrive.onReplyEdited` starts an automation when a comment reply is edited on the selected Drive resource.

## Example

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

export default automation("On reply edited", () => {
  const event = googleDrive.onReplyEdited({
    resource: "folder-id",
    includeDescendants: true,
  })

  // Update the Google Drive reply in the review inbox.
})
```

## Options

`resource` accepts a file, folder, or shared-drive ID or a standard Drive, Docs, or Slides URL. Set `resourceType: "drive"` for a shared-drive ID or a shared-drive URL copied from Google Drive; only URLs containing `/drives/` identify shared drives automatically. `includeDescendants` includes nested files for folders and is always enabled for shared drives. `account` optionally selects a Google Account.

## Trigger data

Returns the semantic `eventType`, `action`, `resourceType`, provider `eventId`, and `occurredAt`. `fileId`, `commentId`, and `resourceId` identify the file, parent comment, and reply so you can pass them directly to reply actions. Other resource-specific fields can include parent IDs, MIME type, version, status, due time, and participant email addresses.
