Showing results for 
Search instead for 
Did you mean: 
New Member

Schedule Flow to copy file from local drive to OneDrive

Good Day All,


How can I schedule a flow which copy file from my 😧 to one drive.


Please guide me step by step as I am new to MS Flow

Thank You

Community Champion
Community Champion

Hi @sadath 


Just for me to understand what you need:

  1. You want a Power Automate that triggers regularly and copies a file to your OneDrive
  2. You want a Power Automate that triggers when a new file is added somewhere and copies to your OneDrive


If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.


Super User
Super User


Before you begin:

Connect to File Systems on your local or network machines to read from and write to files using the On-Premises Data Gateway.


Step 1: 

Create a Flow that Runs on schedule


Use the Trigger- Schedule - Recurrence.


Step 2: 

List files in folder

This operation gets the list of files and subfolders in a folder


Step 3:

Get file content

This operation gets the content of a file.


Step 4: Create a File in OneDrive


Create file

This operation creates a file.


You can use this article for your reference, for details see:


Instead of "SharePoint Create File" use the "OneDrive Create File" action. 


If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (2,999)