I am working with Rules to set a node's body. Based on the data selector, the node body requires a text_formatted type as input.
Currently, my custom event only provides a plain 'text' Rules data type. Is there a way I can programmatically convert the plain text to text_formatted? And when and where should it happen?