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:

i
Pick an Environment on your flow (Flow Settings → Environment) so the secret resolves. Secret fields never show the value — they reference ${secrets.your_secret}.

02Copy

Copy Item

microsoft/onedrive/copy_file · Action

Copy a file or folder to a different OneDrive location

FieldTypeDetails
Item IDstringRequired
Destination Folder IDstringRequired
New Namestring
Microsoft Account (email)string
Microsoft OAuth Credentialcredential${credentials.MICROSOFT_ONEDRIVE}

Returns: tool_result, success, error

03Create

Create Folder

microsoft/onedrive/create_folder · Action

Create a new folder in OneDrive

FieldTypeDetails
Folder NamestringRequired
Parent Folder IDstringLeave empty for root
Microsoft Account (email)string
Microsoft OAuth Credentialcredential${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

FieldTypeDetails
Item IDstringRequired
Microsoft Account (email)string
Microsoft OAuth Credentialcredential${credentials.MICROSOFT_ONEDRIVE}

Returns: tool_result, success, error

05Download

Download File

microsoft/onedrive/download · Action

Download a file from OneDrive by item ID

FieldTypeDetails
Item IDstringRequired
Microsoft Account (email)string
Microsoft OAuth Credentialcredential${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

FieldTypeDetails
Item IDstringRequired
Microsoft Account (email)string
Microsoft OAuth Credentialcredential${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

FieldTypeDetails
Folder IDstringLeave empty for root
Maximum Resultsinteger
Microsoft Account (email)string
Microsoft OAuth Credentialcredential${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

FieldTypeDetails
Item IDstringRequired
Destination Folder IDstringRequired
New Namestring
Microsoft Account (email)string
Microsoft OAuth Credentialcredential${credentials.MICROSOFT_ONEDRIVE}

Returns: tool_result, success, error

microsoft/onedrive/search · Action

Search for files and folders in OneDrive

FieldTypeDetails
Search QuerystringRequired
Maximum Resultsinteger
Microsoft Account (email)string
Microsoft OAuth Credentialcredential${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

FieldTypeDetails
Item IDstringRequired
Link Typestringchoices: View, Edit, Embed
Scopestringchoices: Anonymous, Organisation
Microsoft Account (email)string
Microsoft OAuth Credentialcredential${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)

FieldTypeDetails
FilenamestringRequired
File Content (text or base64)textRequired
Parent Folder IDstring
Content Typestringtext/plain
Microsoft Account (email)string
Microsoft OAuth Credentialcredential${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.