Skip to main content

String

A String variable holds text. The default-value text you type into the Variables panel is used as-is — no manual quoting needed, since it's automatically wrapped in quotes (and any special characters safely escaped) when the code is generated.

Compiles to

let greeting = "Hello, world!";

Typing Hello, world! into the default-value field is enough — quotes, escaping, and all other JSON-string formatting happen for you at compile time.

Get Variable / Set Variable

A Get greeting node reads it back; a Set greeting node assigns a new value and continues:

Get Variable

Set Variable

The Set node's "Value" pin shows plain, unquoted text too — the quoting is applied the same way whether the text comes from the default-value field or from an unwired literal on the pin.

Use case

  • Default text: A greeting message, an API key placeholder, or any other piece of template text you want to read from and update in place, without retyping it inline every time it's needed.