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
| Data | Description |
|---|---|
| Value | String value to store |
Actions
| Signal | Description |
|---|---|
| Set | Sets the variable to the current input value |
Outputs
Current State
| Data | Description |
|---|---|
| Value | Current string value stored in the variable |
Events
| Signal | Description |
|---|---|
| Changed | Triggered 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
- Form Data: Store user input temporarily before submission
- Status Messages: Display dynamic status and error messages
- User Preferences: Store text settings like themes, language
- Search Terms: Remember search queries and filters
- Dynamic Content: Store generated or fetched text content