The Convert to String block for Nodestly workflows converts a value into text form.
Use it when
Convert supported scalar and valid DateTime, Duration, or URL values into deterministic text.
Inputs and outputs
- Value —
any, required. - Text — output
text.
Controls
This object has no hidden settings; behavior is fully determined by connected input.
Rules
Null, text, booleans, finite numbers, DateTime, Duration, and valid URL values have explicit text forms. URL values may use http, https, mailto, ws, or wss; malformed values, embedded credentials, unsupported schemes, and metadata that does not match the valid URL stop the workflow. Lists and records are rejected instead of silently becoming [object Object]; use JSON Stringify for structured serialization.
Example
A valid DateTime becomes its UTC ISO text; {name:"Ada"} is rejected.
Failure behavior
Missing inputs, wrong connector values, unsafe records, unsupported values, cycles, unsupported modes, and size-limit violations stop the workflow and mark this block. Correct the highlighted connector or setting, then run again. Inputs are never changed.
Errors and recovery
When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.
Connector data types
The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | value — Value | any | yes |
| Output | result — Text | text | on success |
