> ## 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.

# Update site form submission

> Updates hidden submission data through its site-scoped Webflow route.

`webflow.updateSiteFormSubmission` updates hidden fields on one submission through Webflow's site-scoped API.

## Example

```ts automations/webflow-update-site-form-submission.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { webflow } from "automate.ax/webflow"

export default automation("Update site form submission", () => {
  onDashboardRun({ title: "Update site form submission" })
  webflow.updateSiteFormSubmission({
    formSubmissionData: { status: "reviewed" },
    formSubmissionId: "submission-id",
    siteId: "site-id",
  })
})
```

## Inputs

Every input accepts a compatible signal. This action requires the `forms:write` OAuth scope.

| Field                | Type                      | Required | Description                                               |
| -------------------- | ------------------------- | -------- | --------------------------------------------------------- |
| `siteId`             | `string`                  | Yes      | Webflow site ID.                                          |
| `formSubmissionId`   | `string`                  | Yes      | Form-submission ID.                                       |
| `formSubmissionData` | `Record<string, unknown>` | No       | Existing hidden field names mapped to replacement values. |

## Output

| Field           | Type                        | Description             |
| --------------- | --------------------------- | ----------------------- |
| `id`            | `string`                    | Submission ID.          |
| `displayName`   | `string`                    | Form display name.      |
| `siteId`        | `string`                    | Site ID.                |
| `workspaceId`   | `string`                    | Workspace ID.           |
| `dateSubmitted` | `string`                    | Submission timestamp.   |
| `formResponse`  | `Record<string, Encodable>` | Submitted field values. |
