Re: Get sharepoint item attachment and save to folder
SharePoint List item attachments are stored in the Attachments folder:
.../Lists/<ListName>/Attachments/[ID]/filename.xxx
where [ID] is the SharePoint item ID
Example:

Site: name: ContractsRepo
List name: Contracts Library
List Item ID: 52
Attachment name: Diskeeper Dashboard Summary Report.pdf
https://tenancyname.sharepoint.com/sites/ContractsRepo/Lists/Contracts%20Library/Attachments/52/Diskeeper Dashboard Summary Report.pdf
To get all attachments for a SharePoint List item, your flow will resemble something similar to below. The attachment(s) is stored in an array and sent in an Approval:

{
"name": @{outputs('Get_file_metadata')?['body/DisplayName']},
"content": {
"$content-type": @{body('Get_attachment_content')['body']['$content-type']},
"$content": @{body('Get_attachment_content')['body']['$content']}
}
}


To save the attachments to a SharePoint document library, the varAttachment arrary needs the following format:

Use a loop to save each attachment to a document library:

Hope this helps.
Ellis