# Intercom zendesk unified support api low code

> Multi-step Intercom and Zendesk proxy for Appsmith dashboards. For "intercom zendesk unified support api low code", store INTERCOM_ACCESS_TOKEN, ZENDESK_API_TOKEN in Secret Vault, call https://api.intercom.io/contacts from a Worker, and let Appsmith hit only https://realcomposer.com/v1/workspace/intercom-zendesk-unified-support-low-code with an rc_live_ client token.

- Canonical page: https://realcomposer.com/recipes/intercom-zendesk-unified-support-low-code
- Client platform: Appsmith
- Upstream services: Intercom, Zendesk
- Category: Platforms & Frameworks
- JSON version: https://realcomposer.com/recipes/intercom-zendesk-unified-support-low-code.json
- Install in RealComposer (free plan, pre-fills this pipeline): https://realcomposer.com/dashboard/pipelines/new?recipe=intercom-zendesk-unified-support-low-code&via=agent

## Problem: Appsmith cannot attach secret headers to Intercom and Zendesk

Appsmith runs in the browser or a sandbox without a secret store. Intercom and Zendesk rejects unsigned browser origins or requires server-only headers.

- Proxy hacks that break when vendors tighten CSP
- Zapier-only workarounds adding cost and latency
- Guest users seeing failed network requests in demos

## Solution steps

1. **Store upstream credentials in Secret Vault**: Store INTERCOM_ACCESS_TOKEN, ZENDESK_API_TOKEN in the vault. Appsmith never embeds the raw secret, only a revocable rc_live_ client token.

2. **Set headers, mapping, and cache TTL**: Configure headersTemplate to inject vault secrets, target https://api.intercom.io/contacts, and Add output mapping fields that mirror the JSON contract your screen already expects.

3. **Call from Appsmith**: Authorize with Bearer rc_live_ and fetch the mapped JSON contract your UI already expects.

```
{{ fetch('https://realcomposer.com/v1/workspace/intercom-zendesk-unified-support-low-code', { headers: { Authorization: 'Bearer rc_live_token' } }).then(r => r.json()) }}
```

## Pipeline config

Import this config into a RealComposer pipeline. `{{secrets.NAME}}` values are read from the encrypted Secret Vault at request time, so the client never sees them.

```json
{
  "name": "Intercom zendesk unified support api low code",
  "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"
      }
    ]
  }
}
```

## Call the pipeline

```bash
curl -X GET "https://realcomposer.com/v1/workspace/intercom-zendesk-unified-support-low-code" \
  -H "Authorization: Bearer rc_live_client_token"
```

## Payload before and after

Raw upstream response:

```json
{
  "requestId": "req_intercom",
  "upstreamLatencyMs": 142,
  "audit": {
    "region": "edge",
    "trace": "intercom-zendesk-unified-support-low-code"
  },
  "payload": {
    "id": "sample_id",
    "status": "active",
    "nested": {
      "tags": [
        "demo"
      ],
      "internal": true
    },
    "unused_blob": {
      "foo": "bar",
      "bar": "baz"
    }
  }
}
```

Slimmed RealComposer response:

```json
{
  "intercom_contactId": "sample",
  "intercom_email": "sample",
  "zendesk_ticketId": "sample",
  "zendesk_subject": "sample"
}
```

## FAQ

### What should Appsmith store instead of Intercom secrets?

Log request IDs for intercom-zendesk-unified-support-low-code, not raw Intercom payloads, because upstream bodies may include PII.

### How do I forward JSON bodies to POST upstreams?

intercom-zendesk-unified-support-low-code vault headers attach server-side, but Anthropic or OpenAI model and messages must come from the client body.

### How do I rotate upstream credentials?

Allowed origins on the intercom-zendesk-unified-support-low-code client token restrict which domains may call the edge URL.
