Skip to content

Microsoft OneDrive

Reference


Microsoft OneDrive is a cloud storage service provided by Microsoft for storing, accessing, and sharing files online.

Categories: [file-storage]

Version: 1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameTypeControl TypeDescription
Client IdSTRINGTEXT
Client SecretSTRINGTEXT
Tenant IdSTRINGTEXT

Triggers

New File

Triggers when file is uploaded to folder.

Type: POLLING

Properties

NameTypeControl TypeDescription
Parent folderSTRINGSELECTIf no folder is specified, the root folder will be used.

Output

Type: ARRAY

Properties

TypeControl Type
{STRING(id), STRING(name)}OBJECT_BUILDER

Actions

Download file

Download a file from your Microsoft OneDrive

Properties

NameTypeControl TypeDescription
Parent folderSTRINGSELECTFolder from which you want to download the file.
FileSTRINGSELECTFile to download

Output

Type: FILE_ENTRY

Properties

TypeControl Type
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT

List Files

List files in a OneDrive folder

Properties

NameTypeControl TypeDescription
Parent folderSTRINGSELECTFolder from which you want to list files. If no folder is specified, the root folder will be used.

Output

Type: ARRAY

Properties

TypeControl Type
{STRING(id), STRING(name)}OBJECT_BUILDER

List Folders

List folders in a OneDrive folder

Properties

NameTypeControl TypeDescription
Parent folderSTRINGSELECTFolder from which you want to list folders. If no folder is specified, the root folder will be used.

Output

Type: ARRAY

Properties

TypeControl Type
{STRING(id), STRING(name)}OBJECT_BUILDER

Upload file

Upload a file to your Microsoft OneDrive

Properties

NameTypeControl TypeDescription
Parent folderSTRINGSELECTFolder where the file should be uploaded; if no folder is selected, the file will be uploaded in the root folder.
FileFILE_ENTRYFILE_ENTRYFile to upload

Output

Type: OBJECT

Properties

TypeControl Type
STRINGTEXT
STRINGTEXT