Hi there, I spent a bit of time researching this usecase for a similar project.
I've found the best / reliable way to do this is either with an Excel Online table or a simple JSON array.
If you use the Excel online, you create a table w/ a column for ALL possible answers,
you (sadly) still need to output each response value to the specific column in Excel via the 'Create row' action.
The same with a JSON array, you map all values with key, but make sure to allow null values (!).
Both methods need you to map out all the possible answers once, and the result will be
a tablerow or JSON array that holds values (for all the answered questions) or empty/null/blank values for skipped answers.
Now comes the fun part, you can now loop through the row (for each cell in tablerow) or the array (for each value in array)
with the condition is not empty (or null or blank) and then append the non-empty key + value to an object or array in your flow.
This will result in your object/array holding all the filled in answers from the initial response, which you can then use for other automation purposes.
PS: I use this logic to generate an Adaptive Card where the HTML body is generated based on the amount of key-value pairs I have. Works great.