To work with the Sharepoint, we have activities in UiPath. Install the UiPath.MicrosoftOffice365.activities package and search for the Sharepoint activities in activities panel.
Use the Download File activity to download the files from the Sharepoint.
Check the below documentation for better understanding,