OneDrive
Create, upload, and list files
Configuration
Create Folder
Operation
Create Folder
Microsoft Account
Select Microsoft account
Folder Name
Name for the new folder
Select Parent Folder
Select a parent folder
Parent Folder ID
Enter parent folder ID (leave empty for root folder)
Create Folder (
onedrive_create_folder)Create a new folder in OneDrive
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
folderName | string | Yes | Name of the folder to create |
folderSelector | string | No | Select the parent folder to create the folder in |
manualFolderId | string | No | Manually entered parent folder ID (advanced mode) |
Output
| Parameter | Type | Description |
|---|---|---|
success | boolean | Whether the folder was created successfully |
Create File
Operation
Create File
Microsoft Account
Select Microsoft account
File Name*
Name of the file
File Type*
Select file type
Values
Enter values as JSON array of arrays (e.g., [["A1","B1"],["A2","B2"]]) or an array of objects
Text Content*
Text content for the file
Select Parent Folder
Select a parent folder
Parent Folder ID
Enter parent folder ID (leave empty for root folder)
Output
| Parameter | Type | Description |
|---|---|---|
file | json | The OneDrive file object, including details such as id, name, size, and more. |
files | json | An array of OneDrive file objects, each containing details such as id, name, size, and more. |
Upload File
Operation
Upload File
Microsoft Account
Select Microsoft account
File Name*
Name of the file
File
Upload a file
File
Reference file from previous block (e.g., {{block_1.file}})
Select Parent Folder
Select a parent folder
Parent Folder ID
Enter parent folder ID (leave empty for root folder)
Upload File (
onedrive_upload)Upload a file to OneDrive
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
fileName | string | Yes | The name of the file to upload |
file | file | No | The file to upload (binary) |
content | string | No | The text content to upload (if no file is provided) |
mimeType | string | No | The MIME type of the file to create (e.g., text/plain for .txt, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet for .xlsx) |
folderSelector | string | No | Select the folder to upload the file to |
manualFolderId | string | No | Manually entered folder ID (advanced mode) |
Output
| Parameter | Type | Description |
|---|---|---|
success | boolean | Whether the file was uploaded successfully |
List Files
Operation
List Files
Microsoft Account
Select Microsoft account
Select Folder
Select a folder to list files from
Folder ID
Enter folder ID (leave empty for root folder)
Search Query
Search for specific files (e.g., name contains "report")
Results Per Page
Number of results (default: 100, max: 1000)
List Files (
onedrive_list)List files and folders in OneDrive
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
folderSelector | string | No | Select the folder to list files from |
manualFolderId | string | No | The manually entered folder ID (advanced mode) |
query | string | No | A query to filter the files |
pageSize | number | No | The number of files to return |
Output
| Parameter | Type | Description |
|---|---|---|
success | boolean | Whether files were listed successfully |
files | array | Array of file and folder objects with metadata |
Usage Instructions
Integrate OneDrive into the workflow. Can create text and Excel files, upload files, and list files.
Notes
- Category:
tools - Type:
onedrive