Skip to main content

OneDrive

Lists and downloads files from a OneDrive folder on demand.

Overview​

The OneDrive action node retrieves all files from a specified OneDrive folder. Unlike the OneDrive Trigger which polls for changes over time, this node fetches files once as part of a workflow execution.

Use it to:

  • Process all existing files in a OneDrive folder
  • List files for filtering and selective processing
  • Retrieve files on demand from Microsoft OneDrive

Parameters​

ParameterDescriptionRequired
CredentialOneDrive account to useYes
Folder URLOneDrive folder URLYes

Folder URL​

The URL of the OneDrive folder to list files from. Supports expressions for dynamic folder selection:

{{$item.data.folderUrl}}

Settings​

SettingDescription
Execution ModeOnce per item (default) or Once
Output ModeHow to output results when running once
Batch SizeItems to process concurrently (default 5)
Stop on ErrorStop workflow on failure

Output​

One item per file found in the folder:

{
"file": {
"type": "fileData",
"name": "spreadsheet.xlsx",
"mimeType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"fileInfo": {
"type": "oneDrive",
"credentialId": "..."
}
}
}

Access file properties in expressions:

  • File object: {{$item.data.file}}
  • File name: {{$item.data.file.name}}
  • MIME type: {{$item.data.file.mimeType}}

Examples​

Process OneDrive Files​

[Manual Trigger] → [OneDrive (folder)] → [Data Extractor] → [Insert Rows]

Batch Convert Excel Files​

[OneDrive (folder)] → [Filter (mimeType contains "spreadsheet")] → [Excel to PDF] → [Copy File]

Process Files from Multiple Folders​

[Import Table (folder URLs)] → [OneDrive] → [Data Extractor] → [Insert Rows]

Authentication​

This node requires a connected Microsoft account with OneDrive access. Configure credentials in your workspace settings.

Tips​

  • Returns files only — subfolders are not included
  • Not recursive — only lists files directly in the specified folder
  • Use the OneDrive Trigger for continuous monitoring; use this node for one-time retrieval
  • Each file in the folder becomes a separate output item