> ## 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 component content

> Updates editable DOM nodes in one reusable component.

`webflow.updateComponentContent` updates editable DOM nodes in one reusable component.

## Example

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

export default automation("Update component content", () => {
  onDashboardRun({ title: "Update component content" })

  webflow.updateComponentContent({
    siteId: "site-id",
    componentId: "component-id",
    localeId: "locale-id",
    nodes: [{ nodeId: "node-id", text: "Updated text" }],
  })
})
```

## Inputs

Every input accepts a compatible signal. It requires the `components:write` OAuth scope.

| Field         | Type       | Required | Description                 |
| ------------- | ---------- | -------- | --------------------------- |
| `localeId`    | `string`   | No       | Optional site locale ID.    |
| `branchId`    | `string`   | No       | Optional Webflow branch ID. |
| `nodes`       | `object[]` | Yes      | Webflow `nodes` value.      |
| `siteId`      | `string`   | Yes      | Webflow site ID.            |
| `componentId` | `string`   | Yes      | Webflow component ID.       |

## Output

Returns an object with the fields below. Automate.ax converts provider `Date` values to ISO 8601 strings.

| Field    | Type       | Description             |
| -------- | ---------- | ----------------------- |
| `errors` | `string[]` | Webflow `errors` value. |
