This would be extremely helpful to put complex logic with lots of IF statements into a few lines of code instead of a really complex collection of flow functions with lots of connectors.
It’s a better idea to keep concerns separated if you can. Maybe have a custom JS node which runs your IF logic and outputs whatever you need to cache conditionally, then feed that as an input to a single Cache flow function.
Thanks! I would agree if looping would not be so clunky in flow functions…I am always working with arrays I need to go through one by one…