{
  "slug": "combine-intercom-and-zendesk-support-api",
  "title": "Combine Intercom Conversations and Zendesk Tickets",
  "metaTitle": "Combine Intercom Conversations and - RealComposer",
  "metaDescription": "Combine intercom conversations and zendesk tickets. Merge Intercom and Zendesk in one Frontend / Web call with parallel Worker steps.",
  "headline": "One edge call merges Intercom for Frontend / Web",
  "category": "aggregation",
  "categoryLabel": "Multi-API Aggregation",
  "urgency": 8,
  "clientPlatform": "Frontend / Web",
  "upstreamServices": [
    "Intercom",
    "Zendesk"
  ],
  "searchIntentQuery": "combine intercom conversations and zendesk tickets",
  "directAnswerSummary": "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.",
  "problem": {
    "title": "Serial Intercom and Zendesk calls slow Frontend / Web pages",
    "explanation": "Each extra Intercom and Zendesk hop adds hundreds of milliseconds and another OAuth refresh path your UI must manage.",
    "risks": [
      "One slow upstream blocking an entire page",
      "Partial failures leaving UI in inconsistent states",
      "Duplicate auth refresh logic per service"
    ]
  },
  "solutionSteps": [
    {
      "stepNumber": 1,
      "title": "Add vault secrets for this pipeline",
      "description": "Create INTERCOM_ACCESS_TOKEN, ZENDESK_API_TOKEN vault entries, then bind them to this pipeline step headers with {{secrets.NAME}} placeholders."
    },
    {
      "stepNumber": 2,
      "title": "Target the real upstream URL",
      "description": "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)."
    },
    {
      "stepNumber": 3,
      "title": "Call from Frontend / Web",
      "description": "Allowed origins on the token should list every Frontend / Web host that calls this URL.",
      "codeSnippet": "const res = await fetch('https://realcomposer.com/v1/workspace/combine-intercom-and-zendesk-support-api', {\n  headers: { Authorization: 'Bearer rc_live_your_token' }\n});"
    }
  ],
  "pipelineConfig": {
    "name": "Combine Intercom Conversations and Zendesk Tickets",
    "method": "GET",
    "cacheTtlSeconds": 0,
    "authMode": "client_token",
    "steps": [
      {
        "stepKey": "intercom",
        "upstreamUrlTemplate": "https://api.intercom.io/contacts",
        "httpMethod": "GET",
        "headersTemplate": {
          "Authorization": "Bearer {{secrets.INTERCOM_ACCESS_TOKEN}}",
          "Accept": "application/json"
        },
        "timeoutMs": 3000
      },
      {
        "stepKey": "zendesk",
        "upstreamUrlTemplate": "https://{{secrets.ZENDESK_SUBDOMAIN}}.zendesk.com/api/v2/tickets.json",
        "httpMethod": "GET",
        "headersTemplate": {
          "Authorization": "Bearer {{secrets.ZENDESK_API_TOKEN}}"
        },
        "timeoutMs": 3000
      }
    ],
    "outputMapping": {
      "version": 1,
      "fields": [
        {
          "targetPath": "intercom.contactId",
          "sourcePath": "data.0.id",
          "type": "string",
          "sourceStep": "intercom"
        },
        {
          "targetPath": "intercom.email",
          "sourcePath": "data.0.email",
          "type": "string",
          "sourceStep": "intercom"
        },
        {
          "targetPath": "zendesk.ticketId",
          "sourcePath": "tickets.0.id",
          "type": "number",
          "sourceStep": "zendesk"
        },
        {
          "targetPath": "zendesk.subject",
          "sourcePath": "tickets.0.subject",
          "type": "string",
          "sourceStep": "zendesk"
        }
      ]
    }
  },
  "sampleBloatedInput": {
    "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"
      }
    }
  },
  "sampleSlimmedOutput": {
    "intercom_contactId": "sample",
    "intercom_email": "sample",
    "zendesk_ticketId": "sample",
    "zendesk_subject": "sample"
  },
  "curlSnippet": "curl -X GET \"https://realcomposer.com/v1/workspace/combine-intercom-and-zendesk-support-api\" \\\n  -H \"Authorization: Bearer rc_live_client_token\"",
  "faqs": [
    {
      "question": "Can Frontend / Web call Intercom without holding the production key?",
      "answer": "Point Frontend / Web at /recipes/combine-intercom-and-zendesk-support-api edge URL. RealComposer answers OPTIONS with Access-Control headers for allowed origins."
    },
    {
      "question": "Does POST traffic get cached?",
      "answer": "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."
    },
    {
      "question": "How do I rotate upstream credentials?",
      "answer": "Rotate vault secrets for combine-intercom-and-zendesk-support-api anytime; clients keep the same rc_live_ token."
    }
  ],
  "relatedRecipeSlugs": [
    "stitch-two-rest-apis-flutterflow",
    "call-airtable-from-flutterflow-securely",
    "connect-stripe-to-retool-securely"
  ],
  "updatedAt": "2026-11-20",
  "links": {
    "page": "https://realcomposer.com/recipes/combine-intercom-and-zendesk-support-api",
    "markdown": "https://realcomposer.com/recipes/combine-intercom-and-zendesk-support-api.md",
    "json": "https://realcomposer.com/recipes/combine-intercom-and-zendesk-support-api.json",
    "install": "https://realcomposer.com/dashboard/pipelines/new?recipe=combine-intercom-and-zendesk-support-api&via=agent"
  }
}