RealComposer
WebflowZendeskEdge Caching & Rate Limits

Cache zendesk api for customer status page

Public status widgets without agent token abuse

Direct Answer & Architecture Summary

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.

Security LevelAES-256-GCM Vault
Edge LatencySub-10ms Response
InfrastructureZero Server Maintenance
The Problem Solved

Zendesk rate limits from Webflow traffic

Without edge caching, identical Zendesk reads during a session still round-trip to the origin.

Critical Security & Operational Risks:
  • HTTP 429 responses during launch traffic
  • Surprise SaaS overages from duplicate reads
  • Slower repeat views than necessary
Architecture & Step-by-Step Implementation

How RealComposer Solves This at the Edge

1

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.

2

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.

3

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());
                  
Payload Slimming Comparison
77% Bandwidth Reduction
Raw Upstream Response248 B
              {
  "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"
    }
  }
}
            
RealComposer Slimmed Edge Payload58 B
              {
  "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%)
Call from Terminal or Client
curl -X GET "https://realcomposer.com/v1/workspace/cache-zendesk-api-status-page" \
  -H "Authorization: Bearer rc_live_client_token"
Frequently Asked Questions

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

Instant Deployment

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.

CLONE THIS RECIPE
Related Architecture Recipes