It is part of Rule Machine
Official video: https://www.youtube.com/watch?v=0de58PimLUU&t=106
I just watched part of this, it is pretty good and will show you exactly how to do the if/else.
You may also be interested in this app which can do it for you among other things.
2 Likes