I am trying to upload a SharePoint pdf file in salesforce via Power Automate desktop flow.
Steps I followed-
1. I used Get file content SharePoint action to read a file.
2. Compose action- In the "Inputs" field of the Compose action, I entered base64(body('Get_file_content'))
3. Create record salesforce action- used the base64 content in the "Create a file" action in Salesforce.
File is getting created in Salesforce but it's not readable. Showing 'No preview available'


Need your valuable inputs.