webflow-mcp:bulk-cms-update
Create or update multiple CMS items in a Webflow collection with validation and diff preview. Use when adding multiple blog posts, products, or updating fields across many items.
webflow · 已有 AI 审核记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add webflow/webflow-skills --skill webflow-mcp:bulk-cms-update技能说明
name: webflow-mcp:bulk-cms-update description: Create or update multiple CMS items in a Webflow collection with validation and diff preview. Use when adding multiple blog posts, products, or updating fields across many items.
Bulk CMS Update
Create or update multiple CMS items with comprehensive validation, granular approval, and rollback capability.
Important Note
ALWAYS use Webflow MCP tools for all operations:
- Use Webflow MCP's
data_sites_toolwith actionlist_sitesfor listing available sites - Use Webflow MCP's
data_cms_toolwith actionget_collection_listfor listing CMS collections - Use Webflow MCP's
data_cms_toolwith actionget_collection_detailsfor fetching collection schemas - Use Webflow MCP's
data_cms_toolwith actionlist_collection_itemsfor retrieving existing items - Use Webflow MCP's
data_cms_toolwith actioncreate_collection_itemsfor creating items (draft or published) - Use Webflow MCP's
data_cms_toolwith actionupdate_collection_itemsfor updating items (draft or published) - Use Webflow MCP's
data_cms_toolwith actionpublish_collection_itemsfor publishing draft items - Use Webflow MCP's
webflow_guide_toolto get best practices before starting - DO NOT use any other tools or methods for Webflow operations
- All tool calls must include the required
contextparameter (15-25 words, third-person perspective)
Instructions
Phase 1: Site & Collection Selection
- Get site: Identify the target site. If user does not provide site ID, ask for it.
- List collections: Use Webflow MCP's
data_cms_toolwith actionget_collection_listto show available collections - Ask user to select collection: User specifies which collection to work with
- Fetch collection schema: Use Webflow MCP's
data_cms_toolwith actionget_collection_detailsto retrieve:- All field definitions with types
- Required vs optional fields
- Field validations (max length, patterns, etc.)
- Reference field targets
Phase 2: Data Collection & Parsing
-
Ask operation type: Clarify what user wants to do:
- Create new items only
- Update existing items only
- Both create and update
-
Receive data from user: Accept data in flexible formats:
- Structured format (JSON-like)
- Natural language descriptions
- CSV-style data
- Bullet lists
-
Parse and normalize: Convert user data into structured format
-
Fetch existing items (if updates involved): Use Webflow MCP's
data_cms_toolwith actionlist_collection_itemsto get current dataIMPORTANT - Efficient Item Lookup:
- When searching for specific items by name, ALWAYS use the
nameparameter to filter (e.g.,name: "Pikachu") - When searching by slug, use the
slugparameter to filter - NEVER fetch all items first and then search through the results - this wastes API calls and tokens
- Only fetch the full list when you need to display all items or don't know which specific items to target
- When searching for specific items by name, ALWAYS use the
Phase 3: Validation & Analysis
- Validate all data:
- Field names: Check all field names exist in schema
- Required fields: Ensure all required fields are provided
- Field types: Validate data types match schema
- Constraints: Check max lengths, patterns, allowed values
- Slugs: Ensure slugs are unique and valid
- Reference fields: Verify referenced items exist
- Detect conflicts:
- Duplicate slugs (within batch or with existing items)
- Missing required fields
- Invalid data types
- Constraint violations
- Analyze impact:
- Count creates vs updates
- Identify which fields will change
- Calculate batch size and processing time
Phase 4: Preview & Granular Approval
- Generate detailed preview:
- Show each item with validation status
- Display warnings for any issues
- For updates, show diffs (old → new)
- For creates, show all field values
- Number each item for selective approval
- Present granular approval options:
- Allow user to select specific items to process
- Options: "all", "none", specific numbers, number ranges
- Show estimated processing time
- Offer publish options:
- Publish immediately (use
*_liveendpoints) - Create as drafts (use regular endpoints + manual publish)
- Publish immediately (use
Phase 5: Execution & Reporting
- Store rollback data: Before any changes, save:
- Original values for all updated items
- Timestamp
- Operation details
- Process in batches:
- Maximum 50 items per batch
- Show progress indicator
- Handle rate limits gracefully
- Execute operations: Use appropriate Webflow MCP tools based on user choice
- Handle errors gracefully:
- Continue processing on single item failures
- Track successes and failures separately
- Provide detailed error messages
- Generate comprehensive report:
- Summary (success/failure counts)
- Detailed results per item
- Item IDs for created/updated items
- Error details for failed items
- Offer rollback option: Allow user to undo changes if needed
Examples
User prompt:
Add 2 blog posts about Webflow MCP and update the first blog to say "Top" instead of "Best"
Step 1: Site & Collection Selection
📋 Bulk CMS Update Setup
Available Sites:
1. MCP Demo#1
2. MCP Demo#2
3. MCP Demo#3
Please select a site (1-3):
User selects: 1
Available Collections in MCP Demo#1:
└── Blog Posts (9 items)
Fields: name, slug, post-body, post-summary, main-image, thumbnail-image, featured, color
Proceed with Blog Posts collection? (yes/no)
User confirms: yes
Step 2: Data Collection
🔍 Collection Schema: Blog Posts
Required Fields:
- name (PlainText, max 256 chars)
- slug (PlainText, max 256 chars, alphanumeric only)
Optional Fields:
- post-body (RichText)
- post-summary (PlainText)
- main-image (I
阅读完整来源 ↗