The JavaScript Code node is able to execute arbitrary, pure javascript code and provide its results to the next nodes.
Currently this node does not accept any library imports and/or calls.
It’s important to say that you can also interpolate data from previous nodes in the JavaScript Code node by using the following notation:
Output Schema
The output schema defines the properties that will be available to the next nodes.
The result field will be whatever type you put in your return statement.In the example above, the result is of type string.