When setting a variable or a dynamic content, there should be the possibility to use a predefined null/blank value for that field, so that errors are not possible in using the wrong type. MS Flow should propose in its values the right one (like for a date in Sharepoint or a text field), just to be selected in case.