Overview
Every Nadoo AI workflow begins with a Start Node and terminates with an End Node. These two nodes are mandatory — they define the boundaries of your execution graph. The Question Node complements them by allowing the workflow to pause mid-execution and wait for additional user input. Together, these three nodes form the input/output backbone of the workflow engine.Start Node
The Start Node is the entry point for every workflow. When a workflow execution begins, the Start Node receives the user’s initial message, initializes the workflow context, and sets up any default variables before passing control to the next node in the graph.Responsibilities
- Receive the initial user message and any attached files
- Initialize the
WorkflowContextwith global variables - Set up conversation history for downstream AI Agent nodes
- Trigger the first edge in the execution graph
Configuration
| Parameter | Type | Description |
|---|---|---|
variables | array | List of workflow-level variables to initialize at the start of execution |
variables[].name | string | Variable name, referenced by downstream nodes as {{variable_name}} |
variables[].type | string | Data type: string, number, boolean, array, object |
variables[].default | any | Default value if not provided by the caller |
Output
The Start Node writes the following to the workflow context:| Key | Description |
|---|---|
user_message | The initial user message text |
files | Array of uploaded file references (if any) |
variables | Initialized variable map |
Every workflow must have exactly one Start Node. The visual editor enforces this constraint automatically.
End Node
The End Node is the terminal point of a workflow. It collects the final outputs from the workflow context and delivers the response to the user. Once the End Node executes, the workflow transitions to theworkflow_finished state.
Responsibilities
- Collect final output variables from the workflow context
- Format the response for delivery
- Emit the
workflow_finishedSSE event - Close the execution session
Configuration
| Parameter | Type | Description |
|---|---|---|
outputs | array | List of output mappings to include in the final response |
outputs[].name | string | Key name for the output |
outputs[].source | string | Variable reference or expression to resolve the value |
Behavior
- If no
outputsare configured, the End Node returns the last written value in the workflow context - Multiple End Nodes are allowed for workflows with branching paths — whichever branch completes first triggers the response
Question Node
The Question Node pauses the workflow and prompts the user for additional input. This is essential for multi-turn workflows where the agent needs clarification, confirmation, or additional information before proceeding.How It Works
Configuration
| Parameter | Type | Default | Description |
|---|---|---|---|
question_text | string | — | The prompt displayed to the user |
variable_name | string | — | Context variable to store the user’s response |
options | string[] | [] | Optional list of predefined choices |
required | boolean | true | Whether the user must provide a response to continue |
Output
The user’s response is stored in the workflow context under the configuredvariable_name, making it available to all downstream nodes via {{variable_name}}.
Example: Multi-Turn Workflow
A workflow that gathers requirements before generating a response:- Start Node receives the initial request.
- First Question Node asks the user to specify a topic.
- Second Question Node asks for the desired level of detail.
- AI Agent Node generates a response using both answers as context.
- End Node delivers the final output.
Best Practices
Initialize variables in the Start Node
Initialize variables in the Start Node
Define all workflow-level variables with sensible defaults in the Start Node. This makes the workflow self-documenting and prevents downstream nodes from encountering undefined references.
Use Question Nodes sparingly
Use Question Nodes sparingly
Each Question Node adds a round-trip pause. Combine related questions into a single Form Node when you need to collect multiple pieces of information at once.
Always have a reachable End Node
Always have a reachable End Node
Every branch in your workflow graph should eventually reach an End Node. Unreachable End Nodes or dead-end branches will cause the workflow to hang.