Microsoft OneDrive
StorageBrowse, search, upload, and download files in the connected user's OneDrive from FlowRunner agents through the Microsoft Graph API, plus folder management and sharing links.
What This Integration Enables
The OneDrive connector runs against the connected user's own drive with delegated permissions. Agents list items in a folder or the root, search the whole drive across names and indexed content, and read a single item by ID or path. They download files into FlowRunner file storage and upload from a FlowRunner or external URL, with files over 4 MB transferred through a resumable session in 5 MB chunks. They create folders, move and rename items, copy items asynchronously, and delete items to the recycle bin, from which the user can restore them. Create Sharing Link produces a view or edit link scoped to anyone or to the organization, and Get Drive Info reads the storage quota for connection checks and usage alerts. Some of these actions read and organize, and one shares; the connector supplies both, and the surrounding flow decides which needs a person.
Without FlowRunner
With FlowRunner
Use Case Scenarios
Archive Incoming Attachments
When an email arrives with an attachment, the agent creates a dated folder with Create Folder and files the attachment into it with Upload File. Large attachments transfer through the resumable session without special handling. What used to be a manual save-and-sort becomes an organized archive that builds itself.
Pull, Extract, Record
The agent uses Search Items to locate a contract, calls Download File to bring it into FlowRunner file storage, runs it through an extraction step, and writes the results to a downstream system. The document never leaves the drive by hand, and the extracted fields land where the rest of the flow can use them.
Reviewed Share of a Deliverable
A flow finishes a deliverable and needs to send it to a client. The agent uploads the file, then assembles the proposed sharing link and its scope and pauses for approval. On sign-off it calls Create Sharing Link with the approved scope and posts the link. Delivery stays fast, and the scope decision stays with a person.
Human-in-Loop Highlight
Listing, searching, downloading, and organizing files are safe operations a flow runs on its own. Creating an anonymous sharing link is different: it produces a URL that works for anyone who holds it, outside the organization, and revoking it does not un-share what someone already opened. This is [human-in-the-loop](/concepts/human-in-the-loop/) at the boundary between filing a document and exposing it. Before creating a sharing link that reaches outside the organization, the agent pauses, assembles the file name, the access type, and the link scope, and routes to a person through their preferred channel. The message is specific: "This would create an anyone-with-the-link view link to Client-Proposal-v3.docx, which works outside the organization. Approve the anonymous scope, or restrict it to the organization?" The agent handles the folders, the upload, and the link mechanics; a person owns the scope that decides who can open the file.
Agent Capabilities
12 actionsItems
7- List Items In Folder Lists the files and folders inside a OneDrive folder, or the drive root, with ID, name, type, size, and last-modified time, paged.
- Search Items Searches the whole OneDrive for files and folders matching a text query, across item names and indexed file content.
- Get Item Retrieves the metadata of a single file or folder by item ID or by path under the drive root.
- Move Item Moves a file or folder into a different folder, optionally renaming it in the same step.
- Rename Item Renames a file or folder in place, keeping it in its current folder.
- Copy Item Starts an asynchronous copy of a file or folder to another folder, returning immediately while Microsoft Graph completes the copy in the background.
- Delete Item Deletes a file or folder, moving it to the OneDrive recycle bin, from which the user can restore it.
Files
2- Download File Downloads a file from OneDrive into FlowRunner file storage and returns a URL to the stored copy.
- Upload File Uploads a file to OneDrive from a FlowRunner file or external URL. Files over 4 MB transfer automatically through a resumable upload session in 5 MB chunks.
Folders
1- Create Folder Creates a new folder inside a selected parent folder or at the drive root, returning the created folder's metadata.
Sharing
1- Create Sharing Link Creates a shareable view or edit link to a file or folder and returns its web URL, scoped to anyone or to your organization. This is the action that routes through human review when the link reaches outside the organization.
Drive
1- Get Drive Info Retrieves information about the connected user's OneDrive, including its storage quota, for connection checks and usage monitoring.
Start building with Microsoft OneDrive
$100 in credits. No card required. Connect in minutes.