I was trying to dynamically set a SharePoint list item ID to a variable but the variable was not displaying in the Dynamic Content menu.
The solution was to use an expression to set the value, save the flow, exit the edit screen, then re-enter the edit screen.
variables('varRefID')