cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Flow to Save As Excel File on SharePoint to Folder

Hi,

 

Is there any way I am able to automatically save a copy of an existing Excel file in a Sharepoint folder every week to another SharePoint Folder to keep as an archive?

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Anonymous
Not applicable

Re: Flow to Save As Excel File on SharePoint to Folder

Thanks @vecerpa

It's because we wouldn't want to sort through all the edit histories and want the spreadsheet from a specific point in time to look back. I tried what you mentioned (SharePoint get file content and Sharepoint create file) but the file content converted to something else than an Excel file and could not open.

 

I then tried Get file metadata then Copy file and it worked but the display name stays the same so it doesn't save more than once due to the same file name.

Would you happen to know if, once the file is saved, it can be renamed with the current month or date?

 

Thank you again

View solution in original post

3 REPLIES 3
Highlighted
Power Participant
Power Participant

Re: Flow to Save As Excel File on SharePoint to Folder

Hi @Anonymous,

Yes it is possible.

I'm just thinking why you would need to do such a thing. As SharePoint is document management storage system, there is on background automatically kept all history of changes on documents stored there. And also all files when they are deleted from SharePoint document library are kept in SharePoint site bin for some amount of days untill fully deleted.

 

 

But yes if you would like to mirror what is SharePoint doing in nature, you can create Flow that will take all items inside SharePoint document library each week for example and create copy of such file (content of file) in another library or Folder.

Actions are SharePoint get file content and Sharepoint create file.

If you want to list all items in library there is also action named SharePoint get files.

P.

Highlighted
Anonymous
Not applicable

Re: Flow to Save As Excel File on SharePoint to Folder

Thanks @vecerpa

It's because we wouldn't want to sort through all the edit histories and want the spreadsheet from a specific point in time to look back. I tried what you mentioned (SharePoint get file content and Sharepoint create file) but the file content converted to something else than an Excel file and could not open.

 

I then tried Get file metadata then Copy file and it worked but the display name stays the same so it doesn't save more than once due to the same file name.

Would you happen to know if, once the file is saved, it can be renamed with the current month or date?

 

Thank you again

View solution in original post

Highlighted
Anonymous
Not applicable

Re: Flow to Save As Excel File on SharePoint to Folder

I answered my second question (rename as date and year) in a different post! Thank you

 

https://powerusers.microsoft.com/t5/Building-Flows/Rename-SharePoint-File-that-was-Copied-to-another...

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (4,436)