Skip to content

Download from OneDrive

Description

The Download From OneDrive activity automates the retrieval of files from a designated folder within a connected OneDrive account.
It supports filtering files using regular expressions and saves the matched files to a downstream processing path or storage system.

This is ideal for workflows requiring files stored in Microsoft OneDrive to be pulled into processing pipelines on a scheduled or event-driven basis.

Use case: A team shares Excel reports every Friday to a shared OneDrive folder. This activity can automatically fetch the latest .xlsx files each week for processing.


Input

Not Applicable


Output

Output TypeFormatDescription
FilesBinaryRetrieved files from OneDrive
DataJSONFile metadata including name, size, and path

Configuration Fields

Field NameRequiredDescription
ConnectionYesConnection details for authenticating with the OneDrive account.
Working DirectoryYesThe directory path inside OneDrive from which files should be downloaded.
RegexNoRegular expression to match filenames for selective download.

Sample Input

Not Applicable


Sample Configuration

FieldValue
ConnectionOneDrive - Finance Reports
Working Directory/Shared/Weekly Reports
Regex.*\.xlsx$

Sample Output

The following output represents files successfully retrieved from the specified OneDrive folder:

Remote File NameFile NameSizeStatus
report_july_1.xlsxreport_july_1.xlsx1.8MB[Download]
summary_week_27.csvsummary_week_27.csv2.4MB[Download]