Integration · Files and storage
AI agents for OneDrive
Browse and search the files in the signed-in person's OneDrive, read a file's details, create folders and make sharing links.
- Actions
- 5
- Read
- 3
- Write
- 2
Actions
What your agents can do in OneDrive
5 actions. Each one is a tool your agents can call and a step your workflows can run.
Read 3
Look things up. Nothing changes.
List a folder
Lists the files and folders directly inside a OneDrive folder, by the folder's ID, or the top of the drive when no folder is given.
Search files
Searches the signed-in person's OneDrive for files and folders whose name, metadata or content match the words given.
Get a file's details
Reads one file or folder by its ID: name, size, web link, when it was created and changed and by whom, its parent folder, and its file facet (mimeType, hashes) or folder facet (childCount).
Write 2
Create, change or send.
Create a folder
Creates a folder inside another folder, by the parent's ID, or at the top of the drive when no parent is given.
Create a sharing link
Makes a link to a file or folder, by its ID: view (read-only) or edit, for anonymous (anyone with the link, if the organization allows it) or organization.
A person can approve first
Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything.
Connection
How it connects
Connect it once in the console, then give it to the agents and workflows that need it.
Sign in with Microsoft and approve access (OAuth).
Kept safe
- Credentials are stored encrypted with your organization's own keys.
- They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
- Calls go only to the tool's own servers.
Ideas
Ideas to start with
Starting points made only from the actions above. Mix them with any other tool your agents can use.
- 01
Ask about your OneDrive data
Ask a question in plain words. The agent can list a folder, search files or get a file's details in OneDrive, then answers with what it found.
- 02
Let an agent update OneDrive
Have the agent create a folder or create a sharing link in OneDrive as part of a larger task. Turn on approval and a person signs off on each change first.
- 03
Share what it finds in Slack
Give one agent OneDrive and Slack: it can list a folder in OneDrive and post a summary to a Slack channel in the same run.
FAQ
OneDrive and MyDeepAgents
Can MyDeepAgents connect to OneDrive?
Yes. The OneDrive connector has 5 actions: 3 read and 2 make changes. Your agents can call them as tools, and your workflows can run them as steps.
How do I connect OneDrive?
Sign in with Microsoft and approve access (OAuth). Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.
Can an agent change data in OneDrive without asking?
Only if you let it. Each of the 2 actions that change data can be set to wait for a person's approval before it runs.
Can I use OneDrive in workflows as well as agents?
Yes. Every OneDrive action also works as a step in a workflow, and the same connection serves your agents and your workflows.
Early access
Put OneDrive to work
Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.