[CodeRouter] What I really need is a code block that has switch node functionality

Not going to go in depth here, I just need to be able to have code with multiple inputs and outputs, that’s all folks. And then be able to have the return statement route to the correct output.

As you are not going so deep I am not sure I fully understand what you are asking for. But one interpretation would be that what you are asking for is already possible with the LangChain Code node. It allows to add a dynamic number of inputs and outputs.

@dRAT3 did you check out the LangChain Code Node? Does it allow you to do what you requested?