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 customerpublic n8n form /form/supportname, e-mail, order, message support reviewer/webhook/inbox → n8n formedit · Send / Reject ops-chat · Claude Codecall hub_open_support_tickets,hub_run_ops_digest as theirown Keycloak role Cloudflare TunnelTLS at the edge · no public IP^/mcp → 404 n8n 2.49 · queue modemain (editor, forms, MCP trigger) · 2 workers · Redis form + tickethub.tickets (Postgres) maskpresidio-guard /mask classifymodel auto → router triage agentgemini-3.5-flash +MCP: ops-db (read-only) re-identifyplaceholders → realname, inside n8n human approvalWait (form): edit,Send or Reject ops digestevery 12 h or as a tool · 3.5 Flash MCP Server Trigger /mcp/hubopen_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 2llm.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 1mcp.jainosoft.com · agentgateway JWT → CEL per role → approvals fordestructive tools → audit ledger targets: ops-db ops-k8s ops-cloudgithub · 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 mcpclient n8n (client-credentials)service account role: mcp-user operations dataorders, customers (ops-db server)pods, events, error logs (k8s, cloud) Postgres (shared)dbs keycloak · mcp · n8nroles 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 persona platform user calls a hub workflow as an MCP tool
bhavishyajain545 · gcp-ai-n8n-hub