Connect OneDrive with Hookshot™ and your stack

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

Tools and triggers

What Agents can do in OneDrive

Available tools and events after OneDrive is connected.

  • Add Workbook Worksheet

    Adds a new worksheet to an existing Excel workbook in OneDrive or SharePoint. The worksheet is created with the specified name and appended to the end of the workbook's worksheet collection. Use this action when you…

  • 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.

  • Clear Workbook Range

    Clears values, formats, or both from a worksheet range in an Excel workbook stored in OneDrive or SharePoint without deleting cells or shifting neighboring data. Use this action when you need to reset a range while…

  • Copy Item

    This action allows users to copy a DriveItem, which can be a file or folder, to a new location asynchronously. Users can optionally rename the copied item or specify a different parent folder for the copy.

  • Create a New Text File

    This action allows users to create a new text file in a specified folder within their personal OneDrive. Users can provide the content and the desired file name, and the file will be uploaded to their OneDrive. Note…

  • 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…

  • Create Folder

    This action creates a new folder in OneDrive. It supports configurable Microsoft Graph conflict behavior and allows specifying a parent folder for organization.

  • Create SharePoint List Item

    Creates a new item in a SharePoint list using Microsoft Graph. Provide the SharePoint site ID, list ID, and the field values to store.

  • Create Sharing Link

    This action creates a sharing link for a specified drive item by using its unique identifier. Users can generate view, edit, or embed links for items in OneDrive or SharePoint. Choose the link scope explicitly: if…

  • Delete Drive Following

    Tool to unfollow a driveItem by removing it from the user's followed items collection. Use when you need to stop following a file or folder that was previously marked to follow.

  • 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 Item

    This action deletes a specified DriveItem from the user's OneDrive. It moves the item to the recycle bin rather than permanently removing it, allowing for potential recovery.

  • Delete SharePoint Item Permission

    Revoke a Microsoft Graph beta permission from a SharePoint list or list item.

  • 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.

  • Delete Workbook Range

    Deletes a range of cells from a worksheet in an Excel workbook stored in OneDrive. Use this action when you need to remove a specific cell range and shift the remaining cells to fill the gap. This action is…

  • Delete Workbook Worksheet

    Deletes a worksheet from a workbook in OneDrive by its ID or name. Use this action when you need to remove a specific worksheet from an Excel workbook stored in OneDrive or SharePoint. This action is irreversible — the…

  • 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

    This action retrieves a specific file from a user's OneDrive based on the provided item ID. The user can specify the desired filename for the downloaded content.

  • 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…

  • 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…

  • Find Folder

    This action allows users to search for specific folders by name within a given parent folder in OneDrive. If the name is not provided, it retrieves all direct child folders of the specified parent directory.

  • Find Item

    This action searches for a specific item, either a file or folder, within a designated OneDrive folder. Users can use this function to locate items by providing the item's name and the folder where the search should…

Setup

Connect OneDrive in Hookshot™

Pick a scope, then confirm what can start a Protege and what it can do.

Trigger Access

What can start a Protege from this app.

Tool Access

What a Protege can do after it starts.

Connection scope

Prefer team for production.

Team

Shared credential for production and unattended runs.

Personal

Tied to one user—only when the workflow needs their account.

Chat

Team-scoped for supported chat surfaces.

Full setup guide

Build with us

See Hookshot™ in your stack.

Request early access or book a live walkthrough with the team.

Request Demo
Hookshot™ setup screen — AI agent workflow configuration with model selection, trigger status, and governance controls.