Hi Webflow Community!
I’m building an automated brand management system that syncs data between Supabase (PostgreSQL) and Webflow CMS using API v2. I’ve hit some roadblocks with UPDATE and DELETE operations and would love your insights.
Current Setup
-
PostgreSQL with pg_net extension
-
Webflow API v2 for CMS operations
-
Automated brand data synchronization
Issues I’m Facing
1. DELETE Operations = 401 Unauthorized
// This fails with 401 error
DELETE /v2/collections/{collection_id}/items
Authorization: Bearer [my_token]
CREATE and READ work fine, but DELETE always returns “Request not authorized”
2. PATCH Operations - PostgreSQL Limitation
PostgreSQL’s net extension doesn’t have net.http_patch() function:
-
net.http_post()- available -
net.http_get()- available -
net.http_patch()- doesn’t exist
Using POST instead of PATCH creates new items rather than updating existing ones.
3. Live vs Draft Updates
Discovered that live update endpoints only work for published items, but most of my items are drafts.
Questions for the Community
-
API Token Permissions: Do I need special permissions for DELETE operations? How do I enable them?
-
PostgreSQL PATCH Workaround: Has anyone successfully implemented PATCH operations from PostgreSQL? What approach did you use?
-
Alternative Solutions:
-
Should I use Supabase Edge Functions instead of direct PostgreSQL?
-
Is N8N a better choice for Webflow API automation?
-
Any other recommended tools for automated Webflow CMS management?
- Best Practices: What’s the recommended workflow for automated CRUD operations with Webflow API?
What’s Working
-
CREATE operations (POST) - perfect
-
READ operations (GET) - perfect
-
Webflow MCP tools - can delete successfully
My Goal
Build a system where:
-- This should work for both CREATE and UPDATE
SELECT sync_brand_smart('Brand Name'); -- Returns: SUCCESS
Has anyone solved similar integration challenges? I’d really appreciate your experience and suggestions!
Thanks in advance! ![]()
Here is my site Read-Only: LINK
(how to share your site Read-Only link)