Code
Last updated
Was this helpful?
Last updated
Was this helpful?
The Code
node is used to perform more complex manipulations in the received data and return back the result.
Source: (optional) Receives 0 or more parameters of type Object
, String
, Number
or Boolean
. The number of input parameters depends on the number of parameters variables in the code which are denoted as ${...}
. Learn more on .
Out: Returns an Object
, String
, Number
or Boolean
depending on the result of the executed code. The code snippet emulates a Javascript module and supports various module.exports syntax. Learn more on .
The EXPORTED
variable can be returned with any of the following:
exports = EXPORTED
module.exports = EXPORTED
EXPORTED
Call an external API parse and process the response.
Request (Get) ➡ Webhook ➡ Script ➡ Response (200)
Return a random number.
Request (Get) ➡ Script ➡ Response (200)