This block executes raw Javascript code (in NodeJS environment).

Function is often used for quick calculations, such as:

  • Mathematical expressions and formulas

  • Date and time

  • Units and conversions

  • String parsing and manipulation

  • Regular expressions (regex)

A JavaScript Tutorial can be found here.

Drag Function and drop it inside a workflow where a green field appears. Doing so makes it a part of the workflow.


  1. Type raw Javascript code into the Function block.

  2. Run the workflow to see the effect applied. The total execution time of the script is limited to 1 second.

If the limit is exceeded, the following error message is shown:

Script execution timed out after 1000ms

To disable the Function block without deleting it, use the slider on the left of its name.