n8n automation hub · workflows that use the platform's two doors, and become its tools
self-hosted n8n 2.49 in queue mode on the shared GKE Autopilot cluster · one Keycloak identity (service-account-n8n) through a sidecar · every model call through the LLM door (project 2), every tool call through the MCP gateway (project 1) · a person approves every reply · the hub's own workflows are MCP tools
PEOPLE AND CALLERS · via Cloudflare Tunnel
THE HUB · n8n.jainosoft.com · namespace n8n
THE PLATFORM · projects 1 and 2 on the same cluster
customer public n8n form /form/support name, e-mail, order, message
support reviewer /webhook/inbox → n8n form edit · Send / Reject
ops-chat · Claude Code call hub_open_support_tickets, hub_run_ops_digest as their own Keycloak role
Cloudflare Tunnel TLS at the edge · no public IP ^/mcp → 404
n8n 2.49 · queue mode main (editor, forms, MCP trigger) · 2 workers · Redis
form + ticket hub.tickets (Postgres)
mask presidio-guard /mask
classify model auto → router
triage agent gemini-3.5-flash + MCP: ops-db (read-only)
re-identify placeholders → real name, inside n8n
human approval Wait (form): edit, Send or Reject
ops digest every 12 h or as a tool · 3.5 Flash
MCP Server Trigger /mcp/hub open_support_tickets · run_ops_digest
platform-auth sidecar (every pod) · 127.0.0.1:8099
dummy key in n8n → Keycloak JWT (service-account-n8n, mcp-user),
refreshed before expiry · /llm → LLM door · /mcp → MCP gateway · streams SSE
runners: n8nio/runners sidecars · workflows as code: build → import → publish
Postgres db n8n + schema hub · /metrics · logs → BigQuery
no long-lived platform key in n8n · every call attributable to the hub
LLM door · project 2 llm.jainosoft.com · agentgateway
JWT → presidio + NeMo guards → 50k tokens/hour per identity → semantic router (auto) or pinned tier
ledger: tokens · cost · user → Vertex AI Gemini (WI egress)
MCP gateway · project 1 mcp.jainosoft.com · agentgateway
JWT → CEL per role → approvals for destructive tools → audit ledger
targets: ops-db ops-k8s ops-cloud github · hub (n8n)
failOpen: hub down → its tools drop out, the other 33 keep working (3.6 s)
presidio-guard /mask for apps (whole conversation), webhook in the door for plain calls
Keycloak · realm mcp client n8n (client-credentials) service account role: mcp-user
operations data orders, customers (ops-db server) pods, events, error logs (k8s, cloud)
Postgres (shared) dbs keycloak · mcp · n8n roles per app, schema per purpose
↖ gateway → hub target (in-cluster, x-hub-token)
MEASURED (recorded run)
· · · · ·
a support ticket: masked, classified, looked up, drafted, re-identified, approved by a person a platform user calls a hub workflow as an MCP tool