OneDrive Integration — Automate OneDrive with AI on Beauto
OneDrive is Microsoft’s cloud storage solution enabling users to store, sync, and share files across devices, offering offline access, real-time collaboration, and enterprise-grade security
Category: file management & storage · 81 actions available
What you can automate with OneDrive
Beauto connects OneDrive with 900+ other apps so you can build AI-powered workflows in minutes. Trigger automations from OneDrive events, enrich OneDrive data with AI, or sync OneDrive with the rest of your stack — without writing code.
- Sync OneDrive data with Gmail, Slack, Notion, HubSpot, Google Sheets, and more
- Trigger AI agents on new OneDrive events and route the output anywhere
- Schedule recurring OneDrive tasks — daily reports, cleanups, or bulk updates
- Use natural language to describe the workflow; Beauto builds it for you
OneDrive actions Beauto supports
- Check In Drive Item — Tool to check in a checked out driveItem resource, making the version of the document available to others. Use when you need to check in a file that was previously checked out in OneDrive or SharePoint.
- Checkout Drive Item — Tool to check out a driveItem to prevent others from editing it and make your changes invisible until checked in. Use when you need to lock a file for exclusive editing in SharePoint or OneDrive.
- Copy Item — Tool to copy a DriveItem (file or folder) to a new location asynchronously. Use when you need to duplicate an item, optionally renaming it or specifying a different parent folder. The operation is asynchronous; the respo
- Create Drive Item Permission — Tool to create a new permission on a OneDrive drive item. Use when you need to grant application or SharePoint group permissions to a file or folder. This endpoint supports creating application permissions and SharePoint
- Create Sharing Link — Tool to create a sharing link for a DriveItem (file or folder) by its unique ID. Use when you need to generate a shareable link for an item in OneDrive or SharePoint.
- Delete Item — Tool to delete a DriveItem (file or folder) by its unique ID from the authenticated user's OneDrive. Use when you need to remove an item from OneDrive. This action moves the item to the recycle bin, not permanently delet
- Permanently Delete Drive Item — Tool to permanently delete a driveItem by its ID without moving it to the recycle bin. Use when you need to irreversibly remove a file or folder from OneDrive or SharePoint. This action cannot be undone.
- Delete Drive Item Permission — Tool to delete a permission from a drive item. Use when you need to revoke sharing access to a file or folder. Only non-inherited sharing permissions can be deleted.
- Delete Shares Permission — Tool to delete the permission navigation property for a shared drive item. Use when you need to remove a sharing link permission. This effectively revokes access via the specific share link.
- Discard Checkout — Tool to discard the checkout of a driveItem, releasing it and discarding any changes made while checked out. Use when you need to cancel a checkout and revert changes on a file in SharePoint or OneDrive.
- Download a file — Downloads a file from a user's OneDrive using its item ID, which must refer to a file and not a folder. Response contains a content object with fields: s3url (URL to fetch raw file bytes), mimetype, and name; raw file da
- Download file by path — Downloads the contents of a file from OneDrive by its path. The API returns a 302 redirect to a pre-authenticated download URL. Use when you know the file path but not the item ID.
- Download item as format — Tool to download the contents of a driveItem converted to a specific format (e.g., PDF or HTML). Use when you need to convert Office documents to PDF or Loop/Fluid files to HTML before downloading. Supports accessing ite
- Download Drive Item Version Content — Tool to download the contents of a specific previous version of a drive item (file). Returns the actual file content. Note: You cannot download the current version using this endpoint - it only works for previous version
- Follow Drive Item — Tool to follow a driveItem (file or folder) in OneDrive or SharePoint. Use when you need to add an item to the user's followed items list for tracking updates.
- Get Drive — Retrieves the properties and relationships of a Drive resource by its unique ID. Use this action when you need to get details about a specific OneDrive, user's OneDrive, group's document library, or a site's document lib
- Get DriveItem by Sharing URL — Tool to resolve a OneDrive/SharePoint sharing URL (or shareId) to a DriveItem with driveId and itemId. Use when you have a sharing link from Teams, chat, or 1drv.ms and need the item's metadata or IDs for downstream acti
- Get Drives Following — Tool to retrieve a specific followed driveItem from a drive. Use when you need to get details about a file or folder that the user has marked to follow.
- Get Group Drive — Tool to retrieve the document library (drive) for a Microsoft 365 group. Use when you need to access the default document library associated with a specific group.
- Get Item Metadata — Retrieves the metadata of a DriveItem by its unique ID. Use this tool to get information about a specific file or folder in OneDrive when you have its ID. If a `drive_id` is not provided, it defaults to the user's main d
- Get Item Permissions — Retrieves the permissions of a DriveItem by its unique ID within a specific Drive. Use when you need to check who has access to a file or folder and what level of access they have. Response nests permission entries under
- Get Item Thumbnails — Tool to retrieve the thumbnails associated with a DriveItem. Use when you need to display visual previews of files. Response contains a `value` array with size keys (`small`, `medium`, `large`); thumbnails may not be gen
- Get Item Versions — Tool to retrieve the version history of a DriveItem by its unique ID. Use when you need to access or list previous versions of a file. Version history may be unavailable or empty for folders or items in drives without ve
- Get Recent Items — Get files and folders recently accessed by the user. Returns items based on activity history (opened, edited, viewed), sorted by most recent first — NOT by modification time; use ONE_DRIVE_ONEDRIVE_LIST_ITEMS or ONE_DRIV
- Get Drive Root Folder — Tool to retrieve metadata for the root folder of the signed-in user's OneDrive. Use when you need information about the user's OneDrive root directory, such as size, child count, or web URL.
- Get Shared Item by ShareId — Tool to access a shared DriveItem or collection of shared items using a shareId or encoded sharing URL. Returns the sharedDriveItem resource with metadata about the shared item and its owner. Use when you have a shareId
- Get Shared Items — Tool to retrieve items shared with the authenticated user (not items the user has shared with others). Returns files and folders shared with the current user; response value array may be empty if no items exist. Use webU
- Get SharePoint List Items — Tool to get the items (list items) within a specific SharePoint list on a site. Use when you need to retrieve data from a SharePoint list.
- Get Site Details — Retrieves metadata for a specific SharePoint site by its ID. Use this action when you need to get details like display name, web URL, and creation/modification dates for a known SharePoint site.
- Get SharePoint Site Page Content — Gets the content of a modern SharePoint site page. Use when you need to retrieve the details and content of a specific page within a SharePoint site.
- Get Drive Special Folder — Tool to retrieve a special folder in OneDrive by name. Use when you need to access well-known folders (documents, photos, approot, etc.) without looking up by path or ID.
- Grant Shares Permission — Tool to grant users access to a link represented by a permission using an encoded sharing URL. Use when you need to give specific users access to a shared OneDrive or SharePoint resource.
- Invite User to Drive Item — Tool to invite users or grant permissions to a specific item in a OneDrive drive. Use when you need to share a file or folder with other users and define their access level (e.g., read or write).
- List Drive Activities — Tool to retrieve recent activities on the authenticated user's OneDrive. Use when you need to track recent changes or actions performed across the drive.
- List Drive Bundles — Tool to retrieve a list of bundle resources from a specified drive. Bundles are collections of files (e.g., photo albums). Use when you need to list bundles in a drive.
- List Drives — Tool to retrieve a list of Drive resources available to the authenticated user, or for a specific user, group, or site. Use when you need to find out what drives are accessible. Returns only drives within the signed-in a
- List Folder Children — List the direct children (files/folders) of a OneDrive/SharePoint folder by DriveItem ID or path. Returns reliable pagination tokens/nextLink for large folders. Use when you need to enumerate folder contents deterministi
- List Drive Item Activities — Tool to list recent activities for a specific item in a OneDrive drive. Use when you need to track changes or actions performed on a file or folder.
- List Root Drive Changes — Tool to list changes in the root of the user's primary drive using a delta token. Use when you need to track file and folder modifications, additions, or deletions in the main OneDrive directory. First call without `toke
- List Shares Permission — Tool to retrieve permission details for a shared OneDrive or SharePoint item using a share ID. Use when you have an encoded sharing URL and need to check the permission level, password protection, and access details.
OneDrive triggers
- Onedrivebasetrigger — Base trigger for OneDrive changes using Gmail-style state management.
Subclasses override `filter_changes(...)` to extract only the relevant items.
- OneDrive File Created Trigger — Triggers when a new file is created in OneDrive.
Uses Gmail-style state management for reliable duplicate prevention.
- File Updated — Trigger that fires when a OneDrive file's content or metadata changes.
Returns file ID, last modified time, and modifier info.
- OneDrive Folder Created Trigger — Triggers when a new folder is created in OneDrive.
Uses Gmail-style state management for reliable duplicate prevention.
- OneDrive Item Deleted Trigger — Triggers when a file or folder is deleted in OneDrive.
Uses Gmail-style state management for reliable duplicate prevention.
- Item Moved or Renamed — Triggers when a file or folder is moved to a different path or renamed in OneDrive.
Includes both old and new path/name data in the payload.
- OneDrive Item Updated Trigger — Triggers when an existing file or folder is modified in OneDrive.
Uses Gmail-style state management and only detects actual modifications, not new creations.
- New Version Created — Trigger that fires when a new version of a specified OneDrive file is created.
- Sharing Permission Added or Removed — Sharing Permission Added or Removed