How can I upload a file in SharePoint site in Document drive?

Using the Microsoft Office 365, how can I upload a file directly in the Documents drive from a SharePoint Site? (and not in other folder from Documents)
Upload File activity requires a destination folder, which in my case should be the “Documents” drive, but I couldn’t make it work.



You can use the “SharePoint” activity package in UiPath to upload a file to a SharePoint site’s document library. Here are the steps you can follow:

  1. Open your UiPath Studio and create a new project.
  2. Install the “SharePoint” activity package from the “Manage Packages” section of UiPath Studio.
  3. Drag and drop the “SharePoint Application Scope” activity onto the workflow.
  4. In the properties panel, fill in the SharePoint site URL, username, and password.
  5. Add the “Upload File” activity within the SharePoint Application Scope activity.
  6. In the “Upload File” activity properties, specify the SharePoint library name where you want to upload the file and the local file path of the file to be uploaded.
  7. Run the workflow to upload the file to the SharePoint site.


Check below for your reference

Hope this may help you