# Webflow (/integrations/webflow)



{/* MANUAL-CONTENT-START:intro */}

Use [Webflow](https://webflow.com/) in Sim to create, retrieve, list, update, and delete CMS collection items. Webflow event triggers can start workflows when collection items change or forms are submitted. See [Site Tokens](/integrations/webflow-service-account) for token setup.

{/* MANUAL-CONTENT-END */}

Connection guides: [Site tokens](/integrations/webflow-service-account).

## OAuth scopes [#oauth-scopes]

Sim requests these scopes when someone connects a Webflow account. For a self-hosted deployment, register your own app with the provider using the settings below. See [Integrations and OAuth](/platform/self-hosting/integrations-oauth) for setup.

| Setting | Value |
| - | - |
| Redirect URI | `<NEXT_PUBLIC_APP_URL>/api/auth/oauth2/callback/webflow` |
| Environment variables | `WEBFLOW_CLIENT_ID`, `WEBFLOW_CLIENT_SECRET` |

| Scope | Description |
| - | - |
| `cms:read` | View CMS content |
| `cms:write` | Manage CMS content |
| `sites:read` | View Webflow sites |
| `sites:write` | Manage webhooks and site settings |
| `forms:read` | View form submissions |

## Use the block [#usage-instructions]

Create, get, list, update, or delete items in Webflow CMS collections. Manage your Webflow content programmatically. Use trigger mode to start workflows when collection items change or forms are submitted.

## Actions [#actions]

### Webflow List Items [#webflow-list-items]

List items from a Webflow CMS collection

#### Input [#input]

| Parameter | Type | Required | Description |
| - | - | - | - |
| `siteId` | string | Yes | ID of the Webflow site (e.g., "580e63e98c9a982ac9b8b741") |
| `collectionId` | string | Yes | ID of the collection (e.g., "580e63fc8c9a982ac9b8b745") |
| `offset` | number | No | Offset for pagination (e.g., 0, 100, 200) |
| `limit` | number | No | Maximum number of items to return (e.g., 10, 50, 100; default: 100) |

#### Output [#output]

| Parameter | Type | Description |
| - | - | - |
| `items` | array | Array of collection items |
| ↳ `id` | string | Unique item ID |
| ↳ `cmsLocaleId` | string | CMS locale ID |
| ↳ `lastPublished` | string | Last published date (ISO 8601) |
| ↳ `lastUpdated` | string | Last updated date (ISO 8601) |
| ↳ `createdOn` | string | Creation date (ISO 8601) |
| ↳ `isArchived` | boolean | Whether the item is archived |
| ↳ `isDraft` | boolean | Whether the item is a draft |
| ↳ `fieldData` | object | Collection-specific field data (varies by collection schema) |
| `metadata` | object | Metadata about the query |
| ↳ `itemCount` | number | Number of items returned |
| ↳ `offset` | number | Pagination offset |
| ↳ `limit` | number | Maximum items per page |
| ↳ `total` | number | Total number of matching items |

### Webflow Get Item [#webflow-get-item]

Get a single item from a Webflow CMS collection

#### Input [#input-1]

| Parameter | Type | Required | Description |
| - | - | - | - |
| `siteId` | string | Yes | ID of the Webflow site (e.g., "580e63e98c9a982ac9b8b741") |
| `collectionId` | string | Yes | ID of the collection (e.g., "580e63fc8c9a982ac9b8b745") |
| `itemId` | string | Yes | ID of the item to retrieve (e.g., "580e64008c9a982ac9b8b754") |

#### Output [#output-1]

| Parameter | Type | Description |
| - | - | - |
| `item` | json | The retrieved item object |
| `metadata` | json | Metadata about the retrieved item |

### Webflow Create Item [#webflow-create-item]

Create a new item in a Webflow CMS collection

#### Input [#input-2]

| Parameter | Type | Required | Description |
| - | - | - | - |
| `siteId` | string | Yes | ID of the Webflow site (e.g., "580e63e98c9a982ac9b8b741") |
| `collectionId` | string | Yes | ID of the collection (e.g., "580e63fc8c9a982ac9b8b745") |
| `fieldData` | json | Yes | Field data for the new item as a JSON object. Keys should match collection field names. |

#### Output [#output-2]

| Parameter | Type | Description |
| - | - | - |
| `item` | json | The created item object |
| `metadata` | json | Metadata about the created item |

### Webflow Update Item [#webflow-update-item]

Update an existing item in a Webflow CMS collection

#### Input [#input-3]

| Parameter | Type | Required | Description |
| - | - | - | - |
| `siteId` | string | Yes | ID of the Webflow site (e.g., "580e63e98c9a982ac9b8b741") |
| `collectionId` | string | Yes | ID of the collection (e.g., "580e63fc8c9a982ac9b8b745") |
| `itemId` | string | Yes | ID of the item to update (e.g., "580e64008c9a982ac9b8b754") |
| `fieldData` | json | Yes | Field data to update as a JSON object. Only include fields you want to change. |

#### Output [#output-3]

| Parameter | Type | Description |
| - | - | - |
| `item` | json | The updated item object |
| `metadata` | json | Metadata about the updated item |

### Webflow Delete Item [#webflow-delete-item]

Delete an item from a Webflow CMS collection

#### Input [#input-4]

| Parameter | Type | Required | Description |
| - | - | - | - |
| `siteId` | string | Yes | ID of the Webflow site (e.g., "580e63e98c9a982ac9b8b741") |
| `collectionId` | string | Yes | ID of the collection (e.g., "580e63fc8c9a982ac9b8b745") |
| `itemId` | string | Yes | ID of the item to delete (e.g., "580e64008c9a982ac9b8b754") |

#### Output [#output-4]

| Parameter | Type | Description |
| - | - | - |
| `success` | boolean | Whether the deletion was successful |
| `metadata` | json | Metadata about the deletion |

## Triggers [#triggers]

A trigger starts a workflow when a supported event occurs in this service.

### Collection Item Changed [#collection-item-changed]

Trigger workflow when an item is updated in a Webflow CMS collection (requires Webflow credentials)

#### Configuration [#configuration]

| Parameter | Type | Required | Description |
| - | - | - | - |
| `triggerCredentials` | string | Yes | This trigger requires webflow credentials to access your account. |
| `triggerSiteId` | string | Yes | The Webflow site to monitor |
| `triggerCollectionId` | string | No | Optionally filter to monitor only a specific collection |

#### Output [#output-5]

| Parameter | Type | Description |
| - | - | - |
| `siteId` | string | The site ID where the event occurred |
| `collectionId` | string | The collection ID where the item was changed |
| `payload` | object | |
| ↳ `id` | string | The ID of the changed item |
| ↳ `cmsLocaleId` | string | CMS locale ID |
| ↳ `lastPublished` | string | Last published timestamp |
| ↳ `lastUpdated` | string | Last updated timestamp |
| ↳ `createdOn` | string | Timestamp when the item was created |
| ↳ `isArchived` | boolean | Whether the item is archived |
| ↳ `isDraft` | boolean | Whether the item is a draft |
| ↳ `fieldData` | object | The updated field data of the item |

***

### Collection Item Created [#collection-item-created]

Trigger workflow when a new item is created in a Webflow CMS collection (requires Webflow credentials)

#### Configuration [#configuration-1]

| Parameter | Type | Required | Description |
| - | - | - | - |
| `triggerCredentials` | string | Yes | This trigger requires webflow credentials to access your account. |
| `triggerSiteId` | string | Yes | The Webflow site to monitor |
| `triggerCollectionId` | string | No | Optionally filter to monitor only a specific collection |

#### Output [#output-6]

| Parameter | Type | Description |
| - | - | - |
| `siteId` | string | The site ID where the event occurred |
| `collectionId` | string | The collection ID where the item was created |
| `payload` | object | |
| ↳ `id` | string | The ID of the created item |
| ↳ `cmsLocaleId` | string | CMS locale ID |
| ↳ `lastPublished` | string | Last published timestamp |
| ↳ `lastUpdated` | string | Last updated timestamp |
| ↳ `createdOn` | string | Timestamp when the item was created |
| ↳ `isArchived` | boolean | Whether the item is archived |
| ↳ `isDraft` | boolean | Whether the item is a draft |
| ↳ `fieldData` | object | The field data of the item |

***

### Collection Item Deleted [#collection-item-deleted]

Trigger workflow when an item is deleted from a Webflow CMS collection (requires Webflow credentials)

#### Configuration [#configuration-2]

| Parameter | Type | Required | Description |
| - | - | - | - |
| `triggerCredentials` | string | Yes | This trigger requires webflow credentials to access your account. |
| `triggerSiteId` | string | Yes | The Webflow site to monitor |
| `triggerCollectionId` | string | No | Optionally filter to monitor only a specific collection |

#### Output [#output-7]

| Parameter | Type | Description |
| - | - | - |
| `siteId` | string | The site ID where the event occurred |
| `collectionId` | string | The collection ID where the item was deleted |
| `payload` | object | |
| ↳ `id` | string | The ID of the deleted item |
| ↳ `deletedOn` | string | Timestamp when the item was deleted |

***

### Form Submission [#form-submission]

Trigger workflow when a form is submitted on a Webflow site (requires Webflow credentials)

#### Configuration [#configuration-3]

| Parameter | Type | Required | Description |
| - | - | - | - |
| `triggerCredentials` | string | Yes | This trigger requires webflow credentials to access your account. |
| `triggerSiteId` | string | Yes | The Webflow site to monitor |
| `formName` | string | No | The name of the specific form to monitor (optional - leave empty for all forms) |

#### Output [#output-8]

| Parameter | Type | Description |
| - | - | - |
| `siteId` | string | The site ID where the form was submitted |
| `formId` | string | The form ID |
| `name` | string | The name of the form |
| `id` | string | The unique ID of the form submission |
| `submittedAt` | string | Timestamp when the form was submitted |
| `data` | object | The form submission field data (keys are field names, values are submitted data) |
| `schema` | array | Form schema describing each field |
| ↳ `fieldName` | string | Name of the form field |
| ↳ `fieldType` | string | Type of input (e.g., FormTextInput, FormEmail) |
| ↳ `fieldElementId` | string | Unique identifier for the form element (UUID) |
| `formElementId` | string | The form element ID |
