Skip to main content

Communication: hbf-console

1-hop view of how this service communicates with its siblings. For the full system view, see service-communication.md.

Calls Out To

ServiceProtocolPurposeKey calls / queues
hbf-coreREST API (REACT_APP_API_CORE_URL)Organizations, tenants, users, auth, dashboard, analytics, audit logs, knowledge bases, chat sessions, integrations, settingsPrimary backend for all console operations
hbf-lcmREST API + Socket.IO (REACT_APP_API_LIVECHAT_URL)Live chat requests, conversations, notes, tags, messages, settingsSocket.IO for real-time agent events
hbf-media-managerREST API (REACT_APP_API_MEDIA_URL)Media file CRUDUpload, list, delete media
hbf-notificationsSSE + REST API (REACT_APP_API_NOTIFICATIONS_URL)Real-time push notifications, notification CRUDEventSource on /organizations/{orgId}/notifications/events?userId={userId}
hbf-reportsREST API (REACT_APP_API_REPORTS_URL)Scheduled analytics reportsReport schedule management
hbf-nlpREST API (REACT_APP_API_NLP_SERVICE_URL)NLP pipeline configurationConfidence: medium
hbf-topic-modellerREST API (REACT_APP_API_TOPIC_MODELLER_URL)Topic modelingConfidence: medium
hbf-messenger-profileREST API (REACT_APP_API_MESSENGER_PROFILE_URL)Messenger integration profileConfidence: medium
hbf-data-managerREST API (REACT_APP_API_DATA_MANAGER_URL)Data managementConfidence: medium
hbf-webchatURL embed (REACT_APP_API_WEBCHAT_URL)Webchat script URL embedded in deployment snippet (getDeploymentSnippet)Static URL reference only
hbf-knowledge-managerREST API (REACT_APP_API_KNOWLEDGE_MANAGER_URL)Knowledge base management and webhook configurationstore/knowledgeBases/knowledgeBasesApi.js
hbf-schedulerREST API (REACT_APP_API_SCHEDULER_URL)Scheduled flowsstore/scheduledFlows/scheduledFlowsApi.js

Called By

Browser application. Not called by other services.

Contracts

Inbound

None. This is a React SPA served to the browser.

Outbound

Socket.IO Connection (hbf-lcm)

  • Connects to REACT_APP_API_LIVECHAT_URL
  • Query: organizationId={orgId}
  • Auth: Bearer token in header
  • Events: message, event (live chat presence, conversations)

SSE Connection (hbf-notifications)

  • Connects via EventSourcePolyfill to /organizations/{orgId}/notifications/events?userId={userId}
  • Auth: Bearer token in header

Env Vars

Env VarTarget Service
REACT_APP_API_CORE_URLhbf-core
REACT_APP_API_LIVECHAT_URLhbf-lcm
REACT_APP_API_MEDIA_URLhbf-media-manager
REACT_APP_API_NOTIFICATIONS_URLhbf-notifications
REACT_APP_API_REPORTS_URLhbf-reports
REACT_APP_API_NLP_SERVICE_URLhbf-nlp
REACT_APP_API_TOPIC_MODELLER_URLhbf-topic-modeller
REACT_APP_API_MESSENGER_PROFILE_URLhbf-messenger-profile
REACT_APP_API_DATA_MANAGER_URLhbf-data-manager
REACT_APP_API_WEBCHAT_URLhbf-webchat (webchat script URL embedded in deployment snippet)
REACT_APP_API_KNOWLEDGE_MANAGER_URLhbf-knowledge-manager
REACT_APP_API_SCHEDULER_URLhbf-scheduler

Flows Involving This Service

Frontend application. Indirectly involved in all user-initiated flows.