SharePoint Online integration

SharePoint document libraries: list folders, download & upload files (attended or unattended)

Help Centre › Connectors

Overview

SharePoint Online – SharePoint document libraries: list folders, download & upload files (attended or unattended)


Available operations

15 operations available. Click any row to jump to its detail.

OperationCategoryWhat it does
Create FolderGeneralCreate a folder inside another folder
Delete File or FolderGeneralDelete a file or folder (a folder goes with everything in it, to the recycle bin)
Download FileGeneralDownload a single file to the client machine
Download FolderGeneralDownload every file in a folder to a local directory
Get ItemGeneralGet a file/folder by its drive-item ID
Get Root SiteGeneralGet the tenant's root SharePoint site
Get SiteGeneralGet a SharePoint site by its Graph site ID
Get Site by PathGeneralResolve a site by hostname + path (host=acme.sharepoint.com, site_path=sites/Finance)
List Folder Children (by item ID)GeneralList items inside a folder identified by its drive-item ID
List Document LibrariesGeneralList the document libraries (drives) on a site
List FolderGeneralList the files and subfolders in a folder
Resolve Site URLGeneralResolve a full SharePoint site URL to its Graph site object
Search SitesGeneralSearch SharePoint sites by keyword (pass 'search')
Upload FileGeneralUpload a local file into a folder (handles large files via upload session)
Upload FolderGeneralUpload every file in a local folder into a folder

Operations

Create Folder

Create a folder inside another folder

ParameterRequiredTypeDescription
Parent Folder Address folder_urlYestextFull address of the folder to create it in. Paste it from the browser's address bar, or use Share → Copy link. e.g. https://acme.sharepoint.com/sites/Finance/Shared Documents/Invoices
Folder Name nameYestextName of the new folder.
On Conflict conflict_behaviorNotextrename | replace | fail (default rename).

Delete File or Folder

Delete a file or folder (a folder goes with everything in it, to the recycle bin)

ParameterRequiredTypeDescription
File or Folder Address item_urlYestextFull address of the file or folder. Paste it from the browser's address bar, or use Share → Copy link. e.g. https://acme.sharepoint.com/sites/Finance/Shared Documents/Invoices/Report.xlsx
Already Gone Is Fine missing_okNobooleanWhen the file or folder is not there, count the step as done. On by default.

Download File

Download a single file to the client machine

ParameterRequiredTypeDescription
File Address file_urlYestextFull address of the file. Paste it from the browser's address bar, or use Share → Copy link. e.g. https://acme.sharepoint.com/sites/Finance/Shared Documents/Invoices/Report.xlsx
Item ID item_idNotextOnly for a loop over List Folder rows: put the row's id here and the folder's address in File Address.
Save Path save_pathYestextLocal destination path on the client machine.

Download Folder

Download every file in a folder to a local directory

ParameterRequiredTypeDescription
Folder Address folder_urlYestextFull address of the folder. Paste it from the browser's address bar, or use Share → Copy link. e.g. https://acme.sharepoint.com/sites/Finance/Shared Documents/Invoices
Save Directory save_dirYestextLocal directory to download the files into.
Include Subfolders recursiveNobooleanDescend into subfolders. Off by default.

Get Item

Get a file/folder by its drive-item ID

ParameterRequiredTypeDescription
Site Id site_idYestext
Item Id item_idYestext

Get Root Site

Get the tenant's root SharePoint site

No input parameters.


Get Site

Get a SharePoint site by its Graph site ID

ParameterRequiredTypeDescription
Site Id site_idYestext

Get Site by Path

Resolve a site by hostname + path (host=acme.sharepoint.com, site_path=sites/Finance)

ParameterRequiredTypeDescription
Hostname hostnameYestext
Site Path site_pathYestext

List Folder Children (by item ID)

List items inside a folder identified by its drive-item ID

ParameterRequiredTypeDescription
Site Id site_idYestext
Item Id item_idYestext

List Document Libraries

List the document libraries (drives) on a site

ParameterRequiredTypeDescription
Site Id site_idYestext

List Folder

List the files and subfolders in a folder

ParameterRequiredTypeDescription
Folder Address folder_urlYestextFull address of the folder. Paste it from the browser's address bar, or use Share → Copy link. e.g. https://acme.sharepoint.com/sites/Finance/Shared Documents/Invoices

Resolve Site URL

Resolve a full SharePoint site URL to its Graph site object

ParameterRequiredTypeDescription
Site URL urlYestextFull SharePoint site URL, e.g. https://acme.sharepoint.com/sites/Finance

Search Sites

Search SharePoint sites by keyword (pass 'search')

No input parameters.


Upload File

Upload a local file into a folder (handles large files via upload session)

ParameterRequiredTypeDescription
Local File local_pathYestextPath to the local file to upload.
Destination Folder Address folder_urlYestextFull address of the folder to upload into. Paste it from the browser's address bar, or use Share → Copy link. e.g. https://acme.sharepoint.com/sites/Finance/Shared Documents/Invoices
Destination Name dest_nameNotextOverride the uploaded file name (defaults to the local file name).
On Conflict conflict_behaviorNotextrename | replace | fail (default replace).

Upload Folder

Upload every file in a local folder into a folder

ParameterRequiredTypeDescription
Local Folder local_dirYestextLocal folder whose files are uploaded.
Destination Folder Address folder_urlYestextFull address of the folder to upload into. Paste it from the browser's address bar, or use Share → Copy link. e.g. https://acme.sharepoint.com/sites/Finance/Shared Documents/Invoices
Include Subfolders recursiveNobooleanUpload subfolders too, making the same folders in SharePoint. Off by default.
On Conflict conflict_behaviorNotextWhat to do with a file that is already there: rename | replace | fail (default replace).

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.