HxConnect is Velaris's unified integration layer — a library of production-grade connectors that wire external systems directly into your case workflows as step types. No glue code. No middleware. Add a step to a case type, pick a connector step type, and the Work Center renders the correct action panel automatically.
Traditional BPM integrations require bespoke code for every external system: a custom Lambda to call Stripe, a scheduled job to sync Salesforce, a webhook handler bolted onto the edge of the platform. Each integration is maintained separately, lives outside the audit trail, and breaks silently when credentials rotate.
HxConnect eliminates that pattern entirely. Every integration is a step type — a first-class citizen of the case workflow. When a case reaches a step whose type is payment_request, the Work Center renders the PaymentRequestPanel. The agent (or the customer) interacts with it. The connector calls the external API. A webhook fires when the external event completes. The case auto-advances. All of this is logged in the case event trail.
The following diagram traces the full lifecycle of an async integration step — from case design in Studio through to automatic case advancement when the external event fires.
STUDIO (Design time) ───────────────────────────────────────────────────────────────────── │ Case Type Editor > Add Step > Set Type: payment_request │ │ Link to connector: StripeConnector (env vars already set) │ └────────────────────────────────┬─────────────────────────────────── │ Case saved > case_types table ▼ WORK CENTER (Run time — Agent opens step) ───────────────────────────────────────────────────────────────────── │ Step type = payment_request > Work Center renders │ │ PaymentRequestPanel (amount / currency / Generate Link / Copy) │ │ │ │ Agent clicks Generate > POST /api/payments/cases/{id}/charge │ └────────────────────────────────┬─────────────────────────────────── │ ▼ STRIPE API (External) ───────────────────────────────────────────────────────────────────── │ StripeConnector sends Payment Intent > returns checkout_url │ │ Agent copies link > customer pays in Stripe-hosted page │ └────────────────────────────────┬─────────────────────────────────── │ checkout.session.completed event ▼ WEBHOOK RECEIVER POST /api/payments/webhooks/stripe ───────────────────────────────────────────────────────────────────── │ HMAC-SHA256 signature verified (STRIPE_WEBHOOK_SECRET) │ │ Event stored > payment_webhook_events │ │ Case status updated > step marked complete │ │ Case auto-advances to next stage/step │ └─────────────────────────────────────────────────────────────────────
The same pattern applies to every async connector: Onfido fires check.completed, DocuSign fires envelope-signed, Xero returns HTTP 200. The only difference is the external system and the step type name.
HxConnect ships with 11 connectors across six domains. Each connector exposes one or more step types. Studio shows all 11 in the HxConnect tabs.
| Connector | Domain | Step Type(s) | External System | Studio Tab | Work Center Panel |
|---|---|---|---|---|---|
StripeConnector |
Payments | payment_request |
Stripe Checkout | HxConnect > Payments | PaymentRequestPanel |
StripeConnector |
Payments | payment_disbursement |
Stripe (record only) | HxConnect > Payments | PaymentDisbursementPanel |
OnfidoConnector |
Identity | identity_verify |
Onfido KYC | HxConnect > Identity | IdentityVerifyPanel |
DocuSignConnector |
E-Sign | esign_send |
DocuSign Envelope | HxConnect > E-Sign | ESignPanel |
SalesforceConnector |
CRM | crm_sync |
Salesforce Contact + Case | HxConnect > CRM | CRM Sync Panel |
XeroConnector |
Accounting | invoice_generate |
Xero Draft Invoice | HxConnect > Accounting | Invoice Panel |
TwilioConnector |
Communications | sms_send |
Twilio SMS | HxConnect > SMS | SMS Panel |
SlackConnector |
Communications | slack_notify |
Slack Incoming Webhook | HxConnect > Slack | Slack Panel |
DoclingConnector |
Documents | doc_extract |
Self-hosted Docling OCR | HxConnect > Documents | DocExtractPanel |
S3Connector |
Documents | doc_store |
S3 / MinIO / R2 | HxConnect > Documents | DocStorePanel |
HttpCustomConnector |
Developer | custom_http |
Any REST API | HxConnect > Custom | Custom HTTP Panel |
/api/devconn/webhooks/receive/{connector_id} that routes external events to case records by matching a case UUID or a field value. See the Custom & Developer Connectors section for routing rule configuration.
Every connector field that holds a secret supports {{env.VAR}} interpolation. At runtime, the connector resolves the variable from the process environment. Credentials are:
connectors table (AES-256-GCM, key derived from SECRET_KEY){{env.VAR}} placeholderAll connectors follow the same five-step setup pattern. Individual connector pages document the system-specific details for each step.
Get credentials from the external system. This is typically an API key, OAuth2 Client ID + Secret, or a webhook signing secret. Complete any required developer registration steps on the external platform (Stripe Dashboard, Onfido Dashboard, DocuSign Developer Console, etc.).
Register the inbound webhook endpoint. For async connectors, navigate to the external platform's webhook settings and register the Velaris endpoint (e.g., https://your-domain.com/api/payments/webhooks/stripe). Subscribe to the event type that signals completion. Copy the webhook signing secret.
Set environment variables. Add the credentials and signing secrets to your deployment environment (e.g., .env file in development, Kubernetes secrets in production). Use the exact variable names documented per connector. Restart the case-service after changes.
Add the connector in Studio. Navigate to Studio > HxConnect and open the relevant tab (Payments, Identity, CRM, etc.). Click Add Connector, fill in the configuration form using {{env.VAR_NAME}} placeholders for all secret fields, and save. Velaris validates connectivity where possible.
Add a step to your case type. Open the target case type in the Case Type Editor, navigate to the stage where the integration should occur, add a new step, and set its Step Type to the appropriate value (e.g., payment_request). Link the connector record. Save and publish.
All 11 connectors are managed from a single location: Studio > HxConnect. The HxConnect area has a dedicated tab for each integration domain, plus a connector registry that lists all active connector instances with their health status, last-used timestamp, and event counters.
| Studio Tab | Connectors | DB Tables |
|---|---|---|
| Payments | StripeConnector (payment_request + payment_disbursement) | payment_requests, payment_webhook_events, payment_disbursements |
| Identity | OnfidoConnector | identity_verifications |
| E-Sign | DocuSignConnector | esign_requests |
| CRM | SalesforceConnector | crm_sync_records |
| Accounting | XeroConnector | invoice_records |
| SMS | TwilioConnector | sms_messages |
| Slack | SlackConnector | slack_notifications |
| Documents | DoclingConnector, S3Connector | doc_extraction_jobs, doc_storage_routes |
| Custom | HttpCustomConnector | webhook_receiver_rules, webhook_receiver_events |
| Webhook Receivers | WebhookReceiver | webhook_receiver_rules, webhook_receiver_events |
| Registry | All connectors — health, event counts, last activity | connectors (master registry) |