If / Then
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
The If / Then
node checks a condition and proceeds with the "Then" port if it's true or the "Else" port if it's false. It supports ===, ==, !==, !=, >=, >, <= and < operators and the typeof and not typeof functions. Also, any of the two parameters or both can be set to a constant value.
Param 1: (optional) Receives an Object
, String
, Number
or Boolean
to check against the condition. This value is optional if the parameter is set to a constant value.
Param 1: (optional) Receives an Object
, String
, Number
or Boolean
to check against the condition. This value is optional if the parameter is set to a constant value.
Then: Triggers if the condition is true.
Else: Triggers if the condition is false.
Return a static response based on the input.
Request (Get) ➡ If / Then ➡ Response (200)