RealComposer

Combine salesforce with plaid financial data

Wealth app CRM plus linked accounts

Direct Answer & Architecture Summary

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.

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

Waterfall latency from multiple Salesforce and Plaid requests

Mobile App (iOS & Android) widgets often await Salesforce and Plaid sequentially, multiplying TLS handshakes on cellular networks and amplifying failure rates.

Critical Security & Operational Risks:
  • Race conditions between parallel manual fetches
  • Higher mobile data usage from redundant JSON
  • Timeouts when any upstream exceeds cellular RTT
Architecture & Step-by-Step Implementation

How RealComposer Solves This at the Edge

1

Bind vault keys to the Worker

Add SALESFORCE_ACCESS_TOKEN, PLAID_SECRET to RealComposer Secret Vault. Values decrypt only inside the Cloudflare Worker that calls the upstream.

2

Target the real upstream URL

Point step salesforce at https://{{secrets.SALESFORCE_INSTANCE}}.my.salesforce.com/services/data/v68.0/sobjects/Contact/{{query.contactId}} with POST. Add output mapping fields that mirror the JSON contract your screen already expects. POST pipelines set cache TTL to 0 because RealComposer only stores GET responses at the edge.

3

Call from Mobile App (iOS & Android)

Call https://realcomposer.com/v1/workspace/combine-salesforce-with-plaid-accounts with a restricted rc_live_ client token. Mobile App (iOS & Android) never sends upstream secrets.

                    let url = URL(string: "https://realcomposer.com/v1/workspace/combine-salesforce-with-plaid-accounts")!
var request = URLRequest(url: url)
request.addValue("Bearer rc_live_token", forHTTPHeaderField: "Authorization")
                  
Payload Slimming Comparison
57% Bandwidth Reduction
Raw Upstream Response257 B
              {
  "requestId": "req_combine-",
  "upstreamLatencyMs": 142,
  "audit": {
    "region": "edge",
    "trace": "combine-salesforce-with-plaid-accounts"
  },
  "payload": {
    "id": "sample_id",
    "status": "active",
    "nested": {
      "tags": [
        "demo"
      ],
      "internal": true
    },
    "unused_blob": {
      "foo": "bar",
      "bar": "baz"
    }
  }
}
            
RealComposer Slimmed Edge Payload110 B
              {
  "salesforce_contactId": "sample",
  "salesforce_email": "sample",
  "plaid_accountId": "sample",
  "plaid_name": "sample"
}
            

Recipe Specs

HTTP method
POST
Upstream calls
2
Edge cache TTL
No caching
Client auth
Restricted client token
Mapped output fields
4
Payload
257 B to 110 B (-57%)
Call from Terminal or Client
curl -X POST "https://realcomposer.com/v1/workspace/combine-salesforce-with-plaid-accounts" \
  -H "Authorization: Bearer rc_live_client_token" \
  -H "Content-Type: application/json" \
  -d '{"model":"example"}'
Frequently Asked Questions

Developer Questions & Troubleshooting

Is it safe to log Salesforce responses in Mobile App (iOS & Android)?

Point Mobile App (iOS & Android) at /recipes/combine-salesforce-with-plaid-accounts edge URL. RealComposer answers OPTIONS with Access-Control headers for allowed origins.

Will Anthropic or Linear prompt bodies be rewritten?

combine-salesforce-with-plaid-accounts keeps cache TTL at 0 because it uses POST upstream calls or per-user responses. Add ids to query strings before enabling GET cache.

Can I restrict which domains call this pipeline?

Rotate vault secrets for combine-salesforce-with-plaid-accounts anytime; clients keep the same rc_live_ token.

Sources & Definitions Used in This Answer

Instant Deployment

Deploy this Mobile App (iOS & Android) + Salesforce, Plaid 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