Best way to deal with multiple types of hit in Blueprint

Currently I’m making a 3D RPG style game that there are multiple kinds of stuff that player can interact with.

I used the simple on hit event to trigger the reaction of player according to the class of the other actor.
The blueprint I used for it is like this one :

However, when I tried to implement something like a switch in C++ programming, the BP becomes a mess.

What is the best way should I used for this kind of scenario?

Learn and use (blueprint) Interfaces and use a function call Like interact which is implemented in your interactable actors. Others was ist make every interactable actors to have the Same Patent and add an interact Event/function in the Parent and overwrite Thema in the cildren