← Communication Hub

Communication Hub

⤳ Flow generated 2026-05-13 09:10 by bulk-flow-script

Communication Hub — message intake and work conversion

Covers the primary staff journey through Communication Hub: opening the unified chat space, selecting a thread or channel, composing a message, receiving an AI-powered intent-detection prompt, and converting (or dismissing) that message into a governed structured request with a linked task. Also covers the group-chat creation block and the patient-initiated chat path.

Show platforms: click pills to fade out platform-specific steps
No referenced modules have flows generated yet
20 steps · 5 actors · model: claude-sonnet-4-6
flowchart TD s1(["Open Communication Hub"]) s1:::user s3{"Staff action?"} s3:::user s3p("Select patient thread") s3p:::user s5("Compose and send message") s5:::user s5p("Compose and send patient message") s5p:::user s8{"Convert or dismiss?"} s8:::user subgraph self_lane["Communication Hub"] direction TB s2("Render unified chat list") s2:::self s2p("Render patient chat entry") s2p:::self s4("Open thread view") s4:::self s4p("Open patient thread view") s4p:::self s6{"Intent detected?"} s6:::self s7("Show inline conversion prompt") s7:::self s8a("Create structured request and task") s8a:::self s8b("Log dismissal to audit") s8b:::self s8c("Insert system marker in thread") s8c:::self s8d("Show request card with SLA and owner") s8d:::self s9{"Group chat policy enabled?"} s9:::self s10("Block and show redirect message") s10:::self s11("Log blocked attempt; redirect to channels") s11:::self s_end(["End"]) s_end:::self end subgraph treatment_pipeline_manager_lane["Treatment Pipeline"] direction TB treatment_pipeline_manager_recv_1["surface intent suggestion"] treatment_pipeline_manager_recv_1:::ext end subgraph staff_app_mode_lane["Staff App Mode"] direction TB staff_app_mode_recv_1["create governed task"] staff_app_mode_recv_1:::ext end s1 --> s2 s2 --> s3 s2p --> s3p s3 -- "select thread / channel" --> s4 s3 -- "create group chat" --> s9 s3p --> s4p s4 --> s5 s4p --> s5p s5 --> s6 s5p --> s_end s6 -- "yes" --> s7 s6 -- "no" --> s_end s7 --> s8 s8 -- "convert" --> s8a s8 -- "dismiss" --> s8b s8a --> s8c s8b --> s_end s8c --> s8d s8d --> s_end s9 -- "disabled (default)" --> s10 s9 -- "enabled" --> s4 s10 --> s11 s11 --> s2 s7 -. "surface intent suggestion" .-> treatment_pipeline_manager_recv_1 s8a -. "create governed task" .-> staff_app_mode_recv_1 classDef user fill:#fef3c7,stroke:#b45309,stroke-width:2.5px,color:#1f2937; classDef self fill:#dbeafe,stroke:#1d4ed8,stroke-width:2.5px,color:#0f172a; classDef module fill:#fce7f3,stroke:#be185d,stroke-width:2.5px,color:#1f2937; classDef ext fill:#f3e8ff,stroke:#7e22ce,stroke-width:2.5px,stroke-dasharray: 6 3,color:#1f2937;
100%
drag to pan · scroll to zoom
💬 Comment thread
Mermaid source (advanced — copy/paste into any Mermaid renderer)

Tip: you can hand-edit and re-render with the Mermaid live editor. To persist edits back into Primoro Specs, paste the edited source back here and we'll save it (coming in 30B-5).