NodesData
Variable Create
Slot Usage: 0
| Child Nodes |
|---|
| Variable Modify |
Overview
Variable Create defines and initializes a single scalar or structured variable.
The selected type controls which value input fields appear. At runtime, this variable can be modified by Variable Modify or referenced by other nodes.
Input
Type
string requiredBase variable type.
Supported types include:
stringnumberintegerbooleanobject{*}string_date-time- rectangle object
- contour array
- image (
string_base64image) - week time ranges
Alias
string advancedOptional variable identifier for API and cross-node references.
If empty, node ID is used as variable alias.
Type-Specific Value Fields
After selecting Type, corresponding value fields appear:
- String:
varString(supports Template Expressions), plus max-character policy. - Number/Integer: value field with optional valid min/max range for create-time clamping.
- Boolean:
varBool. - Object:
varObjectplus optional object JSON schema. - Datetime: either current datetime (
varDateTimeNow) or manual datetime value. - Rectangle:
x,y,width,height. - Contour: array of
[x,y]points. - Image: base64 image input.
- Week Time Ranges: per-day time range arrays.
Output
outValue
Variable value with type based on selected Type.
variableType
stringResolved type of this variable.
variableAlias
stringEffective alias used for references.