RealComposer
Upstream API

Salesforce Integration Recipes

Edge pipelines that call Salesforce securely from no-code and frontend clients - with vault-injected credentials and slim JSON responses.

Salesforce safe & unsafe practices
Security & Secret Vault

Call salesforce api from react without exposing access token

Vault-inject OAuth or integration tokens at the edge; React calls one public client token URL. For "call salesforce api from react without exposing access token", 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 React hit only https://realcomposer.com/v1/workspace/call-salesforce-api-from-react-securely with an rc_live_ client token.

Sub-10ms edgeView Recipe
Security & Secret Vault

Hide salesforce api credentials in javascript client app

Edge pipeline attaches Bearer tokens so static sites never embed secrets. For "hide salesforce api credentials in javascript client app", 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 JavaScript / HTML hit only https://realcomposer.com/v1/workspace/hide-salesforce-credentials-javascript with an rc_live_ client token.

Sub-10ms edgeView Recipe
Security & Secret Vault

Call salesforce api from bubble io securely

RealComposer mediates Salesforce REST for Bubble workflows. For "call salesforce api from bubble io securely", 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 Bubble.io hit only https://realcomposer.com/v1/workspace/call-salesforce-from-bubble-securely with an rc_live_ client token.

Sub-10ms edgeView Recipe
Multi-API Aggregation

Merge salesforce contacts with hubspot crm one api

Parallel fetch Salesforce Contact and HubSpot CRM contact into one JSON object. For "merge salesforce contacts with hubspot crm one api", store SALESFORCE_ACCESS_TOKEN, HUBSPOT_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 Frontend / Web hit only https://realcomposer.com/v1/workspace/merge-salesforce-with-hubspot-api with an rc_live_ client token.

Sub-10ms edgeView Recipe
Multi-API Aggregation

Merge salesforce opportunities with stripe mrr data

Salesforce Opportunity and Stripe subscription MRR merged for dashboards. For "merge salesforce opportunities with stripe mrr data", store SALESFORCE_ACCESS_TOKEN, STRIPE_SECRET_KEY in Secret Vault, call https://{{secrets.SALESFORCE_INSTANCE}}.my.salesforce.com/services/data/v68.0/sobjects/Opportunity/{{query.opportunityId}} from a Worker, and let Frontend / Web hit only https://realcomposer.com/v1/workspace/merge-salesforce-opportunities-stripe-mrr with an rc_live_ client token.

Sub-10ms edgeView Recipe

Combine salesforce with plaid financial data

Salesforce household and Plaid balances in one regulated edge response. For "combine salesforce with plaid financial data", store SALESFORCE_ACCESS_TOKEN, PLAID_SECRET in Secret Vault, call https://{{secrets.SALESFORCE_INSTANCE}}.my.salesforce.com/services/data/v68.0/sobjects/Contact/{{query.contactId}} from a Worker, and let Mobile App (iOS & Android) hit only https://realcomposer.com/v1/workspace/combine-salesforce-with-plaid-accounts with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe
Payload Slimmer

Salesforce api response too large trim fields mobile

Map only id name email and owner fields; drop nested attributes URLs. For "salesforce api response too large trim fields mobile", 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 React Native hit only https://realcomposer.com/v1/workspace/trim-salesforce-json-for-mobile with an rc_live_ client token.

Sub-10ms edgeView Recipe

Salesforce contact json filter custom fields empty

Strip null custom properties like HubSpot slimming recipe. For "salesforce contact json filter custom fields empty", 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 Frontend / Web hit only https://realcomposer.com/v1/workspace/filter-empty-salesforce-custom-fields with an rc_live_ client token.

Sub-10ms edgeView Recipe
Edge Caching & Rate Limits

How to cache salesforce api responses at edge

Cache read-heavy Contact and Account queries with short TTL. For "how to cache salesforce api responses at edge", 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 Frontend / Web hit only https://realcomposer.com/v1/workspace/cache-salesforce-api-at-edge with an rc_live_ client token. Enable 300s GET cache only when query params identify the resource.

Sub-10ms edgeView Recipe
Edge Caching & Rate Limits

Salesforce composite api cache mobile dashboard

Composite read responses cached per user id at edge. For "salesforce composite api cache mobile dashboard", 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 React Native hit only https://realcomposer.com/v1/workspace/cache-salesforce-composite-mobile-dashboard with an rc_live_ client token. Enable 120s 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

Flutterflow call salesforce and stripe one endpoint

Replaces two FlutterFlow API calls with one composed edge URL. For "flutterflow call salesforce and stripe one endpoint", store SALESFORCE_ACCESS_TOKEN, STRIPE_SECRET_KEY in Secret Vault, call https://{{secrets.SALESFORCE_INSTANCE}}.my.salesforce.com/services/data/v68.0/sobjects/Contact/{{query.contactId}} from a Worker, and let FlutterFlow hit only https://realcomposer.com/v1/workspace/flutterflow-salesforce-stripe-one-endpoint with an rc_live_ client token.

Sub-10ms edgeView Recipe
Platforms & Frameworks

Salesforce api composition tool for indie hackers

Wire Salesforce REST from static sites with vault injection and no Express server. For "salesforce api composition tool for indie hackers", 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 Static HTML / Jamstack hit only https://realcomposer.com/v1/workspace/salesforce-api-composition-indie-hackers with an rc_live_ client token.

Sub-10ms edgeView Recipe