Hi,
I'm sure I am missing something simple. I have set up an automation that identifies a regular email that I receive with data in an xlsx format file. This then saves the attachment to the correct folder I have set up. However, when I try to open this file it produces the following error:
"This workbook couldn't be opened because the file format may not be matching with the file extension."
This also means that other sheets that feed from this file are not being updated.
My flow is

when a new mail arrives with "XYZ" in the subject, for each attachment, create file in "123" library with file name
"name": "@item()?['name']",
"body": "@item()?['contentBytes']"
I've tried different "content" related options for content but none seem to be able to resolve the issue.