Skip to content
Proud to collaborate with Microsoft for Startups

chat.conversation.send-message.dispatch-dgi ​

Start a dgi.thought-processing child run for the just-persisted user turn

Spawn a dgi.thought-processing child run for the user turn.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-chat
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
conversation_uuiduuidYes——
organization_uuiduuidYes—Organization uuid from validate step
user_uuiduuidNo—The sender — packed into the dgi context so context-sourced user_uuid inputs (workflow-request.create, schedule.create) resolve
user_messagestringYes——
user_message_uuiduuidYes—ChatMessage uuid of the just-persisted user turn
llm_connection_uuiduuidNo—Optional LLM connection override (uuid)
confirmed_actionjsonNo—Optional resolution of a prior pending_action
provided_inputsjsonNo—Optional values the user filled into a prior pending_input form
deep_reasoningbooleanNo—Deep-reasoning mode flag (raises the dgi tool-loop budget)
proactivebooleanNo—Proactive mode flag (request next-action suggestions)
workflow_run_uuiduuidNo——
workflow_run_idstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
conversation_uuiduuidNo——
user_uuiduuidNo——
organization_uuiduuidNo——
user_messagestringNo——
provided_inputsjsonNo——
confirmed_actionjsonNo——
llm_connection_uuiduuidNo——
streambooleanNo——
deep_reasoningbooleanNo——
proactivebooleanNo——
workflow_run_uuiduuidNo——
workflow_run_idstringNo——
last_message_previewstringNo——
dgi_workflow_uuiduuidNo——
user_message_uuiduuidNo——
assistant_message_uuiduuidNo——
failure_reasonstringNo—Engine-stamped human-readable failure reason
failed_at_statestringNo—Engine-stamped state when the workflow failed
failed_stepstringNo—Engine-stamped step name (DAG path)
failed_layerintegerNo—Engine-stamped layer index (DAG path)
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "chat.conversation.send-message.dispatch-dgi",
  "initial_data": {
    "conversation_uuid": "value",
    "organization_uuid": "value",
    "user_message": "value",
    "user_message_uuid": "value"
  }
}