HttpCustomConnector — No-Code Outbound HTTP

The HttpCustomConnector lets you call any REST API from a workflow step using a JSON configuration form. Define the URL, method, headers, and body — all with {{variable}} interpolation from case data and environment secrets.

{
  "url": "https://api.example.com/notify",
  "method": "POST",
  "headers": {
    "Authorization": "Bearer {{env.EXAMPLE_API_KEY}}",
    "Content-Type": "application/json"
  },
  "body": {
    "case_ref": "{{case.ref}}",
    "customer_email": "{{case.data.email}}",
    "stage": "{{case.stage}}"
  },
  "timeout_ms": 5000,
  "retry": { "max_attempts": 3, "backoff": "exponential" }
}
Never hardcode credentials in the connector JSON. Always use {{env.VAR_NAME}} for secrets. Connector definitions are exportable and logged — raw credentials in them would be a security incident.

Template Variables

VariableValueExample
{{case.id}}Case UUID3fa85f64-5717-...
{{case.ref}}Human-readable case referenceCASE-0042
{{case.title}}Case titleMortgage Application
{{case.status}}Current statusin_progress
{{case.stage}}Current stage nameReview
{{case.data.FIELD}}Any field from case JSONB data{{case.data.customer_email}}
{{user.id}}Acting user UUID
{{user.email}}Acting user emailagent@company.com
{{user.role}}Acting user roleagent
{{env.VAR_NAME}}Server environment variable (secrets){{env.CRM_API_KEY}}

Inbound Webhook Receiver

The webhook receiver lets external systems push events into Velaris cases. Each receiver connector gets a stable inbound endpoint at /api/devconn/webhooks/receive/{connector_id}. You define routing rules to match incoming payloads to the right case.

SettingDescriptionExample
Match Typecase_id — payload field contains the Velaris case UUID directlypayload field: velaris_case_id
Match Typefield_match — find case where data.FIELD == payload.FIELDmatch data.order_id to payload.order_id
Event NameName logged to case_events when match foundpayment_confirmed
Auto-advanceWhether to complete current step on webhook receipttrue
Data MergeJSON path expressions to merge payload fields into case data{"data.payment_ref": "$.transaction_id"}
HMAC SecretOptional shared secret for payload signature verificationStored via {{env.WEBHOOK_SECRET}}
# Test inbound webhook — advance case CASE-0042
curl -s -X POST http://localhost:8200/api/devconn/webhooks/receive/my-connector-id \
  -H "Content-Type: application/json" \
  -d '{"velaris_case_id": "3fa85f64-...", "status": "completed", "transaction_id": "TXN-9987"}'

OpenAPI Auto-Connector

Paste an OpenAPI spec URL into the Auto-Connector tab in Studio > Dev Connectors. HxNexus analyses the spec and suggests connector operations — which endpoints to call, which parameters to pass, how to map response fields to case data. Review and approve each suggestion, and Velaris generates the HttpCustomConnector config automatically.

Best for: APIs with a public Swagger/OpenAPI 3.x spec. Works with any API that exposes a machine-readable spec — Stripe, Salesforce, GitHub, internal microservices.

API Reference

MethodPathDescription
POST/api/devconn/connectorsCreate a new HttpCustomConnector
GET/api/devconn/connectorsList all custom connectors
POST/api/devconn/webhooks/receive/{id}Inbound webhook endpoint (external systems call this)
GET/api/devconn/webhook-rulesList webhook routing rules
GET/api/devconn/webhook-eventsList recent inbound webhook events with routing outcomes