Upload File
SharePoint
SharePoint
Upload File
Upload a file to a SharePoint document library.
ActionAI Tool
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
site | dropdown | Required | The SharePoint site that owns the document library. |
drive | dropdown | Required | The document library (drive) to upload into. |
folder | text | Optional | Optional parent folder item ID. When omitted, uploads to the library root. |
files | files | Required | The file contents to upload. Each file is uploaded to the target library. |
fileName | text | Optional | Optional target filename. When omitted, uses the uploaded file metadata name. |
Outputs
| Name | Type | Description |
|---|---|---|
tenantIntegrationId | text | The integration being used to execute this action |
results | array of object | One entry per uploaded file, in input order. |
filename | text | Name of the uploaded file |
itemId | text | The ID of the uploaded drive item |
webUrl | text | Browser URL for the uploaded file |
success | yes/no | Whether the upload succeeded |