RealComposer
Frontend / WebIntercomZendeskMulti-API Aggregation

Combine Intercom Conversations and Zendesk Tickets

One edge call merges Intercom for Frontend / Web

Direct Answer & Architecture Summary

To combine intercom conversations and zendesk tickets, configure parallel steps for Intercom and Zendesk. Frontend / Web performs one authorized GET/POST to RealComposer and receives a merged payload.

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

Serial Intercom and Zendesk calls slow Frontend / Web pages

Each extra Intercom and Zendesk hop adds hundreds of milliseconds and another OAuth refresh path your UI must manage.

Critical Security & Operational Risks:
  • One slow upstream blocking an entire page
  • Partial failures leaving UI in inconsistent states
  • Duplicate auth refresh logic per service
Architecture & Step-by-Step Implementation

How RealComposer Solves This at the Edge

1

Add vault secrets for this pipeline

Create INTERCOM_ACCESS_TOKEN, ZENDESK_API_TOKEN vault entries, then bind them to this pipeline step headers with {{secrets.NAME}} placeholders.

2

Target the real upstream URL

Use GET against https://api.intercom.io/contacts. Allowed origins on the client token should match leave cache ttl at 0 when each response is user-specific (include userid or record id in query params before enabling cache).

3

Call from Frontend / Web

Allowed origins on the token should list every Frontend / Web host that calls this URL.

                    const res = await fetch('https://realcomposer.com/v1/workspace/combine-intercom-and-zendesk-support-api', {
  headers: { Authorization: 'Bearer rc_live_your_token' }
});
                  
Payload Slimming Comparison
57% Bandwidth Reduction
Raw Upstream Response259 B
              {
  "requestId": "req_combine-",
  "upstreamLatencyMs": 142,
  "audit": {
    "region": "edge",
    "trace": "combine-intercom-and-zendesk-support-api"
  },
  "payload": {
    "id": "sample_id",
    "status": "active",
    "nested": {
      "tags": [
        "demo"
      ],
      "internal": true
    },
    "unused_blob": {
      "foo": "bar",
      "bar": "baz"
    }
  }
}
            
RealComposer Slimmed Edge Payload112 B
              {
  "intercom_contactId": "sample",
  "intercom_email": "sample",
  "zendesk_ticketId": "sample",
  "zendesk_subject": "sample"
}
            

Recipe Specs

HTTP method
GET
Upstream calls
2
Edge cache TTL
No caching
Client auth
Restricted client token
Mapped output fields
4
Payload
259 B to 112 B (-57%)
Call from Terminal or Client
curl -X GET "https://realcomposer.com/v1/workspace/combine-intercom-and-zendesk-support-api" \
  -H "Authorization: Bearer rc_live_client_token"
Frequently Asked Questions

Developer Questions & Troubleshooting

Can Frontend / Web call Intercom without holding the production key?

Point Frontend / Web at /recipes/combine-intercom-and-zendesk-support-api edge URL. RealComposer answers OPTIONS with Access-Control headers for allowed origins.

Does POST traffic get cached?

combine-intercom-and-zendesk-support-api keeps cache TTL at 0 because it uses POST upstream calls or per-user responses. Add ids to query strings before enabling GET cache.

How do I rotate upstream credentials?

Rotate vault secrets for combine-intercom-and-zendesk-support-api anytime; clients keep the same rc_live_ token.

Sources & Definitions Used in This Answer

Instant Deployment

Deploy this Frontend / Web + Intercom, 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