Integration-Make - Execute JavaScript in Workflows-complex-js

Complex JavaScript Code & Inline Functions

Since we wrap your JavaScript code with an async expression, we recommend always defining return statements and ending inline functions with a semicolon.

Input-Field

{ }

JS-Code-Field

function fullName(firstName, lastName){ return `${firstName} ${lastName}`};
return fullName("John", "Doe");

Output-Field

{ output: "John Doe" }



With this help you ensure that your code runs smoothly and efficiently, especially when working with complex javscript function calls in Make.com.

Increase your flexibility in data processing by retrieving the values of input fields directly via the JavaScript variable "input" or by creating JSON objects for complex scenarios, as described in our guide on the example page for
JSON Parameter

Make Custom JavaScript UUID Example
Make Custom JavaScript UUID Example