> ## 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 response submitted

> Start an automation for each new or edited Google Form response.

`onFormResponseSubmitted` watches one form and emits every newly submitted
response version. Google treats respondent edits as submissions too.

## Example

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

export default automation("Process intake responses", () => {
  const response = onFormResponseSubmitted({ form: "form-id" })

  response.respondentEmail
})
```

## Options

`form: string` is required and accepts a static ID or standard Forms URL.
`account` is an optional static Google account binding. Signals cannot choose
the watched form or account at runtime.

## Trigger data

Returns a normalized `FormResponse`; see [Get form response](/reference/integrations/google-forms/actions/get-form-response#output).
Automate.ax establishes its response cursor when the watch is created, so it
does not intentionally replay older responses. It pages through all responses
represented by a notification and deduplicates each response version by
`responseId` plus `lastSubmittedTime`.
