DRAGOPS
DRAGOPS
DocumentationNode libraryVariables

Variables

Nodes for reading, writing, and manipulating pattern variables, secrets, and environment values.

Variable nodes let you store, retrieve, and modify data during pattern execution. Variables persist for the lifetime of a single execution run. For values that persist across runs, use workspace secrets.

This category contains a mix of pure nodes (Get Variable, Get Environment, Get Secret) and impure nodes (Set Variable, Increment Variable, Append to Array, Append to String).


Get Variable

Read a variable by name. Returns the current value stored under that name.

PinDirectionTypeDescription
NameInputStringThe variable name to read
ValueOutputAnyThe stored value

Pure. Use Get Variable to access data set earlier in the execution flow — counters, intermediate results, or accumulated lists.


Set Variable

Write a value to a named variable.

PinDirectionTypeDescription
ExecInputExecTriggers the write
NameInputStringThe variable name to write
ValueInputAnyThe value to store
ExecOutputExecContinues after the write

Impure. Use Set Variable to save intermediate results, counters, or state that other nodes need later.


Increment Variable

Add a numeric amount to an existing variable.

PinDirectionTypeDescription
ExecInputExecTriggers the increment
NameInputStringThe variable name to increment
AmountInputFloatValue to add (default: 1)
ExecOutputExecContinues after the increment
New ValueOutputFloatThe variable's value after incrementing

Impure. Use Increment Variable for counters — tracking processed items, failed attempts, or API call counts.


Append to Array

Push an item onto the end of an array variable.

PinDirectionTypeDescription
ExecInputExecTriggers the append
NameInputStringThe array variable name
ItemInputAnyThe item to append
ExecOutputExecContinues after the append

Impure. Use Append to Array to build up a list during a loop — collecting results, errors, or matched items.


Append to String

Concatenate text onto the end of a string variable.

PinDirectionTypeDescription
ExecInputExecTriggers the append
NameInputStringThe string variable name
TextInputStringThe text to concatenate
ExecOutputExecContinues after the append

Impure. Use Append to String to build up log messages, report content, or formatted output incrementally.


Get Environment

Read an environment variable by name.

PinDirectionTypeDescription
NameInputStringThe environment variable name
ValueOutputStringThe environment variable value

Pure. Use Get Environment to read deployment-specific configuration like API base URLs or feature flags.


Get Secret

Retrieve a workspace secret by name. Secrets are scoped to the current environment and can be either plain text strings or key-value maps.

PinDirectionTypeDescription
Secret NameInputStringThe secret path to retrieve
ValueOutputAnyThe secret value (string or object)

Pure. Use Get Secret to access API keys, tokens, and credentials stored in the workspace secrets manager.


  • Literals — provide constant values as inputs
  • Flow Control — use variables with Branch, For Each, and other control nodes
  • String — manipulate string variable values

On this page