Inventory system referencing actors

Good evening,
I am trying to create inventory system. I decided to use staticMeshActor Blueprint for my purpose. My problem is next:
I have a bp of an object i want to pick up. This bp should reference the staticMeshActor blueprint, that i can tranfer to my character and attach it to socket, can’t figure out how can i do that, can’t find a way to spawn an object with the text/string either.

I am looking for solution in converting text to actor.
Any suggestions?

Nevermind, I found a solution through the structures. Will just check the name at the start and output the class when needed.