Boolean to string

Type conversion Pure
Boolean to string
Value false
Result

Description

Pure function returning "true" or "false" for the given boolean.

When to use

Use Boolean to string when you need to include a boolean value in a text context — for example, when building a log message, a JSON payload string, or an email body. The output is always lowercase (“true” or “false”). If you need a different representation such as “Yes”/“No”, use Branch with two literal string branches instead.

Pins

Input pins

Pin Type Default Notes
Value boolean false The boolean to convert.

Output pins

Pin Type Notes
Result string The string "true" if value is true; "false" otherwise. Always lowercase.

Example

Include a flag value in a status report email. Wire the boolean flag into the Value input of Boolean to string, then pass the Result output into the Text 2 input of Concatenate strings with Text 1 set to "Active: ". Feed the combined Result output into the Text body input of Send email so the email body reads “Active: true” or “Active: false”.

See also