RealComposer
Frontend / WebLinearNotionMulti-API Aggregation

Merge linear issues with notion database tasks

Engineering planner unified task feed

Direct Answer & Architecture Summary

Linear issues and Notion database rows returned as one timeline JSON. For "merge linear issues with notion database tasks", store LINEAR_API_KEY, NOTION_API_KEY in Secret Vault, call https://api.linear.app/graphql from a Worker, and let Frontend / Web hit only https://realcomposer.com/v1/workspace/merge-linear-with-notion-tasks 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 Linear and Notion requests

Frontend / Web widgets often await Linear and Notion 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 LINEAR_API_KEY, NOTION_API_KEY to RealComposer Secret Vault. Values decrypt only inside the Cloudflare Worker that calls the upstream.

2

Set headers, mapping, and cache TTL

Configure headersTemplate to inject vault secrets, target https://api.linear.app/graphql, and Add output mapping fields that mirror the JSON contract your screen already expects.

3

Call from Frontend / Web

Authorize with Bearer rc_live_ and fetch the mapped JSON contract your UI already expects.

                    const res = await fetch('https://realcomposer.com/v1/workspace/merge-linear-with-notion-tasks', {
  headers: { Authorization: 'Bearer rc_live_your_token' }
});
                  
Payload Slimming Comparison
60% Bandwidth Reduction
Raw Upstream Response249 B
              {
  "requestId": "req_merge-li",
  "upstreamLatencyMs": 142,
  "audit": {
    "region": "edge",
    "trace": "merge-linear-with-notion-tasks"
  },
  "payload": {
    "id": "sample_id",
    "status": "active",
    "nested": {
      "tags": [
        "demo"
      ],
      "internal": true
    },
    "unused_blob": {
      "foo": "bar",
      "bar": "baz"
    }
  }
}
            
RealComposer Slimmed Edge Payload100 B
              {
  "linear_issueId": "sample",
  "linear_title": "sample",
  "notion_pageId": "sample",
  "notion_title": "sample"
}
            

Recipe Specs

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

Developer Questions & Troubleshooting

Does Frontend / Web need CORS changes after adding RealComposer?

Yes for merge-linear-with-notion-tasks. Ship only an rc_live_ client token in Frontend / Web; RealComposer injects LINEAR_API_KEY on https://api.linear.app/graphql.

What cache key does RealComposer use?

merge-linear-with-notion-tasks forwards client JSON to POST upstreams unchanged; secrets interpolate only in URLs and header templates.

Can I restrict which domains call this pipeline?

Rotate vault secrets for merge-linear-with-notion-tasks anytime; clients keep the same rc_live_ token.

Sources & Definitions Used in This Answer

Instant Deployment

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