Browser: Run JavaScript

Executes javascript and return the results (if any).

Help Centre › Building Processes

Executes javascript and return the results (if any).

Add it to a process

In the process designer, open the Add step tab. Find Run JavaScript under Browser › Advanced, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
Javascript to be executedYesJavaScript code to execute in the browser (use 'return' to capture a result)
VariableYesName of the variable where the result will be stored Default: data.

See all Browser steps.

Errors

ErrorDescription
Script errorThe JavaScript code contains an error.
TimeoutThe script did not complete within the timeout period.

Tips

  • Return a value using 'return' in your script to capture results.
  • Use this for advanced operations not available through standard actions.

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.