Run javascript code in a sandbox
Ctrl+f
. You can write regular old Javascript in the black code input field with a couple of caveats:
Fetch
node instead. If you need to use external libraries, write these as cloud functions using an external service such as Google Cloud Console and call these with the API Node
.
Code
node is called inputData
. You can refer to this parameter by name in your code. You can add additional parameters using the Parameter Manager. For instance, to simply pass the input value through to the output, you can run:
inputData[1]
.
Alternatively, you can add multiple parameters using the parameter manager and access each of these within your js functions by referencing the parameter names.
inputData
parameter if you wish. It is not possible to remove all input parameters.
After adding a parameter it will appear on the left side of the node in alphabetical order.
Code
node to create and publish custom nodes written in React. See the guide on custom nodes for more information.