Search K
Appearance
Appearance
The AskUser node is designed to prompt the user for input during workflow execution. It supports two distinct modes of interaction: a Simple Question directly displayed to the user or a more dynamic AI-driven data collection session that utilizes a language model to gather multiple fields.
This node is typically used when workflow execution requires human input before proceeding. The communication is facilitated via SignalR and displayed through the web-based workflow interface.
Users configure this node via the standard modal UI. The following fields are presented depending on the selected "Ask Method":
Simple Question
Use AI
*
(Always visible)Simple Question
Use AI
"City": "Enter a city name"
).Use AI
Question
to the end user.data["UserAnswer"]
data["RequiredFields"]
(as a dictionary of key-value pairs)taskParameters.data
: "UserAnswer"
(if Simple Question
was used)"RequiredFields"
(if Use AI
was used)ChatWorkflowHub
and handles session-based prompts using ConnectionId
and SessionId
.Issue | Cause | Resolution |
---|---|---|
ConnectionId not found in task data | The session context was not correctly passed to the node. | Ensure the node is triggered in a real-time session with proper SignalR setup. |
Required AI Service account not found | Invalid or missing service account credentials. | Configure the appropriate OpenAI credentials in the service registry. |
User did not respond within 1 minute | No input received during timeout period. | Prompt user again or allow retry logic in parent workflow. |
task
AskUser
ChatWorkflowHub
AISingleReequest
, Chat
methodsJobTask.data