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

# List components

> Lists reusable components defined in a Webflow site.

`webflow.listComponents` lists reusable components defined in a Webflow site.

## Example

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

export default automation("List components", () => {
  onDashboardRun({ title: "List components" })

  webflow.listComponents({
    siteId: "site-id",
  })
})
```

## Inputs

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

| Field      | Type     | Required | Description                          |
| ---------- | -------- | -------- | ------------------------------------ |
| `branchId` | `string` | No       | Optional Webflow branch ID.          |
| `limit`    | `number` | No       | Maximum number of records to return. |
| `offset`   | `number` | No       | Number of records to skip.           |
| `siteId`   | `string` | Yes      | Webflow site ID.                     |

## Output

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

| Field        | Type                  | Description                 |
| ------------ | --------------------- | --------------------------- |
| `components` | `Webflow.Component[]` | Webflow `components` value. |
| `pagination` | `Webflow.Pagination`  | Webflow pagination.         |
