here are the steps:
HTTP Action: Retrieve the file from the API.
Compose Action: Decode Base64 to binary using -base64ToBinary(outputs('HTTP')?['body']['$content'])
Create File Action (SharePoint):File Name: Extracted or static filename. File Content: Output from the Compose
action.
let me know if you need mor details.