Skip to content

Upload File

SharePoint

SharePoint

Upload File

Upload a file to a SharePoint document library.

ActionAI Tool

Inputs

Name Type Required Description
sitedropdownRequiredThe SharePoint site that owns the document library.
drivedropdownRequiredThe document library (drive) to upload into.
foldertextOptionalOptional parent folder item ID. When omitted, uploads to the library root.
filesfilesRequiredThe file contents to upload. Each file is uploaded to the target library.
fileNametextOptionalOptional target filename. When omitted, uses the uploaded file metadata name.

Outputs

Name Type Description
tenantIntegrationIdtextThe integration being used to execute this action
resultsarray of objectOne entry per uploaded file, in input order.
filenametextName of the uploaded file
itemIdtextThe ID of the uploaded drive item
webUrltextBrowser URL for the uploaded file
successyes/noWhether the upload succeeded