
Announcements
I am working on creating a file sync flow that will use the HTTP request action to move the desired file, but will keep the source file. This allows for the version, created by, and modified information of the original file to be retained with the file when it is moved to the new location. I can get the file to move to the correct document library, but unfortunately I cannot figure out how to move the file to a specific folder in the document library. I have tried using the move file action after the HTTP request to place the document in the correct folder but that replaces the latest modified information for the file. Is there a way to tell the HTTP request action which folder to move the file to?
I have tried using the link to the folder as the destination uri, and using a combination of the site address and _api/web/GetFolderByServerRelativeUrl('Folder path goes here') with no success for either method.
Below is a screen shot of the working method that will move the file to the document library.