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

# Order changed

> Starts when an existing Webflow Ecommerce order changes.

`webflow.onOrderChanged` starts when an existing Webflow Ecommerce order changes.

## Example

```ts automations/webflow-on-order-changed.automation.ts theme={null}
import { automation } from "automate.ax"
import { webflow } from "automate.ax/webflow"

export default automation("Order changed", () => {
  webflow.onOrderChanged({ siteId: "site-id" })
})
```

## Inputs

`siteId` is the Webflow site to watch. You can pass `account` to select a named Webflow account. The connection needs `sites:write` to manage the provider webhook and the read scope for this event.

## Output

Returns the complete updated order payload. Each authenticated delivery starts an ordinary root context.
