Trigger on condition

Hi Guys,
I have function node returning msg, either 2 or 5.
I just need to trigger some function if msg=2 not on any other msg.

Thanks !!

Welcome to the forum!

The switch node will do what you want.

Thanks for reply, Yes got it.