Quick Mode vs Full Mode

Quick ModeFull Mode
Input1–2 sentence descriptionDetailed paragraph or multi-sentence brief
OutputStages + basic steps + one form per stageFull case type: stages, steps, forms, field definitions, SLA policies, case variables, notification rules, access group hints
Generation Time~3 seconds8–12 seconds
Best ForRapid prototyping and proof of conceptProduction-ready starting point that requires minimal editing
API EndpointPOST /api/nlp/generatePOST /api/nlp/generate-full

Using the NLP Builder

  1. Navigate to Studio > NLP Builder.

  2. Select Quick or Full mode using the toggle at the top of the prompt area.

  3. 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.

  4. Click Generate. HxNexus streams the output — you see it build in real time.

  5. Review the output across the four tabs (Stages, SLAs, Variables, Notifications). Edit any field inline — the generator output is fully editable before import.

  6. 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.

Output Tabs

TabContentsWhat to Review
StagesGenerated stage list with transitions, step assignments, and form fields per stage. Fully editable inline.Stage names, transition conditions (guard expressions), step type assignments
SLAsProposed SLA duration, warning threshold, and escalation target per stageDurations (adjust for your actual SLAs), escalation targets (update to real roles/users)
VariablesCase-level persistent data fields used across stages — name, type (text/number/date/boolean), default valueField names (ensure uniqueness), types, whether calculated fields are needed
NotificationsProposed notification rules: trigger event, recipient (role or field reference), message templateRecipient accuracy, message templates (test with real case data before go-live)

Example Prompts

Quick mode: "Handle customer support tickets submitted via email, assigned to agents, resolved within 24 hours."
Full mode: "Mortgage application process for a retail bank. Customer submits income documents, proof of address, and property details in an online form. Three parallel reviewers (credit analyst, property assessor, compliance officer) work independently. SLA: 5 business days for the parallel review phase. Customer notified by email at each stage change. If credit score below 600, route to a senior underwriter before final decision. Final decision sent by email with approval letter or rejection reason. Integrate with Salesforce to sync the application as a Lead."

API Usage

# 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" }

Best Practices

Generated step types default to 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.