The IfElse Function node is a utility component that allows for conditional branching in workflows based on custom JavaScript functions. It evaluates an “If” condition and routes the flow accordingly, executing either the “If” or “Else” function.
The IfElse Function node evaluates the provided “If” function. If it returns true, the node outputs the result through the “True” output. Otherwise, it executes the “Else” function and outputs the result through the “False” output.
Executes user-defined code in a sandboxed environment
Configurable limitations on available dependencies and built-in modules
This node provides a powerful way to implement custom logic and conditional branching within agentic solutions, allowing for complex decision-making processes based on runtime data and conditions.