Variable Inspector
The Variable Inspector is a panel located at the bottom of the workflow editor. It captures the input and output data of each node after execution, helping developers quickly identify issues and verify data flow throughout the workflow.
Why It Matters
Variables act as key connectors between nodes and enable dynamic flow control. In workflow applications, variables store user input as well as outputs from each node — such as LLM responses, tool results, conversation context, and environment parameters.
The Variable Inspector automatically caches each node’s input parameters and output results after execution. It provides the following key features:
- Real-time variable monitoring: Captures and displays all variables right after a node runs, including workflow inputs and outputs.
- Edit cached variables: Lets you manually change most variable types without re-running upstream nodes — ideal for testing different scenarios.
- Abnormal data tracking: Displays the actual value and type of each variable, making it easier to identify format issues, missing fields, or type mismatches.
- Global state management: Displays all variables in a single panel, including system variables, environment variables, and custom-defined node variables.
With the Variable Inspector, you can easily view and edit the latest output variables from any node to see how changes affect downstream nodes.
How to Use
The Variable Inspector is located at the bottom of the canvas and updates in real time as the workflow runs.
After a node runs, its output variables show up in the panel so you can quickly inspect or edit them.
The following is an example of how to use the Variable Inspector in an “external database query” application. In this workflow, an LLM node receives natural language input, translates it into SQL, sends the query to a remote database, and retrieves the data.
Click here to download the DSL workflow file.
Viewing
Once a node is executed, its output variables automatically appear in the Variable Inspector. Click a variable to view its detailed content.
Editing
Click a variable’s value to edit it. The updated value will be used by downstream nodes during the next run.
Editing variable values here does not affect the cached data in the node’s “Last run” record.
Example:
Default Result
The user inputs “Show all user data,” and the LLM node generates SELECT * FROM users;
. The database correctly returns all data.
After Editing the Variable
The user manually modifies the SQL in the Variable Inspector to SELECT username FROM users;
and re-runs only the database node. The system returns a list of usernames.
This allows the user to test new data by re-running only the downstream database node without restarting the entire workflow.
Revert
Click the revert icon at the top-right of the variable edit field to restore the variable to its original value.
Reset All Variables
Click Reset all in the top-left corner to clear every cached variable at once.