Hi,
I did try and search but didn't find anything to really help with my query. I've got a Flow that can have multiple attachments submitted via a Form .xlsx, .docx etc (Airwolf Inc is a fictional company FYI):

I have this array variable:

to loop through and grab those files and then attach them to a Planner Task. All works wonderfully except they are all showing as Word documents on the Task from the "Word" specified type in the variable:

When you click them they open in their correct programs docx in Word, xlxs in Excel etc. Could anyone help me get the "type" in the variable to be the type of the file so that they have the correct icons in the Planner Task or is that just not possible please?
I'm not sure if this is relevant but the files don't show with an extension in the Task either in the current form and I suspect that is due to the renaming operation I have previous to this step:

Removing the renaming Step left me with one with the correct extension and the other (an .xlsx file) without one completely so I think I can safely assume that it's not down to the renaming Step but the type being specified in the array variable:

I'm thinking I need to "loop through the attachments and get the type of file and save that into another variable to call it through" but have no idea how I would start to do that.
Any help greatly appreciated and happy to provide more details or screenshots of my Flow if needed.