Record Result of Random Text Search in Database

Hi- I’m trying to use Custom States and Reusable Elements to save the result of a random search of one text field in the database. I want the text to be displayed to the user in the app (this is working fine) but I also want to use text that has been displayed in other workflows. Is Custom States the right approach?