Set Node Parameters
The Set node (action_set, custom_modules__set) sets or modifies variables (constants) for later use in the scenario. Values can be static, from placeholders, or from mathematical expressions. In Node Inspector (right panel) configuration is set as a JSON object.
Format
- Key — variable name (e.g.,
param1,counter,client_name). - Value — text, placeholder, or expression:
- Text — string in quotes.
- Placeholder —
{{variable_name}}(value from previous nodes). - Mathematical expression — e.g.,
{{param1}}+2,{{count}}*10.
Examples
Static value:
{
"greeting": "Welcome!",
"max_retries": 3
}
With placeholder:
{
"client_name": "{{outputVariable}}",
"summary": "Client {{client_name}} selected category {{category}}"
}
Mathematical expression:
{
"counter": "{{counter}}+1",
"total": "{{price}}*{{quantity}}"
}
Placeholders
- Variables from Wait for Input, Message with Buttons, Slider nodes, etc. are supported.
- Syntax:
{{outputVariable}}or{{variable_name}}. - Variables set in Set are available in subsequent scenario nodes.
Tip: Set does not send messages to the client — it only changes the scenario execution context.
Related Documents
- Create scenario
- Use action in scenario
- Scenario editor overview
- Actions reference — Set — detailed description of
action_setandcustom_modules__set