How do I create custom "Add Pin" in my Blueprint Nodes

I want to create an advanced branch node macro in UE Blueprints using blueprint, somewhat like this below
I got this image this post → Advanced Branch (if, else if, else) - UE4 AnswerHub (
But did not get any solution.

How am I supposed to do that ?
Should I use c++/blueprint to do that ?
How should I implement this feature to generate input and output pins?

I just want to know how to make the add pin come up on the node and make it work and generate input bool and output execution pin when pressed. rest all ig I can manage.

I have seen some people suggesting to use switch node for if, else if and else but I feel it is some what complex.