Cache zendesk api for customer status page
Public status widgets without agent token abuse
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.
Zendesk rate limits from Webflow traffic
Without edge caching, identical Zendesk reads during a session still round-trip to the origin.
- HTTP 429 responses during launch traffic
- Surprise SaaS overages from duplicate reads
- Slower repeat views than necessary
How RealComposer Solves This at the Edge
Store upstream credentials in Secret Vault
Store ZENDESK_API_TOKEN in the vault. Webflow never embeds the raw secret, only a revocable rc_live_ client token.
Target the real upstream URL
Point step zendesk at https://{{secrets.ZENDESK_SUBDOMAIN}}.zendesk.com/api/v2/tickets.json with GET. Add output mapping fields that mirror the JSON contract your screen already expects. Set cache TTL to 60s so repeat GETs with the same query string hit caches.default.
Call from Webflow custom code
Allowed origins on the token should list every Webflow host that calls this URL.
fetch('https://realcomposer.com/v1/workspace/cache-zendesk-api-status-page', {
headers: { Authorization: 'Bearer rc_live_your_token' }
}).then(r => r.json());
{
"requestId": "req_cache-ze",
"upstreamLatencyMs": 142,
"audit": {
"region": "edge",
"trace": "cache-zendesk-api-status-page"
},
"payload": {
"id": "sample_id",
"status": "active",
"nested": {
"tags": [
"demo"
],
"internal": true
},
"unused_blob": {
"foo": "bar",
"bar": "baz"
}
}
}
{
"ticketId": "sample",
"subject": "sample",
"status": "sample"
}
Recipe Specs
- HTTP method
- GET
- Upstream calls
- 1
- Edge cache TTL
- 60s
- Client auth
- Restricted client token
- Mapped output fields
- 3
- Payload
- 248 B to 58 B (-77%)
curl -X GET "https://realcomposer.com/v1/workspace/cache-zendesk-api-status-page" \ -H "Authorization: Bearer rc_live_client_token"
Developer Questions & Troubleshooting
Is it safe to log Zendesk responses in Webflow?
Yes for cache-zendesk-api-status-page. Ship only an rc_live_ client token in Webflow; RealComposer injects ZENDESK_API_TOKEN on https://{{secrets.ZENDESK_SUBDOMAIN}}.zendesk.com/api/v2/tickets.json.
Will Anthropic or Linear prompt bodies be rewritten?
cache-zendesk-api-status-page vault headers attach server-side, but Anthropic or OpenAI model and messages must come from the client body.
What happens if an upstream step times out?
Upstream steps in cache-zendesk-api-status-page honor timeoutMs and optional fallback JSON without leaking secrets.
Sources & Definitions Used in This Answer
Deploy this Webflow + Zendesk Recipe
Clone this pre-configured pipeline into your RealComposer workspace in one click. We pre-populate upstream URLs, headers, and mapping rules.