Skip to main content

String Variable

This node stores and manages text string values with persistent state.

The String Variable node provides persistent string state storage with get/set operations.

The String Variable node stores text values that persist across application state changes. It provides a central way to manage text data, messages, user inputs, and any string-based information in your application.

Inputs

Value Management

DataDescription
ValueString value to store

Actions

SignalDescription
SetSets the variable to the current input value

Outputs

Current State

DataDescription
ValueCurrent string value stored in the variable

Events

SignalDescription
ChangedTriggered when the variable value changes

Usage

String State Management

String Variables are essential for:

  • User Input: Store form data and text input
  • Messages: Manage status messages and notifications
  • Configuration: Store text-based settings and options
  • Data Storage: Temporary storage of string data

Example Use Cases

  1. Form Data: Store user input temporarily before submission
  2. Status Messages: Display dynamic status and error messages
  3. User Preferences: Store text settings like themes, language
  4. Search Terms: Remember search queries and filters
  5. Dynamic Content: Store generated or fetched text content