Skip to content

Microsoft OneDrive

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

Categories: file-storage

Type: microsoftOneDrive/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeControl TypeDescriptionRequired
clientIdClient IdSTRINGTEXTtrue
clientSecretClient SecretSTRINGTEXTtrue
tenantIdTenant IdSTRINGTEXTtrue

Actions

Download File

Name: downloadFile

Download a file from your Microsoft OneDrive.

Properties

NameLabelTypeControl TypeDescriptionRequired
parentIdParent Folder IDSTRINGSELECTID of the folder from which you want to download the file.false
idFile IDSTRINGSELECTID of the file to download.true

Output

Type: FILE_ENTRY

Properties

NameTypeControl Type
extensionSTRINGTEXT
mimeTypeSTRINGTEXT
nameSTRINGTEXT
urlSTRINGTEXT

List Files

Name: listFiles

List files in a OneDrive folder.

Properties

NameLabelTypeControl TypeDescriptionRequired
parentIdParent Folder IDSTRINGSELECTID of the folder from which you want to list files. If no folder is specified, the root folder will be used.false

Output

Type: ARRAY

Properties

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

List Folders

Name: listFolders

List folders in a OneDrive folder.

Properties

NameLabelTypeControl TypeDescriptionRequired
parentIdParent Folder IDSTRINGSELECTID of the Folder from which you want to list folders. If no folder is specified, the root folder will be used.false

Output

Type: ARRAY

Properties

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

Upload File

Name: uploadFile

Upload a file to your Microsoft OneDrive.

Properties

NameLabelTypeControl TypeDescriptionRequired
parentIdParent Folder IDSTRINGSELECTID of the Folder where the file should be uploaded; if no folder is selected, the file will be uploaded in the root folder.false
fileFileFILE_ENTRYFILE_ENTRYFile to upload.true

Output

Type: OBJECT

Properties

NameTypeControl Type
idSTRINGTEXT
nameSTRINGTEXT

Triggers

New File

Triggers when file is uploaded to folder.

Type: POLLING

Properties

NameLabelTypeControl TypeDescriptionRequired
parentIdParent Folder IDSTRINGSELECTIf no folder is specified, the root folder will be used.false

Output

Type: ARRAY

Properties

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