C++ Set a value from a UEdGraphNode

Hi everyone! I’m trying to create a blueprint node that returns a string. I need to use CreatePin function and I would like to be able to give that string a value from the node itself. Some type of “MakeLiteralString” blueprint node. How can I achieve this?