Conversion Nodes
> Convert strings to numbers, numbers to strings, and transform data between formats.
Type conversion nodes
These nodes convert a value from one type to another.
| Node | From | To | Notes | |------|------|----|-------| | String to Number | String | Number | Parses integer values | | String to Float | String | Number | Parses decimal values | | Number to String | Number | String | | | Float to String | Number | String | | | Boolean to String | Boolean | String | Returns "true" or "false" | | Boolean to Number | Boolean | Number | Returns 1 or 0 | | Enum to String | Enum | String | Converts an enum value to its string label | | Number to Float | Number | Number | Converts integer to floating point |
Each node has a single input and a single output of the respective types.
Round
The Round node rounds a number to the nearest integer.
| Input | Type | Description | |-------|------|-------------| | value | Number | The number to round |
| Output | Type | Description | |--------|------|-------------| | result | Number | Rounded value |
Data Transformer
The Data Transformer node converts data between structured formats like JSON, XML, CSV, and YAML.
| Input | Type | Description | |-------|------|-------------| | data | Any | The data to transform | | inputFormat | Enum | Source format: json, xml, csv, yaml | | outputFormat | Enum | Target format: json, xml, csv, yaml | | rootElement | String | Root element name for XML output | | csvDelimiter | String | Delimiter for CSV (default: ,) |
| Output | Type | Description | |--------|------|-------------| | result | Any | Transformed data in the target format |
Example: CSV to JSON
1. Add a Data Transformer node. 2. Set inputFormat to csv and outputFormat to json. 3. Pass CSV text into the data input. 4. The output is a JSON array of objects.
Encoding nodes
These nodes encode and decode data for use in URLs and data transfer.
Base64 Encode / Decode
| Node | Input | Output | Notes | |------|-------|--------|-------| | Base64 Encode | Any value | Encoded string | Optional urlSafe toggle for URL-safe encoding | | Base64 Decode | Encoded string | Decoded value | Also outputs valid (boolean) |
URL Encode / Decode
| Node | Input | Output | Notes | |------|-------|--------|-------| | URL Encode | String | Encoded string | Optional encodeComponent toggle | | URL Decode | Encoded string | Decoded string | |
What's next?
| Topic | Description | |-------|-------------| | String Nodes | String manipulation | | Math Nodes | Number operations | | Date & Time Nodes | Date formatting and calculations |