Call intercom api from bubble io without access token
Bubble apps with private Intercom REST access
Removes Intercom PAT from Bubble connector configuration and network logs. For "call intercom api from bubble io without access token", store INTERCOM_ACCESS_TOKEN in Secret Vault, call https://api.intercom.io/contacts from a Worker, and let Bubble.io hit only https://realcomposer.com/v1/workspace/call-intercom-from-bubble-securely with an rc_live_ client token.
Why Bubble.io leaks Intercom credentials
Attackers routinely extract Intercom secrets from Bubble.io builds. Direct browser calls also expose internal error payloads with hostnames.
- Production Intercom keys copied from Bubble.io bundles
- Compliance violations after credential leaks
- Attackers replaying vault-grade scopes from a laptop
How RealComposer Solves This at the Edge
Add vault secrets for this pipeline
Add INTERCOM_ACCESS_TOKEN to RealComposer Secret Vault. Values decrypt only inside the Cloudflare Worker that calls the upstream.
Target the real upstream URL
Point step intercom at https://api.intercom.io/contacts with GET. Add output mapping fields that mirror the JSON contract your screen already expects. Leave cache TTL at 0 when each response is user-specific (include userId or record id in query params before enabling cache).
Connect Bubble API Connector
Allowed origins on the token should list every Bubble.io host that calls this URL.
API Connector GET https://realcomposer.com/v1/workspace/call-intercom-from-bubble-securely
Private header: Authorization Bearer rc_live_your_token
{
"requestId": "req_call-int",
"upstreamLatencyMs": 142,
"audit": {
"region": "edge",
"trace": "call-intercom-from-bubble-securely"
},
"payload": {
"id": "sample_id",
"status": "active",
"nested": {
"tags": [
"demo"
],
"internal": true
},
"unused_blob": {
"foo": "bar",
"bar": "baz"
}
}
}
{
"contactId": "sample",
"email": "sample"
}
Recipe Specs
- HTTP method
- GET
- Upstream calls
- 1
- Edge cache TTL
- No caching
- Client auth
- Restricted client token
- Mapped output fields
- 2
- Payload
- 253 B to 39 B (-85%)
curl -X GET "https://realcomposer.com/v1/workspace/call-intercom-from-bubble-securely" \ -H "Authorization: Bearer rc_live_client_token"
Developer Questions & Troubleshooting
Which Intercom credential belongs in the vault for this pipeline?
Point Bubble.io at /recipes/call-intercom-from-bubble-securely edge URL. RealComposer answers OPTIONS with Access-Control headers for allowed origins.
Does POST traffic get cached?
Cache key for call-intercom-from-bubble-securely: internal edge-cache path plus sorted query. Identical params hit; vary userId per user.
What happens if an upstream step times out?
Rotate vault secrets for call-intercom-from-bubble-securely anytime; clients keep the same rc_live_ token.
Sources & Definitions Used in This Answer
Deploy this Bubble.io + Intercom Recipe
Clone this pre-configured pipeline into your RealComposer workspace in one click. We pre-populate upstream URLs, headers, and mapping rules.