Describe a business process in plain English and let HxNexus generate a complete, reviewable case type — including stages, steps, forms, SLA policies, variables, and notification rules — in seconds.
| Quick Mode | Full Mode | |
|---|---|---|
| Input | 1–2 sentence description | Detailed paragraph or multi-sentence brief |
| Output | Stages + basic steps + one form per stage | Full case type: stages, steps, forms, field definitions, SLA policies, case variables, notification rules, access group hints |
| Generation Time | ~3 seconds | 8–12 seconds |
| Best For | Rapid prototyping and proof of concept | Production-ready starting point that requires minimal editing |
| API Endpoint | POST /api/nlp/generate | POST /api/nlp/generate-full |
Navigate to Studio > NLP Builder.
Select Quick or Full mode using the toggle at the top of the prompt area.
Type your process description in the prompt box. For Full mode, be specific: name the actors (customer, agent, manager), the data collected at each step, expected SLA, integration triggers, and any decision routing rules.
Click Generate. HxNexus streams the output — you see it build in real time.
Review the output across the four tabs (Stages, SLAs, Variables, Notifications). Edit any field inline — the generator output is fully editable before import.
Click Import to Studio. A new case type is created in Draft state. Open it in the Case Type editor to make further adjustments before staging and publishing.
| Tab | Contents | What to Review |
|---|---|---|
| Stages | Generated stage list with transitions, step assignments, and form fields per stage. Fully editable inline. | Stage names, transition conditions (guard expressions), step type assignments |
| SLAs | Proposed SLA duration, warning threshold, and escalation target per stage | Durations (adjust for your actual SLAs), escalation targets (update to real roles/users) |
| Variables | Case-level persistent data fields used across stages — name, type (text/number/date/boolean), default value | Field names (ensure uniqueness), types, whether calculated fields are needed |
| Notifications | Proposed notification rules: trigger event, recipient (role or field reference), message template | Recipient accuracy, message templates (test with real case data before go-live) |
# Full mode generation via API curl -s -X POST http://localhost:8200/api/nlp/generate-full \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{ "description": "Insurance claims processing. Customer files a claim with photos and receipts. Assessor reviews, approves or requests more info. Finance team processes payment. 10 business day SLA.", "mode": "full" }'
Response shape: { stages: [...], sla_policies: [...], variables: [...], notifications: [...], case_type_draft_id: "uuid" }
standard. If your process needs payment, identity verification, or other connector-backed steps, manually update those step types in the Case Type editor after import.