executejavascript - Execute Javascript Code

Version: 1.0.0
Credits: 5

Execute JavaScript code in a sandbox on our server. The following npm packages can be used: momentjs, cheerio, handlebars, ... (see https://1001fx.com for full list). Exceptions will be caught and returned. Strict is forced and imports are not allowed.

code
Type
string
Required
required
Code to be executed. Has to be valid javascript code. Store result in a variable and just write the variable in a single line at the end to return the value.
Example:
const a = 2; const b = 3;return a * b;

Available on

Postman
Make
Zapier
Swagger
N8N
Airtable
SeaTable
Bubble
Power Automate
Workato
SAP Build