INTEGRATIONS · EXTERNAL SYSTEMS
Integrations
HiveCFM does not ship a connector per vendor. It ships four subsystems, and everything outside the stack goes through one of them: Novu carries messages out to humans (email, SMS), n8n carries events out to machines (CRM, ticketing, chat, anything with an HTTP endpoint), the webhook system is the bus that feeds n8n and any other consumer, and the Genesys contact-centre integration is the one place where an outside system drives a HiveCFM survey rather than consuming its output. Those four open seven distinct doors, listed below.
Read this section when you need to answer “can Hive talk to X”, and you need the answer to be true.
The doors, and who holds the key
| Door | Direction | Carries | Who authenticates whom |
|---|---|---|---|
| Novu | Hive → outside | Email and SMS to contacts | Hive holds a Novu API key |
| Novu SMS inbound | outside → Hive | SMS replies from contacts | Nothing. POST /api/v1/novu/sms-inbound is unauthenticated |
| Webhook system | Hive → outside | responseCreated / responseUpdated / responseFinished events | Optional HMAC, only if the webhook row has a secret |
| n8n control plane | Hive → n8n | Workflow and credential CRUD during tenant provisioning | Hive holds an n8n API key (X-N8N-API-KEY) |
| n8n data plane | Hive → n8n | The webhook payload above | Whatever the n8n webhook node is configured to check |
| Genesys Bot Connector | outside → Hive | One customer utterance per call; Hive replies with the nextNext.jsReact framework used by HiveCFM Core. Handles routing, server rendering, and API routes in one bundle. survey question | HiveCFM API key; hasPermission(..., environmentId, "POST") on every turn |
| Genesys IVR | outside → Hive | One answered IVR question per call, merged on callId | HiveCFM API key; per-environment read on the GET routes, write on the response POST |
The n8n data plane is not wired automatically. Tenant provisioning builds the n8n side (workflows, credential, tag) and stops there. Until somebody registers a HiveCFM Webhook row pointing at the n8n webhook URL, the deployed workflows never fire. See n8n → Closing the loop.
Three loops, and they only meet in the database
The delivery loop asks a question and takes the answer back. Hive triggers Novu, Novu reaches the contact, and an SMS reply comes back through the one inbound route.
The automation loop takes that finished answer and pushes it into whatever system the client actually works in. Every hop after /api/pipeline is configuration, not code.
The contact-centre loop is the odd one out: the question is asked by Genesys, not by Hive. A phone call or a chat session drives an existing survey turn by turn, Hive persists each answer, and the finished row rejoins the automation loop at the same /api/pipeline fan-out.
The three loops do not know about each other. They share the Response row and nothing else, which is why an integration can be added or removed without touching survey delivery.
Pages
- Novu (Notifications) — config resolution, the subscriber model, the API surface Hive actually calls, inbound SMS, and what the delivery numbers do and do not prove.
- n8n (Automation) — control plane vs data plane, per-tenant credentials, template parameterization, and the exact webhook payload your workflow receives.
- Genesys Bot Connector — Genesys Cloud drives a HiveCFM survey turn by turn over a chat channel: the two endpoints, the request and reply contracts, where session state really lives, and the lowercase wire field that will break a client written from the TypeScript interface.
- Genesys IVR Setup — the Genesys-side procedure for a phone survey: the four IVR endpoints, the shipped data actions, DTMF mapping, and a curl test loop that needs no Genesys org.
- Example: Closed-Loop Router — a real bundled workflow that turns a detractor score into an external CRM case, with the one field mapping that is wrong in the shipped JSON.
Not covered here
Superset, HiveCFM HubHubThe Go service that owns background processing, integrations, and the admin API. Sibling to Core., Airtable, Notion, Slack, Google Sheets, and Stripe are integrations too. They live in hivecfm-core/docs/technical/05-integrations.md. This section covers the notification path, the automation path, and the two Genesys inbound paths, because those are the paths people ask “can it connect to our system” about.
Zendesk is a gap in both places: IntegrationType includes zendesk and a ZendeskWebhookEvent model exists in the schema, but 05-integrations.md does not mention it and neither does this section.
For querying what any of these produced once it is in the database, see the SQL Cookbook.