chat.onboarding.explore ​
Anonymous, read-only onboarding assistant turn (reasons over the catalog; never runs workflows)
Anonymous onboarding assistant turn.
Answers a new visitor's question about the platform using the shared reasoning engine (dgi.reasoning-dag), framed as a read-only product guide. Runs the reasoning under a fixed platform organization and never executes any business workflow — it surfaces only the final answer (skills / virtual workflows are dropped).
Inputs:
- user_message: the visitor's latest message (required)
- history: prior turns as [{role, content}] (optional)
- catalog_context: compact catalog as [{type, description}] for grounding (optional)
Outputs (terminal state_data):
- assistant_message: reply text
- referenced_types: catalog types mentioned in the reply
- model: model id used (best-effort)
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-onboarding |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
user_message | string | Yes | — | The lead's latest chat message |
history | json | No | — | Prior conversation turns as [{role, content}] |
catalog_context | json | No | — | Compact workflow catalog as [{type, description}] for grounding |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
assistant_message | string | No | — | The assistant reply text |
referenced_types | json | No | — | Catalog workflow types the reply references |
model | string | No | — | Model id used by the reasoning pass (best-effort) |
reasoning_run_id | string | No | — | Child dgi.reasoning-dag run id (traceability) |
completed_at | string | No | — | ISO-8601 completion timestamp |
failed_at | string | No | — | ISO-8601 failure timestamp |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
catalog_context | json | No | — | Internal: normalized catalog carried across the async wait |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | dispatch | Accepted the visitor's message |
waiting | No | No | — | — | Reasoning in progress (awaiting dgi.reasoning-dag child) |
completed | No | Yes | Yes | — | Assistant reply produced |
failed | No | Yes | No | — | Could not produce a reply |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | dispatch | waiting | Start the reasoning child |
waiting | child_done | completed | Reasoning finished — project the answer |
waiting | child_failed | failed | Reasoning failed |
* (any state) | fail | failed | Mark failed |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "chat.onboarding.explore",
"initial_data": {
"user_message": "value"
}
}