OneDrive
Microsoft integration · 10 node(s).
00Overview
Microsoft OneDrive file storage and management
Every field below is exactly what you see in the Flomation editor. Fields marked ● live picker let you choose from a list pulled live from your account — no IDs to look up.
01Connecting OneDrive
Add your credentials as a Flomation environment secret, then pick them in each node. The connection fields are:
${secrets.your_secret}.02Copy
Copy Item
microsoft/onedrive/copy_file · Action
Copy a file or folder to a different OneDrive location
| Field | Type | Details | |
|---|---|---|---|
| Item ID | string | Required | |
| Destination Folder ID | string | Required | |
| New Name | string | ||
| Microsoft Account (email) | string | ||
| Microsoft OAuth Credential | credential | ${credentials.MICROSOFT_ONEDRIVE} |
Returns: tool_result, success, error
03Create
Create Folder
microsoft/onedrive/create_folder · Action
Create a new folder in OneDrive
| Field | Type | Details | |
|---|---|---|---|
| Folder Name | string | Required | |
| Parent Folder ID | string | Leave empty for root | |
| Microsoft Account (email) | string | ||
| Microsoft OAuth Credential | credential | ${credentials.MICROSOFT_ONEDRIVE} |
Returns: tool_result, item_id, web_url, success, error
04Delete
Delete File
microsoft/onedrive/delete_file · Action
Delete a file or folder from OneDrive
| Field | Type | Details | |
|---|---|---|---|
| Item ID | string | Required | |
| Microsoft Account (email) | string | ||
| Microsoft OAuth Credential | credential | ${credentials.MICROSOFT_ONEDRIVE} |
Returns: tool_result, success, error
05Download
Download File
microsoft/onedrive/download · Action
Download a file from OneDrive by item ID
| Field | Type | Details | |
|---|---|---|---|
| Item ID | string | Required | |
| Microsoft Account (email) | string | ||
| Microsoft OAuth Credential | credential | ${credentials.MICROSOFT_ONEDRIVE} |
Returns: tool_result, content, filename, content_type, size, success, error
06Get
Get File Info
microsoft/onedrive/get_file · Action
Retrieve metadata for a file or folder in OneDrive
| Field | Type | Details | |
|---|---|---|---|
| Item ID | string | Required | |
| Microsoft Account (email) | string | ||
| Microsoft OAuth Credential | credential | ${credentials.MICROSOFT_ONEDRIVE} |
Returns: tool_result, name, size, mime_type, web_url, created_at, modified_at, file, success, error
07List
List Files
microsoft/onedrive/list_files · Action
List files and folders in a OneDrive directory
| Field | Type | Details | |
|---|---|---|---|
| Folder ID | string | Leave empty for root | |
| Maximum Results | integer | ||
| Microsoft Account (email) | string | ||
| Microsoft OAuth Credential | credential | ${credentials.MICROSOFT_ONEDRIVE} |
Returns: tool_result, files, count, success, error
08Move
Move Item
microsoft/onedrive/move · Action
Move a file or folder to a different OneDrive location
| Field | Type | Details | |
|---|---|---|---|
| Item ID | string | Required | |
| Destination Folder ID | string | Required | |
| New Name | string | ||
| Microsoft Account (email) | string | ||
| Microsoft OAuth Credential | credential | ${credentials.MICROSOFT_ONEDRIVE} |
Returns: tool_result, success, error
09Search
Search Files
microsoft/onedrive/search · Action
Search for files and folders in OneDrive
| Field | Type | Details | |
|---|---|---|---|
| Search Query | string | Required | |
| Maximum Results | integer | ||
| Microsoft Account (email) | string | ||
| Microsoft OAuth Credential | credential | ${credentials.MICROSOFT_ONEDRIVE} |
Returns: tool_result, results, count, success, error
10Share
Create Sharing Link
microsoft/onedrive/share · Action
Create a sharing link for a OneDrive file or folder
| Field | Type | Details | |
|---|---|---|---|
| Item ID | string | Required | |
| Link Type | string | choices: View, Edit, Embed | |
| Scope | string | choices: Anonymous, Organisation | |
| Microsoft Account (email) | string | ||
| Microsoft OAuth Credential | credential | ${credentials.MICROSOFT_ONEDRIVE} |
Returns: tool_result, share_url, share_id, success, error
11Upload
Upload File
microsoft/onedrive/upload · Action
Upload a file to OneDrive (simple upload, under 4 MB)
| Field | Type | Details | |
|---|---|---|---|
| Filename | string | Required | |
| File Content (text or base64) | text | Required | |
| Parent Folder ID | string | ||
| Content Type | string | text/plain | |
| Microsoft Account (email) | string | ||
| Microsoft OAuth Credential | credential | ${credentials.MICROSOFT_ONEDRIVE} |
Returns: tool_result, item_id, web_url, success, error
12Notes & Limitations
Behaviours and constraints worth knowing before you build with these nodes.
- Uploading is limited to files under 4 MB per operation, so larger files must be split or handled through another route before they can be stored.
- Copying a file or folder runs asynchronously in the background, so the copied item may not be immediately available for a follow-up step that reads or moves it.
- Deleting a file or folder sends it to the recycle bin rather than erasing it permanently, so it remains recoverable for a period and still counts toward storage until purged.
- Search results are eventually consistent, so a file that was just uploaded or renamed may not appear right away and can take a short while to become findable.
- Sharing links honour your organisation's policies, so anonymous or external links may be blocked or downgraded by an administrator even when requested.