Webflow Automation via Rube MCP
Automate Webflow operations including CMS collection management, site publishing, page inspection, asset uploads, and ecommerce order retrieval through Composio's Webflow toolkit.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Webflow connection via
RUBE_MANAGE_CONNECTIONS with toolkit webflow
- Always call
RUBE_SEARCH_TOOLS first to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLS responds
- Call
RUBE_MANAGE_CONNECTIONS with toolkit webflow
- If connection is not ACTIVE, follow the returned auth link to complete Webflow OAuth
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. Manage CMS Collection Items
When to use: User wants to create, update, list, or delete items in Webflow CMS collections (blog posts, products, team members, etc.)
Tool sequence:
WEBFLOW_LIST_WEBFLOW_SITES - List sites to find the target site_id [Prerequisite]
WEBFLOW_LIST_COLLECTIONS - List all collections for the site [Prerequisite]
WEBFLOW_GET_COLLECTION - Get collection schema to find valid field slugs [Prerequisite for create/update]
WEBFLOW_LIST_COLLECTION_ITEMS - List existing items with filtering and pagination [Optional]
WEBFLOW_GET_COLLECTION_ITEM - Get a specific item's full details [Optional]
WEBFLOW_CREATE_COLLECTION_ITEM - Create a new item with field data [Required for creation]
WEBFLOW_UPDATE_COLLECTION_ITEM - Update an existing item's fields [Required for updates]
WEBFLOW_DELETE_COLLECTION_ITEM - Permanently remove an item [Optional]
WEBFLOW_PUBLISH_SITE - Publish changes to make them live [Optional]
Key parameters for CREATE_COLLECTION_ITEM:
collection_id: 24-character hex string from LIST_COLLECTIONS
field_data: Object with field slug keys (NOT display names); must include name and slug
field_data.name: Display name for the item
field_data.slug: URL-friendly identifier (lowercase, hyphens, no spaces)
is_draft: Boolean to create as draft (default false)
Key parameters for UPDATE_COLLECTION_ITEM:
collection_id: Collection identifier
item_id: 24-character hex MongoDB ObjectId of the existing item
fields: Object with field slug keys and new values
live: Boolean to publish changes immediately (default false)
Field value types:
- Text/Email/Link/Date: string
- Number: integer or float
- Boolean: true/false
- Image:
{"url": "...", "alt": "...", "fileId": "..."}
- Multi-reference: array of reference ID strings
- Multi-image: array of image objects
- Option: option ID string
Pitfalls:
- Field keys must use the exact field
slug from the collection schema, NOT display names
- Always call
GET_COLLECTION first to retrieve the schema and identify correct field slugs
CREATE_COLLECTION_ITEM requires name and slug in field_data
UPDATE_COLLECTION_ITEM cannot create new items; it requires a valid existing item_id
item_id must be a 24-character hexadecimal MongoDB ObjectId
- Slug must be lowercase alphanumeric with hyphens:
^[a-z0-9]+(?:-[a-z0-9]+)*$
- CMS items are staged; use
PUBLISH_SITE or set live: true to push to production
2. Manage Sites and Publishing
When to use: User wants to list sites, inspect site configuration, or publish staged changes
Tool sequence:
WEBFLOW_LIST_WEBFLOW_SITES - List all accessible sites [Required]
WEBFLOW_GET_SITE_INFO - Get detailed site metadata including domains and settings [Optional]
WEBFLOW_PUBLISH_SITE - Deploy all staged changes to live site [Required for publishing]
Key parameters for PUBLISH_SITE:
site_id: Site identifier from LIST_WEBFLOW_SITES
custom_domains: Array of custom domain ID strings (from GET_SITE_INFO)
publish_to_webflow_subdomain: Boolean to publish to {shortName}.webflow.io
- At least one of
custom_domains or publish_to_webflow_subdomain must be specified
Pitfalls:
PUBLISH_SITE republishes ALL staged changes for selected domains -- verify no unintended drafts are pending
- Rate limit: 1 successful publish per minute
- For sites without custom domains, must set
publish_to_webflow_subdomain: true
custom_domains expects domain IDs (hex strings), not domain names
- Publishing is a production action -- always confirm with the user first
3. Manage Pages
When to use: User wants to list pages, inspect page metadata, or examine page DOM structure
Tool sequence:
WEBFLOW_LIST_WEBFLOW_SITES - Find the target site_id [Prerequisite]
WEBFLOW_LIST_PAGES - List all pages for a site with pagination [Required]
WEBFLOW_GET_PAGE - Get detailed metadata for a specific page [Optional]
WEBFLOW_GET_PAGE_DOM - Get the DOM/content node structure of a static page [Optional]
Key parameters:
site_id: Site identifier (required for list pages)
page_id: 24-character hex page identifier
locale_id: Optional locale filter for multi-language sites
limit: Max results per page (max 100)
offset: Pagination offset
Pitfalls:
LIST_PAGES paginates via offset/limit; iterate when sites have many pages
- Page IDs are 24-character hex strings matching pattern
^[0-9a-fA-F]{24}$
GET_PAGE_DOM returns the node structure, not rendered HTML
- Pages include both static and CMS-driven pages
4. Upload Assets
When to use: User wants to upload images, files, or other assets to a Webflow site
Tool sequence:
WEBFLOW_LIST_WEBFLOW_SITES - Find the target site_id [Prerequisite]
WEBFLOW_UPLOAD_ASSET - Upload a file with base64-encoded content [Required]
Key parameters:
site_id: Site identifier
file_name: Name of the file (e.g., "logo.png")
file_content: Base64-encoded binary content of the file (NOT a placeholder or URL)
content_type: MIME type (e.g., "image/png", "image/jpeg", "application/pdf")
md5: MD5 hash of the raw file bytes (32-character hex string)
asset_folder_id: Optional folder placement
Pitfalls:
file_content must be actual base64-encoded data, NOT a variable reference or placeholder
md5 must be computed from the raw bytes, not from the base64 string
- This is a two-step process internally: generates an S3 pre-signed URL, then uploads
- Large files may encounter timeouts; keep uploads reasonable in size
5. Manage Ecommerce Orders
When to use: User wants to view ecommerce orders from a Webflow site
Tool sequence:
WEBFLOW_LIST_WEBFLOW_SITES - Find the site with ecommerce enabled [Prerequisite]
WEBFLOW_LIST_ORDERS - List all orders with optional status filtering [Required]
WEBFLOW_GET_ORDER - Get detailed information for a specific order [Optional]
Key parameters:
site_id: Site identifier (must have ecommerce enabled)
order_id: Specific order identifier for detailed retrieval
status: Filter orders by status
Pitfalls:
- Ecommerce must be enabled on the Webflow site for order endpoints to work
- Order endpoints are read-only; no create/update/delete for orders through these tools
Common Patterns
ID Resolution
Webflow uses 24-character hexadecimal IDs throughout:
- Site ID:
WEBFLOW_LIST_WEBFLOW_SITES -- find by name, capture id
- Collection ID:
WEBFLOW_LIST_COLLECTIONS with site_id
- Item ID:
WEBFLOW_LIST_COLLECTION_ITEMS with collection_id
- Page ID:
WEBFLOW_LIST_PAGES with site_id
- Domain IDs:
WEBFLOW_GET_SITE_INFO -- found in customDomains array
- Field slugs:
WEBFLOW_GET_COLLECTION -- found in collection fields array
Pagination
Webflow uses offset-based pagination:
offset: Starting index (0-based)
limit: Items per page (max 100)
- Increment offset by limit until fewer results than limit are returned
- Available on: LIST_COLLECTION_ITEMS, LIST_PAGES
CMS Workflow
Typical CMS content creation flow:
- Get site_id from LIST_WEBFLOW_SITES
- Get collection_id from LIST_COLLECTIONS
- Get field schema from GET_COLLECTION (to learn field slugs)
- Create/update items using correct field slugs
- Publish site to make changes live
Known Pitfalls
ID Formats
- All Webflow IDs are 24-character hexadecimal strings (MongoDB ObjectIds)
- Example:
580e63fc8c9a982ac9b8b745
- Pattern:
^[0-9a-fA-F]{24}$
- Invalid IDs return 404 errors
Field Slugs vs Display Names
- CMS operations require field
slug values, NOT display names
- A field with displayName "Author Name" might have slug
author-name
- Always call
GET_COLLECTION to discover correct field slugs
- Using wrong field names silently ignores the data or causes validation errors
Publishing
PUBLISH_SITE deploys ALL staged changes, not just specific items
- Rate limited to 1 publish per minute
- Must specify at least one domain target (custom or webflow subdomain)
- This is a production-affecting action; always confirm intent
Authentication Scopes
- Different operations require different OAuth scopes:
sites:read, cms:read, cms:write, pages:read
- A 403 error typically means missing OAuth scopes
- Check connection permissions if operations fail with authorization errors
Destructive Operations
DELETE_COLLECTION_ITEM permanently removes CMS items
PUBLISH_SITE makes all staged changes live immediately
- Always confirm with the user before executing these actions
Quick Reference
| Task |
Tool Slug |
Key Params |
| List sites |
WEBFLOW_LIST_WEBFLOW_SITES |
(none) |
| Get site info |
WEBFLOW_GET_SITE_INFO |
site_id |
| Publish site |
WEBFLOW_PUBLISH_SITE |
site_id, custom_domains or publish_to_webflow_subdomain |
| List collections |
WEBFLOW_LIST_COLLECTIONS |
site_id |
| Get collection schema |
WEBFLOW_GET_COLLECTION |
collection_id |
| List collection items |
WEBFLOW_LIST_COLLECTION_ITEMS |
collection_id, limit, offset |
| Get collection item |
WEBFLOW_GET_COLLECTION_ITEM |
collection_id, item_id |
| Create collection item |
WEBFLOW_CREATE_COLLECTION_ITEM |
collection_id, field_data |
| Update collection item |
WEBFLOW_UPDATE_COLLECTION_ITEM |
collection_id, item_id, fields |
| Delete collection item |
WEBFLOW_DELETE_COLLECTION_ITEM |
collection_id, item_id |
| List pages |
WEBFLOW_LIST_PAGES |
site_id, limit, offset |
| Get page |
WEBFLOW_GET_PAGE |
page_id |
| Get page DOM |
WEBFLOW_GET_PAGE_DOM |
page_id |
| Upload asset |
WEBFLOW_UPLOAD_ASSET |
site_id, file_name, file_content, content_type, md5 |
| List orders |
WEBFLOW_LIST_ORDERS |
site_id, status |
| Get order |
WEBFLOW_GET_ORDER |
site_id, order_id |
1---2name: webflow-automation3description: Automate Webflow CMS collections, site publishing, page management, asset uploads, and ecommerce orders via Rube MCP (Composio). Always search tools first for current schemas.4---5
6# Webflow Automation via Rube MCP
7
8Automate Webflow operations including CMS collection management, site publishing, page inspection, asset uploads, and ecommerce order retrieval through Composio's Webflow toolkit.
9
10## Prerequisites
11
12- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
13- Active Webflow connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `webflow`
14- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas
15
16## Setup
17
18**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
19
20
211. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds
222. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `webflow`
233. If connection is not ACTIVE, follow the returned auth link to complete Webflow OAuth
244. Confirm connection status shows ACTIVE before running any workflows
25
26## Core Workflows
27
28### 1. Manage CMS Collection Items
29
30**When to use**: User wants to create, update, list, or delete items in Webflow CMS collections (blog posts, products, team members, etc.)
31
32**Tool sequence**:
331. `WEBFLOW_LIST_WEBFLOW_SITES` - List sites to find the target site_id [Prerequisite]
342. `WEBFLOW_LIST_COLLECTIONS` - List all collections for the site [Prerequisite]
353. `WEBFLOW_GET_COLLECTION` - Get collection schema to find valid field slugs [Prerequisite for create/update]
364. `WEBFLOW_LIST_COLLECTION_ITEMS` - List existing items with filtering and pagination [Optional]
375. `WEBFLOW_GET_COLLECTION_ITEM` - Get a specific item's full details [Optional]
386. `WEBFLOW_CREATE_COLLECTION_ITEM` - Create a new item with field data [Required for creation]
397. `WEBFLOW_UPDATE_COLLECTION_ITEM` - Update an existing item's fields [Required for updates]
408. `WEBFLOW_DELETE_COLLECTION_ITEM` - Permanently remove an item [Optional]
419. `WEBFLOW_PUBLISH_SITE` - Publish changes to make them live [Optional]
42
43**Key parameters for CREATE_COLLECTION_ITEM**:
44- `collection_id`: 24-character hex string from LIST_COLLECTIONS
45- `field_data`: Object with field slug keys (NOT display names); must include `name` and `slug`
46- `field_data.name`: Display name for the item
47- `field_data.slug`: URL-friendly identifier (lowercase, hyphens, no spaces)
48- `is_draft`: Boolean to create as draft (default false)
49
50**Key parameters for UPDATE_COLLECTION_ITEM**:
51- `collection_id`: Collection identifier
52- `item_id`: 24-character hex MongoDB ObjectId of the existing item
53- `fields`: Object with field slug keys and new values
54- `live`: Boolean to publish changes immediately (default false)
55
56**Field value types**:
57- Text/Email/Link/Date: string
58- Number: integer or float
59- Boolean: true/false
60- Image: `{"url": "...", "alt": "...", "fileId": "..."}`
61- Multi-reference: array of reference ID strings
62- Multi-image: array of image objects
63- Option: option ID string
64
65**Pitfalls**:
66- Field keys must use the exact field `slug` from the collection schema, NOT display names
67- Always call `GET_COLLECTION` first to retrieve the schema and identify correct field slugs
68- `CREATE_COLLECTION_ITEM` requires `name` and `slug` in `field_data`
69- `UPDATE_COLLECTION_ITEM` cannot create new items; it requires a valid existing `item_id`
70- `item_id` must be a 24-character hexadecimal MongoDB ObjectId
71- Slug must be lowercase alphanumeric with hyphens: `^[a-z0-9]+(?:-[a-z0-9]+)*$`
72- CMS items are staged; use `PUBLISH_SITE` or set `live: true` to push to production
73
74### 2. Manage Sites and Publishing
75
76**When to use**: User wants to list sites, inspect site configuration, or publish staged changes
77
78**Tool sequence**:
791. `WEBFLOW_LIST_WEBFLOW_SITES` - List all accessible sites [Required]
802. `WEBFLOW_GET_SITE_INFO` - Get detailed site metadata including domains and settings [Optional]
813. `WEBFLOW_PUBLISH_SITE` - Deploy all staged changes to live site [Required for publishing]
82
83**Key parameters for PUBLISH_SITE**:
84- `site_id`: Site identifier from LIST_WEBFLOW_SITES
85- `custom_domains`: Array of custom domain ID strings (from GET_SITE_INFO)
86- `publish_to_webflow_subdomain`: Boolean to publish to `{shortName}.webflow.io`
87- At least one of `custom_domains` or `publish_to_webflow_subdomain` must be specified
88
89**Pitfalls**:
90- `PUBLISH_SITE` republishes ALL staged changes for selected domains -- verify no unintended drafts are pending
91- Rate limit: 1 successful publish per minute
92- For sites without custom domains, must set `publish_to_webflow_subdomain: true`
93- `custom_domains` expects domain IDs (hex strings), not domain names
94- Publishing is a production action -- always confirm with the user first
95
96### 3. Manage Pages
97
98**When to use**: User wants to list pages, inspect page metadata, or examine page DOM structure
99
100**Tool sequence**:
1011. `WEBFLOW_LIST_WEBFLOW_SITES` - Find the target site_id [Prerequisite]
1022. `WEBFLOW_LIST_PAGES` - List all pages for a site with pagination [Required]
1033. `WEBFLOW_GET_PAGE` - Get detailed metadata for a specific page [Optional]
1044. `WEBFLOW_GET_PAGE_DOM` - Get the DOM/content node structure of a static page [Optional]
105
106**Key parameters**:
107- `site_id`: Site identifier (required for list pages)
108- `page_id`: 24-character hex page identifier
109- `locale_id`: Optional locale filter for multi-language sites
110- `limit`: Max results per page (max 100)
111- `offset`: Pagination offset
112
113**Pitfalls**:
114- `LIST_PAGES` paginates via offset/limit; iterate when sites have many pages
115- Page IDs are 24-character hex strings matching pattern `^[0-9a-fA-F]{24}$`
116- `GET_PAGE_DOM` returns the node structure, not rendered HTML
117- Pages include both static and CMS-driven pages
118
119### 4. Upload Assets
120
121**When to use**: User wants to upload images, files, or other assets to a Webflow site
122
123**Tool sequence**:
1241. `WEBFLOW_LIST_WEBFLOW_SITES` - Find the target site_id [Prerequisite]
1252. `WEBFLOW_UPLOAD_ASSET` - Upload a file with base64-encoded content [Required]
126
127**Key parameters**:
128- `site_id`: Site identifier
129- `file_name`: Name of the file (e.g., `"logo.png"`)
130- `file_content`: Base64-encoded binary content of the file (NOT a placeholder or URL)
131- `content_type`: MIME type (e.g., `"image/png"`, `"image/jpeg"`, `"application/pdf"`)
132- `md5`: MD5 hash of the raw file bytes (32-character hex string)
133- `asset_folder_id`: Optional folder placement
134
135**Pitfalls**:
136- `file_content` must be actual base64-encoded data, NOT a variable reference or placeholder
137- `md5` must be computed from the raw bytes, not from the base64 string
138- This is a two-step process internally: generates an S3 pre-signed URL, then uploads
139- Large files may encounter timeouts; keep uploads reasonable in size
140
141### 5. Manage Ecommerce Orders
142
143**When to use**: User wants to view ecommerce orders from a Webflow site
144
145**Tool sequence**:
1461. `WEBFLOW_LIST_WEBFLOW_SITES` - Find the site with ecommerce enabled [Prerequisite]
1472. `WEBFLOW_LIST_ORDERS` - List all orders with optional status filtering [Required]
1483. `WEBFLOW_GET_ORDER` - Get detailed information for a specific order [Optional]
149
150**Key parameters**:
151- `site_id`: Site identifier (must have ecommerce enabled)
152- `order_id`: Specific order identifier for detailed retrieval
153- `status`: Filter orders by status
154
155**Pitfalls**:
156- Ecommerce must be enabled on the Webflow site for order endpoints to work
157- Order endpoints are read-only; no create/update/delete for orders through these tools
158
159## Common Patterns
160
161### ID Resolution
162Webflow uses 24-character hexadecimal IDs throughout:
163- **Site ID**: `WEBFLOW_LIST_WEBFLOW_SITES` -- find by name, capture `id`
164- **Collection ID**: `WEBFLOW_LIST_COLLECTIONS` with `site_id`
165- **Item ID**: `WEBFLOW_LIST_COLLECTION_ITEMS` with `collection_id`
166- **Page ID**: `WEBFLOW_LIST_PAGES` with `site_id`
167- **Domain IDs**: `WEBFLOW_GET_SITE_INFO` -- found in `customDomains` array
168- **Field slugs**: `WEBFLOW_GET_COLLECTION` -- found in collection `fields` array
169
170### Pagination
171Webflow uses offset-based pagination:
172- `offset`: Starting index (0-based)
173- `limit`: Items per page (max 100)
174- Increment offset by limit until fewer results than limit are returned
175- Available on: LIST_COLLECTION_ITEMS, LIST_PAGES
176
177### CMS Workflow
178Typical CMS content creation flow:
1791. Get site_id from LIST_WEBFLOW_SITES
1802. Get collection_id from LIST_COLLECTIONS
1813. Get field schema from GET_COLLECTION (to learn field slugs)
1824. Create/update items using correct field slugs
1835. Publish site to make changes live
184
185## Known Pitfalls
186
187### ID Formats
188- All Webflow IDs are 24-character hexadecimal strings (MongoDB ObjectIds)
189- Example: `580e63fc8c9a982ac9b8b745`
190- Pattern: `^[0-9a-fA-F]{24}$`
191- Invalid IDs return 404 errors
192
193### Field Slugs vs Display Names
194- CMS operations require field `slug` values, NOT display names
195- A field with displayName "Author Name" might have slug `author-name`
196- Always call `GET_COLLECTION` to discover correct field slugs
197- Using wrong field names silently ignores the data or causes validation errors
198
199### Publishing
200- `PUBLISH_SITE` deploys ALL staged changes, not just specific items
201- Rate limited to 1 publish per minute
202- Must specify at least one domain target (custom or webflow subdomain)
203- This is a production-affecting action; always confirm intent
204
205### Authentication Scopes
206- Different operations require different OAuth scopes: `sites:read`, `cms:read`, `cms:write`, `pages:read`
207- A 403 error typically means missing OAuth scopes
208- Check connection permissions if operations fail with authorization errors
209
210### Destructive Operations
211- `DELETE_COLLECTION_ITEM` permanently removes CMS items
212- `PUBLISH_SITE` makes all staged changes live immediately
213- Always confirm with the user before executing these actions
214
215## Quick Reference
216
217| Task | Tool Slug | Key Params |
218|------|-----------|------------|
219| List sites | `WEBFLOW_LIST_WEBFLOW_SITES` | (none) |
220| Get site info | `WEBFLOW_GET_SITE_INFO` | `site_id` |
221| Publish site | `WEBFLOW_PUBLISH_SITE` | `site_id`, `custom_domains` or `publish_to_webflow_subdomain` |
222| List collections | `WEBFLOW_LIST_COLLECTIONS` | `site_id` |
223| Get collection schema | `WEBFLOW_GET_COLLECTION` | `collection_id` |
224| List collection items | `WEBFLOW_LIST_COLLECTION_ITEMS` | `collection_id`, `limit`, `offset` |
225| Get collection item | `WEBFLOW_GET_COLLECTION_ITEM` | `collection_id`, `item_id` |
226| Create collection item | `WEBFLOW_CREATE_COLLECTION_ITEM` | `collection_id`, `field_data` |
227| Update collection item | `WEBFLOW_UPDATE_COLLECTION_ITEM` | `collection_id`, `item_id`, `fields` |
228| Delete collection item | `WEBFLOW_DELETE_COLLECTION_ITEM` | `collection_id`, `item_id` |
229| List pages | `WEBFLOW_LIST_PAGES` | `site_id`, `limit`, `offset` |
230| Get page | `WEBFLOW_GET_PAGE` | `page_id` |
231| Get page DOM | `WEBFLOW_GET_PAGE_DOM` | `page_id` |
232| Upload asset | `WEBFLOW_UPLOAD_ASSET` | `site_id`, `file_name`, `file_content`, `content_type`, `md5` |
233| List orders | `WEBFLOW_LIST_ORDERS` | `site_id`, `status` |
234| Get order | `WEBFLOW_GET_ORDER` | `site_id`, `order_id` |