Zum Inhalt springen
DeutschlandGPT

OneDrive

Search and manage files in Microsoft OneDrive from workflows

Search, download, and manage files in your Microsoft OneDrive directly from workflows.

Authentication: OAuth 2.0. Connect your Microsoft account on the integrations page.

Actions

Search Files

Searches for files in OneDrive.

InputRequiredDescription
QueryYesText to search for in file names and content
OutputTypeDescription
filesarrayFile objects with id, name, size, webUrl, lastModifiedDateTime

List Drives

Returns all drives accessible to the account (personal OneDrive, shared drives).

OutputTypeDescription
drivesarrayDrive objects with id, name, driveType

Download File

Downloads a file from OneDrive.

InputRequiredDescription
File IDYesOneDrive file ID
OutputTypeDescription
fileWorkflowFileThe downloaded file
namestringFile name
mimeTypestringMIME type of the file

Create Folder

Creates a new folder in OneDrive.

InputRequiredDescription
Folder NameYesName for the new folder
Parent Folder IDNoID of the parent folder (defaults to root)
Drive IDNoDrive to create the folder in
OutputTypeDescription
folderIdstringID of the created folder
webUrlstringURL to the folder

Get Folder by Name

Finds a folder by its name.

InputRequiredDescription
Folder NameYesName of the folder to find
Parent Folder IDNoParent folder to search within
OutputTypeDescription
folderobjectFolder metadata
foundbooleanWhether the folder was found
Was this page helpful?