Description
The Upload to OneDrive activity uploads one or more files from your workflow to a specified folder in a connected Microsoft OneDrive account. This activity is useful for archiving reports, backups, exports, or any files generated within the workflow.
It securely connects to OneDrive via an OAuth-based connection, and allows specification of a remote directory path where the files should be placed. Files uploaded to OneDrive can be accessed and shared using Microsoft’s standard sharing features.
Use case:
After generating PDF invoices, a workflow can automatically upload them to a OneDrive folder named /Invoices/July for team access and backup.
| Input Type | Format | Description | 
|---|
| File(s) | Binary | One or more files from previous activities. | 
Output
| Output Type | Format | Description | 
|---|
| File Info | Table | Metadata for each uploaded file (name, size, remote path). | 
Configuration Fields
| Field Name | Description | Required | 
|---|
| Connection | Microsoft OneDrive OAuth connection. Select from your configured cloud accounts. | Yes | 
| Working Directory | Path in OneDrive where files will be uploaded. Example: /Reports/Monthly/ | Yes | 
Not Applicable
Sample Configuration
| Field | Value | 
|---|
| Connection | onedrive-business-account | 
| Working Directory | /Finance/Reports/July | 
Sample Output
| Remote File Name | File Name | Size | 
|---|
| report1.pdf | report1.pdf | 2MB | 
| sales.csv | sales.csv | 3MB |