Skip to content

Upload to OneDrive

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

Input TypeFormatDescription
File(s)BinaryOne or more files from previous activities.

Output

Output TypeFormatDescription
File InfoTableMetadata for each uploaded file (name, size, remote path).

Configuration Fields

Field NameDescriptionRequired
ConnectionMicrosoft OneDrive OAuth connection. Select from your configured cloud accounts.Yes
Working DirectoryPath in OneDrive where files will be uploaded. Example: /Reports/Monthly/Yes

Sample Input

Not Applicable


Sample Configuration

FieldValue
Connectiononedrive-business-account
Working Directory/Finance/Reports/July

Sample Output

Remote File NameFile NameSize
report1.pdfreport1.pdf2MB
sales.csvsales.csv3MB