Hello
When copying a document (docx) from one library to another in SharePoint online with Flow:
If a file with a similar name exists, is it possible to add the copy as a new version of the file in the destination library?
I tried using the action 'Copy File' but the possible options 'copy with new name' or 'replace' do not deliver what I want.
I tried retrieving the SharePoint file content and sending an http request to Sharepoint:
_api/Web/getfolderbyserverrelativeurl('LIBRARY1')/files/add(overwrite=true,url='PATHTOFILE')
body of request = File Content
This does create a new version, but the word document becomes corrupt/unreadable.
Thanks