Type | Variable Description | Variable Name and Description |
System Variable | Variables provided by the platform by default. They can be read in all modules of the application but cannot be edited by users. Named as SYS.XXX . | SYS.UserQuery: The content of the current user query. SYS.RewriteQuery: The rewritten query in multi-turn dialogue. SYS.ChatHistory: Conversation history (in workflows, the number of history rounds can be configured). SYS.CurrentTime: Current system time (format: YYYY-MM-DD HH:MM:SS, e.g. 2025-08-10 11:01:18). SYS.RequestId: Request ID of the dialogue (the request_id parameter in API calls). SYS.Memory: Long-term memory content (available only after enabling Long-Term Memory). |
Environment Variable | Environment variables are used to store sensitive data such as API keys and database passwords. They provide a special Secret data type, which supports encrypted storage and transmission, and is displayed as ***** on the page. Readable by all application modules, but editable only in "Variables & Memory". Named as ENV.XXX. | Usage example: ENV.LLMSecretKey, which stores the secretKey used to call a large language model. Can be used in workflows or as an Agent tool. |
API parameter | Represent variables passed into the system when calling the Agent Development Platform API via the customer_variable field. Readable by all application modules, but editable only in "Variables & Memory". Named as API.XXX . For call details, see: Dialog API Documentation (HTTP SSE), Dialog API Documentation (WebSocket). | Usage example: API.UserName, where the user name is passed in as an API parameter so the dialogue can address the user more personally. The preset API parameter API.VisitorBizld corresponds to VisitorId in the API documentation. It is used to pass the visitor ID, which should be unique and identifies the user in the current session. When Platform-side user permissions are enabled, this ID will be associated with the permissions. |
Application Variable | Variables that can be passed across modules within the application. For example, Workflow A assigns a value to an application variable, and Workflow B reads it. Readable and writable by all application modules, but editable only in "Variables & Memory". Named as APP.XXX . | Usage example: APP.Notes, where Workflow A collects user notes and assigns them to APP.Notes, and Workflow B retrieves the notes and generates a summary. |
Type | Variable Description | Variable Name and Description |
workflow variable | Variables passed within a workflow. For example, a variable is assigned in branch A and read in branch B. Defined in the workflow’s start node, can be read in all nodes of the workflow, and assigned only in "variable assignment nodes". Named as WF.XXX . | Usage example: WF.OrderList, where branch A organizes the user’s order data and assigns it to WF.OrderList, and branch B retrieves it to place an order. |
Node input variable | Variables representing the input of the current workflow node. Editable and usable only inside the node. | - |
Node output variable | Variables representing the output of the current workflow node. Written inside the node and can be read by subsequent nodes. | - |
Variable Name | User Isolation Required or Not | Session Isolation Required or Not | |
Application Level Variables | System Variable (except SYS.Memory) | Yes | Yes |
| SYS.Memory | Yes | No |
| Environment Variable | No | No |
| API parameter | Yes | No |
| Application Variable | Yes | No |
Workflow Level Variables | workflow variable | Yes | Yes |
| Node input variable | Yes | Yes |
| Node output variable | Yes | Yes |
Variable Name | Lifecycle | |
Application Level Variables | System Variable (except SYS.Memory) | Session scope |
| SYS.Memory | Permanent (retention depends on configured memory duration) |
| Environment Variable | Permanent |
| API parameter | Permanent |
| Application Variable | Session scope |
Workflow Level Variables | workflow variable | Session scope |
| Node input variable | Session scope |
| Node output variable | Session scope |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback