You can use a text box which allows input and save that to a global variable set to text.
You can save that using the save and load system commands or using local storage.
Look in the tutorial section for text box and local storage and save and load commands.