The "Convert" Node
Converts data from one type to another.
Convert
- Output
- To
- Input
Inputs
- To − Which type to convert to.
- Text − Converts numbers and booleans like a printout (e.g. "1.2" or "true"). List items are conjoined with a comma.
- Number − Tries to convert text into numbers, returns undefined when that fails.
trueconverts to 1 andfalseto 0. Tries summing up all items in a list. - Boolean − Only returns
falsefor an empty text or the number 0 or when all items of a list would convert tofalse, otherwise true. - List − Returns a list with the first item being the
Input, except when theInputalready is a list.
- Input − The data to convert.
Outputs
- Index − The converted data or
undefinedwhen conversion fails.

