RealComposer
Platform

Webflow Edge API Recipes

Production-ready templates for calling third-party APIs from Webflowwithout exposing secrets or maintaining a custom backend.

Webflow safe & unsafe practices
Security & Secret Vault

Call mailchimp api from webflow without exposing api key

RealComposer subscribes list members with API key injected server-side. For "call mailchimp api from webflow without exposing api key", store MAILCHIMP_BASIC_AUTH in Secret Vault, call https://{{secrets.MAILCHIMP_DC}}.api.mailchimp.com/3.0/lists/{{query.listId}}/members?count=10 from a Worker, and let Webflow hit only https://realcomposer.com/v1/workspace/call-mailchimp-from-webflow-securely with an rc_live_ client token.

Sub-10ms edgeView Recipe
Security & Secret Vault

Firebase rest api proxy for webflow site

Firestore REST reads via edge with service token vault injection. For "firebase rest api proxy for webflow site", store FIREBASE_ACCESS_TOKEN in Secret Vault, call https://firestore.googleapis.com/v1/projects/{{query.projectId}}/databases/(default)/documents/{{query.collection}}/{{query.docId}} from a Worker, and let Webflow hit only https://realcomposer.com/v1/workspace/firebase-rest-proxy-webflow with an rc_live_ client token.

Sub-10ms edgeView Recipe
Edge Caching & Rate Limits

Cache zendesk api for customer status page

Ticket counts cached with 60s TTL for status subdomain. For "cache zendesk api for customer status page", store ZENDESK_API_TOKEN in Secret Vault, call https://{{secrets.ZENDESK_SUBDOMAIN}}.zendesk.com/api/v2/tickets.json from a Worker, and let Webflow hit only https://realcomposer.com/v1/workspace/cache-zendesk-api-status-page with an rc_live_ client token. Enable 60s GET cache only when query params identify the resource.

Sub-10ms edgeView Recipe
Platforms & Frameworks

Fix cors error calling salesforce api from webflow

Edge OPTIONS and Allow-Origin for Salesforce REST proxy. For "fix cors error calling salesforce api from webflow", store SALESFORCE_ACCESS_TOKEN in Secret Vault, call https://{{secrets.SALESFORCE_INSTANCE}}.my.salesforce.com/services/data/v68.0/sobjects/Contact/{{query.contactId}} from a Worker, and let Webflow hit only https://realcomposer.com/v1/workspace/fix-cors-error-salesforce-webflow with an rc_live_ client token.

Sub-10ms edgeView Recipe
Platforms & Frameworks

Contentful headless cms edge proxy for webflow

Single edge endpoint for Webflow fetch with CORS and auth. For "contentful headless cms edge proxy for webflow", store CONTENTFUL_ACCESS_TOKEN in Secret Vault, call https://cdn.contentful.com/spaces/{{query.spaceId}}/entries from a Worker, and let Webflow hit only https://realcomposer.com/v1/workspace/contentful-edge-proxy-for-webflow with an rc_live_ client token.

Sub-10ms edgeView Recipe