DRAGOPS
DRAGOPS
DocumentationNode libraryLiterals

Literals

Constant value nodes for strings, numbers, booleans, objects, arrays, and more.

Literal nodes produce constant values that you wire into other nodes as inputs. They are the simplest nodes in the library — each one outputs a single typed value configured in the Inspector Panel.

All literal nodes are pure (blue header, no execution pins). The engine evaluates them inline whenever a downstream node reads their output.


String

A text literal value.

PinDirectionTypeDescription
ValueOutputStringThe configured text value

Properties:

  • Value — the string content.

Pure. Use String to provide static text like API paths, header values, or log messages.


Float

A floating-point literal value.

PinDirectionTypeDescription
ValueOutputFloatThe configured decimal number

Properties:

  • Value — the floating-point number (default: 0).

Pure. Use Float for decimal constants like timeout durations, thresholds, or multipliers.


Integer

An integer literal value.

PinDirectionTypeDescription
ValueOutputIntegerThe configured whole number

Properties:

  • Value — the integer (default: 0).

Pure. Use Integer for whole number constants like port numbers, retry counts, or page sizes.


Boolean

A true/false literal value.

PinDirectionTypeDescription
ValueOutputBooleanThe configured boolean

Properties:

  • Value — true or false (default: true).

Pure. Use Boolean for flags and static conditions.


Null

A null literal value.

PinDirectionTypeDescription
ValueOutputNullAlways null

Pure. Use Null when you need to explicitly pass a null value — clearing a variable, resetting state, or providing a default.


Array

An array literal with configurable contents.

PinDirectionTypeDescription
ValueOutputArrayThe configured array

Properties:

  • Values (JSON) — the array contents as a JSON string (default: []).

Pure. Use Array for static lists like allowed IP ranges, expected status codes, or field name lists.


Object

An object literal with key-value pairs.

PinDirectionTypeDescription
ValueOutputObjectThe configured object

Properties:

  • JSON — the object contents as a JSON string (default: {}).

Pure. Use Object for static payloads like default headers, configuration maps, or template data.


DateTime

A date/time literal in ISO 8601 format.

PinDirectionTypeDescription
ValueOutputDateTimeThe configured date/time

Properties:

  • ISO 8601 — the date/time string (e.g., 2026-01-15T00:00:00.000Z).

Pure. Use DateTime for fixed timestamps like cutoff dates, policy effective dates, or epoch boundaries.


  • Variables — read and write dynamic values during execution
  • Type Conversion — convert literal values between types
  • Comparison — compare literal values to other data

On this page