RealComposer
Platform

Retool Edge API Recipes

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

Retool safe & unsafe practices
Security & Secret Vault

Call zendesk api from retool without exposing api token

Internal tools query tickets without embedding subdomain API tokens in queries. For "call zendesk api from retool without exposing api token", store ZENDESK_API_TOKEN in Secret Vault, call https://{{secrets.ZENDESK_SUBDOMAIN}}.zendesk.com/api/v2/tickets.json from a Worker, and let Retool hit only https://realcomposer.com/v1/workspace/call-zendesk-from-retool-securely with an rc_live_ client token.

Sub-10ms edgeView Recipe
Security & Secret Vault

Contentful management api secure proxy retool

Contentful CMA writes from Retool via edge with scoped tokens. For "contentful management api secure proxy retool", store CONTENTFUL_MANAGEMENT_TOKEN in Secret Vault, call https://api.contentful.com/spaces/{{query.spaceId}}/entries from a Worker, and let Retool hit only https://realcomposer.com/v1/workspace/contentful-cma-proxy-retool with an rc_live_ client token.

Sub-10ms edgeView Recipe
Multi-API Aggregation

Aggregate zendesk tickets with hubspot deals

Zendesk open tickets and related HubSpot deal stage in one Retool query. For "aggregate zendesk tickets with hubspot deals", store ZENDESK_API_TOKEN, HUBSPOT_ACCESS_TOKEN in Secret Vault, call https://{{secrets.ZENDESK_SUBDOMAIN}}.zendesk.com/api/v2/tickets.json from a Worker, and let Retool hit only https://realcomposer.com/v1/workspace/aggregate-zendesk-with-hubspot-deals with an rc_live_ client token.

Sub-10ms edgeView Recipe
Multi-API Aggregation

Merge zendesk with stripe customer support view

Zendesk requester and Stripe customer charges for support macros. For "merge zendesk with stripe customer support view", store ZENDESK_API_TOKEN, STRIPE_SECRET_KEY in Secret Vault, call https://{{secrets.ZENDESK_SUBDOMAIN}}.zendesk.com/api/v2/tickets.json from a Worker, and let Retool hit only https://realcomposer.com/v1/workspace/merge-zendesk-with-stripe-support with an rc_live_ client token.

Sub-10ms edgeView Recipe
Payload Slimmer

Mailchimp campaign stats trim for analytics card

Opens clicks and send time without full report trees. For "mailchimp campaign stats trim for analytics card", 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 Retool hit only https://realcomposer.com/v1/workspace/trim-mailchimp-campaign-stats-json with an rc_live_ client token.

Sub-10ms edgeView Recipe
Edge Caching & Rate Limits

Mailchimp and hubspot combined cache layer

Compose and cache merged marketing audience JSON. For "mailchimp and hubspot combined cache layer", store MAILCHIMP_BASIC_AUTH, HUBSPOT_ACCESS_TOKEN in Secret Vault, call https://{{secrets.MAILCHIMP_DC}}.api.mailchimp.com/3.0/lists/{{query.listId}}/members?count=10 from a Worker, and let Retool hit only https://realcomposer.com/v1/workspace/mailchimp-hubspot-shared-edge-cache with an rc_live_ client token. Enable 300s GET cache only when query params identify the resource.

Sub-10ms edgeView Recipe
Platforms & Frameworks

Retool connect paddle refunds securely

Retool queries RealComposer for Paddle write operations. For "retool connect paddle refunds securely", store PADDLE_API_KEY in Secret Vault, call https://api.paddle.com/adjustments?action=refund&per_page=20 from a Worker, and let Retool hit only https://realcomposer.com/v1/workspace/retool-paddle-refunds-secure-proxy with an rc_live_ client token.

Sub-10ms edgeView Recipe