web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to upload a file f...
Power Automate
Unanswered

How to upload a file from local desktop to sharepoint document library using power automate?

(0) ShareShare
ReportReport
Posted on by 156

Hello,

I have a flow that creates a file (PDF) and then that file is saved in my local desktop. But I want to upload that created file in the SharePoint Document library.

How to do that? Please Help.

 

Thank you in advance.

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @jay_mangukia ,

     

    You could use the file system connector to get the file content saved in you local desktop.

     

    I think these links will help you a lot:

    https://www.youtube.com/watch?v=0tslWv9LU1M

    https://www.bigmountainanalytics.com/combatting-file-system-frustration-in-power-automate/

     

    Best Regards,

    Bof

     

  • jay_mangukia Profile Picture
    156 on at

    Dear @v-bofeng-msft 

    This is a sample of my flow where I create a file.


    ndc.png

     

    Is there any way possible that I can directly create the file in SharePoint Document Library rather than creating in desktop or onedrive?

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @jay_mangukia ,

     

    Please try this action instead.

    vbofengmsft_0-1712308557085.png

     

    Best Regards,

    Bof

  • jay_mangukia Profile Picture
    156 on at

    @v-bofeng-msft 

    This worked but I want to clarify one thing here first I am creating an HTML file and then converting that file into PDF File. Using create file (which you showed above) I am only able to create the HTML File but not able to convert that file to PDF.

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @jay_mangukia ,

     

    It's necessary. If you don't need that HTML file, consider adding a 'delete file' operation at the end of the flow to remove it.

     

    Best Regards,

    Bof

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard