Script Generator

This tool generates Javascript code and a snippet using the script connector. You can paste the generated snippet directly in the builder. This can be handy when you have several variables and you need a Javascript function to perform a job usign them.

For every variable, you need to define the name of the variable, its value and its datatype.

You can add as many variables you want by clicking 'Add More..' button.

Finally, provide some context on what you want the funtion to do and click 'Generate code'


You will also see the output generated by the code. You can copy the snippet if it gives you the desired result. You can tweak the prompt otherwise.