Announcements
Hi all,
I have a requirement where I need to create zip file from a base64string returned from an external api and upload to SharePoint. I am using Power Automate. Is there a way to do the same?
Hey @SShivi
You can use Power Automate Desktop for this.
Power Automate Desktop has option to convert base64 file to text. Then you can zip the file and save it to sharepoint.
And then save it in sharepoint.
With Power Automate Cloud Flow its a little difficult, but you can give it a try:
First get the file and save it like this :
{"$content-type": "application/pdf","$content": base64returnedfromAPI}
Follow the below links how to do that in cloud flow:
https://www.tachytelic.net/2021/07/power-automate-create-zip-file/
https://powerusers.microsoft.com/t5/General-Power-Automate/How-to-convert-base64-file-into-docx-pdf-file/td-p/912759
I hope this helps 🙂
@Sundeep_Malik ,
Thank you so much for the suggestion. I passed the file content in the format that you mentioned, making a small change as below and it worked.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 493 Most Valuable Professional
11manish 479
Haque 328