Pass variable into HTML snippet elements

Hi, I want to pass a string thats been built dynamically in the microflow into the external HTML file thats been added into HTML snippet widget. How can this be achieved , please do let me know. Thanks.
1 answers

Store this string in a non persistent entity that you load as a context for the JavaScript snippet widget

This widget has the added advantage to work with variables as opposed to the HTML snippet.