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

# Create live collection item

> Creates and publishes one or more CMS items.

`webflow.createLiveCollectionItem` creates and publishes one or more CMS items.

## Example

```ts automations/webflow-create-live-collection-item.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { webflow } from "automate.ax/webflow"

export default automation("Create live collection item", () => {
  onDashboardRun({ title: "Create live collection item" })

  webflow.createLiveCollectionItem({
    collectionId: "collection-id",
    fieldData: { name: "Launch notes", slug: "launch-notes" },
  })
})
```

## Inputs

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

| Field              | Type                              | Required | Description                                                                     |
| ------------------ | --------------------------------- | -------- | ------------------------------------------------------------------------------- |
| `collectionId`     | `string`                          | Yes      | Webflow CMS collection ID.                                                      |
| `fieldData`        | `Webflow.CollectionItemFieldData` | No       | Fields for one item. `name` and `slug` are required. Use this or `items`.       |
| `isArchived`       | `boolean`                         | No       | Creates the single item as archived.                                            |
| `isDraft`          | `boolean`                         | No       | Creates the single item as a draft.                                             |
| `items`            | `Webflow.CollectionItem[]`        | No       | Items to create and publish in one request. Use this or the single-item fields. |
| `skipInvalidFiles` | `boolean`                         | No       | Skips invalid file values instead of rejecting the request.                     |

Provide either the single-item fields (`fieldData`, `isArchived`, and `isDraft`) or `items`, not both.

## Output

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

| Field           | Type                              | Description                    |
| --------------- | --------------------------------- | ------------------------------ |
| `id`            | `string`                          | Webflow `id` value.            |
| `cmsLocaleId`   | `string`                          | Optional CMS locale ID.        |
| `lastPublished` | `string`                          | Webflow `lastPublished` value. |
| `lastUpdated`   | `string`                          | Webflow `lastUpdated` value.   |
| `createdOn`     | `string`                          | Webflow `createdOn` value.     |
| `isArchived`    | `boolean`                         | Webflow `isArchived` value.    |
| `isDraft`       | `boolean`                         | Webflow `isDraft` value.       |
| `fieldData`     | `Webflow.CollectionItemFieldData` | Webflow `fieldData` value.     |
