Merge linear issues with notion database tasks
Engineering planner unified task feed
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.
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.
- Race conditions between parallel manual fetches
- Higher mobile data usage from redundant JSON
- Timeouts when any upstream exceeds cellular RTT
How RealComposer Solves This at the Edge
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.
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.
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' }
});
{
"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"
}
}
}
{
"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%)
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"}'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
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.