Widgets/Storage
Text Widget
Text Widget
A "Storage" type widget. Text Widget allows you to set a text value and optionally dispatch it to the next widget in your workflow. It provides both the stored text and its character count as outputs.
Inputs
- setText (DataType: String) Sets the internal text value to the provided string.
- trigger (DataType: Anything) (Only available if auto-dispatch is disabled) Triggers the widget to output the current text and its length.
Outputs
- string (DataType: String) Transmits the current text value.
- length (DataType: Number) Transmits the length of the current text value.
Custom Settings
- Trigger next widget on 'set value': If enabled, the widget will automatically dispatch the text to the next widget whenever it is set. If disabled, you must use the
triggerinput to dispatch the text.

Examples
Display Text Length
This example demonstrates how to use the length output to display the number of characters in a given text.
Drag the example onto the workspace to explore and experiment!
In this example
- The Text widget is used to hold a string ("Display the length of this text")
- The Button widget triggers the Text widget
- The Text widget outputs the length of its text (not the text itself) to the Display widget
- The Display widget shows the length of the text (in this case, 31)
Dynamic Message Display
This example demonstrates how to use Text Widgets to display different messages based on a condition.
Drag the example onto the workspace to explore and experiment!
In this example
- The Slider widget is used to select a number (0-50)
- The Conditional widget checks if the selected number equals 50 (the lucky number)
- Based on the condition:
- If correct (then): The Text widget displays "You guessed the lucky number – you win!"
- If incorrect (else): The Text widget displays "Not the lucky number. Try again!"
- The final Text widget shows the appropriate message based on the condition
📌 Additional Notes
- Only string values are accepted for the
setTextinput - The widget maintains state between workflow runs unless explicitly reset
- The length calculation includes all characters including spaces and special characters
Glossary
-
Dispatch
The process of automatically sending data from one widget to the next widget in a workflow without requiring manual triggering.
-
Workflow
A series of connected widgets that work together to process data and perform specific tasks in a defined sequence.