Blueprint with K2Node with Template object


I would like to be able to have the Bluerpint system recognize my own custom template type, kinda like how TSubclassOf can be recognizable when you pass UObject related as the typename.

How can I go about this? I am not asking someone to do it, just a guidance of what I should do and what steps I should go about doing it.