Sign inStart your trial

OneDrive

Reference

9 triggers and 71 actions for OneDrive workflows.

01. Triggers

Start a workflow when something happens in OneDrive

Each trigger lists the event it fires on, the data it sends, and a template you can use it in.

Webhook

9 triggers

Real-time push from the source.

Webhook★ Featured

ONE_DRIVE_FILE_CREATED_TRIGGER

Fires when a new file is uploaded or created in OneDrive. Automatically prevents duplicate triggers from being sent multiple times.

3 config fields2 output fields
Webhook★ Featured

ONE_DRIVE_FILE_UPDATED

Fires when a file's content or properties change in OneDrive. Includes details about which file was modified and when.

2 config fields3 output fields
Webhook★ Featured

ONE_DRIVE_ITEM_MOVED_OR_RENAMED_TRIGGER

Fires when a file or folder is moved to a different location or renamed in OneDrive. Includes both the original and new names or paths.

4 config fields9 output fields
Webhook★ Featured

ONE_DRIVE_SHARING_PERMISSION_CHANGED_TRIGGER

Fires when file or folder sharing permissions are added or removed. Tracks changes to who has access to your OneDrive items.

8 config fields7 output fields
Webhook

ONE_DRIVE_BASE_TRIGGER

Base event for monitoring any changes in OneDrive. Other triggers build on this to detect specific types of changes.

3 config fields2 output fields
Webhook

ONE_DRIVE_FOLDER_CREATED_TRIGGER

Fires when a new folder is created in OneDrive. Automatically prevents duplicate triggers from being sent multiple times.

3 config fields2 output fields
Webhook

ONE_DRIVE_ITEM_DELETED_TRIGGER

Fires when a file or folder is deleted in OneDrive. Automatically prevents duplicate triggers from being sent multiple times.

3 config fields2 output fields
Webhook

ONE_DRIVE_ITEM_UPDATED_TRIGGER

Fires when an existing file or folder is modified in OneDrive, but not when it's first created. Automatically prevents duplicate triggers from being sent multiple times.

3 config fields2 output fields
Webhook

ONE_DRIVE_NEW_VERSION_CREATED_TRIGGER

Fires when a new version of a file is saved in OneDrive. Tracks version history changes for file management workflows.

6 config fields3 output fields
02. Operations

Act on OneDrive from a workflow

Operations are the actions a workflow can take in OneDrive, grouped by category. Each lists its method, parameters, and a template you can drop it into.

Activities

2 operations

Track changes and actions within your OneDrive environment by viewing drive activity logs and item-specific activity histories. Use these operations to monitor who accessed files, when changes occurred, and maintain an audit trail of collaborative work.

Action

List Drive Activities

ONE_DRIVE_LIST_ACTIVITIES

Retrieve a log of recent changes and actions performed on your OneDrive, such as file uploads, deletions, and modifications. This helps you track what's been happening across your cloud storage and stay informed about file activity.

2 input
Action

List Drive Item Activities

ONE_DRIVE_LIST_ITEM_ACTIVITIES

Track all changes and actions performed on a specific file or folder in your OneDrive, including who modified it and when. This helps you maintain visibility over file updates and maintain an audit trail for important documents.

8 input

Changes

1 operation

Detect and retrieve all modifications made to your drive's root folder and its contents since a specific point in time. This is essential for syncing workflows, backup operations, or keeping external systems in sync with OneDrive changes.

Action

List Root Drive Changes

ONE_DRIVE_LIST_ROOT_DRIVE_CHANGES

Track all file and folder changes in your OneDrive root directory by retrieving only new, modified, or deleted items since your last check. This helps you stay synchronized with your cloud storage and automate workflows based on file activity.

5 input

Checkout

3 operations

Manage file checkout states to prevent concurrent editing conflicts and control when documents can be modified. Use these operations to lock files during editing, release locks when work is complete, or discard changes and revert to the last saved version.

Action

Check In Drive Item

ONE_DRIVE_CHECKIN_ITEM

Finalizes changes to a document by checking it back in, allowing team members to access the updated version. Use this when you're done editing a file that you previously checked out from OneDrive or SharePoint.

4 input
Action

Checkout Drive Item

ONE_DRIVE_CHECKOUT_ITEM

Locks a file in OneDrive or SharePoint so you can edit it exclusively while preventing others from making changes, keeping your work private until you're ready to share it.

2 input
Action

Discard Checkout

ONE_DRIVE_DISCARD_CHECKOUT

Cancels a file checkout and reverts any unsaved changes, releasing the file so others can access and edit it again.

2 input

Drives

4 operations

Access and enumerate the different drives available to you, including personal drives, team drives, and group-associated storage. These operations help you locate the correct drive context before performing file or folder operations within your automation workflows.

Action

Get Drive

ONE_DRIVE_GET_DRIVE

Retrieve detailed information about a specific OneDrive storage location, including its properties and capacity details. This helps you understand the structure and status of your cloud storage to manage files more effectively.

3 input
Action

Get Drive Root Folder

ONE_DRIVE_GET_ROOT

Retrieve metadata and information about your OneDrive root folder, including storage details, item count, and access links. This helps you understand your OneDrive structure and available space at a glance.

2 input
Action

Get Group Drive

ONE_DRIVE_GET_GROUP_DRIVE

Retrieves the document library associated with a Microsoft 365 group, allowing you to access and manage files shared within that group.

2 input
Action

List Drives

ONE_DRIVE_LIST_DRIVES

Retrieves all OneDrive and SharePoint document libraries accessible to you, helping you discover available storage locations and organize your file management strategy.

8 input

Files

11 operations

Perform comprehensive file operations including uploading, downloading, searching, copying, and updating content and metadata across your OneDrive storage. This is the core category for managing individual files and their properties in automated workflows.

Action★ Featured

Copy Item

ONE_DRIVE_COPY_ITEM

Duplicates a file or folder in OneDrive to a new location, with optional renaming, while the copy completes in the background.

10 input
Action★ Featured

Download a file

ONE_DRIVE_DOWNLOAD_FILE

Retrieves a file from OneDrive and provides a downloadable URL along with metadata needed to reference the file in other applications. This allows you to access stored documents and attach them to emails or other business processes.

6 input
Action

Delete Item

ONE_DRIVE_DELETE_ITEM

Removes a file or folder from your OneDrive by moving it to the recycle bin, helping you manage your cloud storage and keep your workspace organized. Use this when you need to clean up outdated documents, redundant files, or archived projects.

4 input
Action

Download file by path

ONE_DRIVE_DOWNLOAD_FILE_BY_PATH

Retrieves and downloads files directly from OneDrive using their file path, perfect when you have the location but not the file ID. This enables automated access to documents stored in your cloud storage for processing or sharing.

3 input
Action

Download item as format

ONE_DRIVE_DOWNLOAD_ITEM_AS_FORMAT

Convert and download files from OneDrive in different formats, such as exporting Word documents as PDFs or converting Loop files to HTML. This lets you get files in the format you need without manual conversion.

6 input
Action

Get Item Metadata

ONE_DRIVE_GET_ITEM

Retrieve detailed information about a specific file or folder in OneDrive using its ID, including properties like size, creation date, and file type. This helps you understand file details without manually navigating your drive.

4 input
Action

Get Item Thumbnails

ONE_DRIVE_GET_ITEM_THUMBNAILS

Retrieve visual preview images for files stored in OneDrive at different sizes (small, medium, large). This lets you display thumbnail previews without downloading the full files, saving bandwidth and improving user experience.

7 input
Action

Get Recent Items

ONE_DRIVE_GET_RECENT_ITEMS

Retrieves files and folders the user has recently accessed or worked on, sorted by activity history rather than modification time. Perfect for quickly finding files you've been actively using without needing to remember their exact location or name.

2 input
Action

List All Drive Items Recursively

ONE_DRIVE_LIST_ALL_DRIVE_ITEMS

Retrieves a complete inventory of all files and folders across your entire OneDrive by automatically exploring every subfolder, giving you a flattened list of everything stored in your drive.

3 input
Action

List Drive Bundles

ONE_DRIVE_LIST_BUNDLES

Retrieve all file collections (bundles) stored in your OneDrive, such as photo albums or organized document folders. This helps you quickly discover and manage grouped content without browsing through individual folders.

7 input
Action

Permanently Delete Drive Item

ONE_DRIVE_DELETE_ITEM_PERMANENTLY

Permanently removes a file or folder from OneDrive or SharePoint instantly, bypassing the recycle bin so it cannot be recovered. Use this when you need to irreversibly delete sensitive or outdated documents.

2 input

Folders

2 operations

Create, navigate, and list folder hierarchies within your drives and access system special folders like Documents or Photos. Use these operations to organize your file structure and build folder-based workflows in your automations.

Action

Get Drive Special Folder

ONE_DRIVE_GET_SPECIAL_FOLDER

Quickly access important folders in OneDrive like Documents, Photos, or Desktop by name without needing to know their exact path or ID. This saves time when organizing and retrieving files from standard OneDrive locations.

4 input
Action

List Folder Children

ONE_DRIVE_LIST_FOLDER_CHILDREN

Retrieve all files and folders stored within a specific OneDrive or SharePoint folder, with built-in support for browsing large directories. Use this to explore folder contents, locate specific files, or organize your document structure programmatically.

11 input

Following

2 operations

Subscribe to and manage tracked items in OneDrive by following files and folders of interest to you. These operations help you stay updated on specific items without explicitly searching or monitoring them manually.

Action

Follow Drive Item

ONE_DRIVE_FOLLOW_ITEM

Add a file or folder to your followed items list so you can easily track updates and changes without having to manually check for modifications.

2 input
Action

Get Drives Following

ONE_DRIVE_GET_FOLLOWED_ITEM

Retrieve details about files or folders you're following in OneDrive, allowing you to quickly access important documents you've marked for monitoring.

2 input

Permissions

3 operations

Control access to files and folders by creating, viewing, modifying, and removing share permissions for specific users or groups. Use these operations to programmatically manage who can view, edit, or delete items in your OneDrive.

Action

Create Drive Item Permission

ONE_DRIVE_CREATE_ITEM_PERMISSION

Grant access to your OneDrive files and folders by creating permissions for users or groups, controlling who can view, edit, or manage your documents.

4 input
Action

Delete Drive Item Permission

ONE_DRIVE_DELETE_ITEM_PERMISSION

Revokes sharing access to a file or folder by removing a specific permission, allowing you to control who can view or edit your documents.

6 input
Action

Get Item Permissions

ONE_DRIVE_GET_ITEM_PERMISSIONS

Retrieve the complete list of who has access to a file or folder in OneDrive, including direct permissions and inherited access from parent folders. This helps you understand your document's sharing status and identify any unintended access.

8 input

SharePoint Items

1 operation

Track incremental changes to items within SharePoint site drives by retrieving only the modifications since your last sync. This enables efficient synchronization of SharePoint content with external systems or databases in delta-based workflows.

Action

List Site Drive Items Delta

ONE_DRIVE_LIST_SITE_ITEMS_DELTA

Tracks changes to files and folders in your SharePoint site's document library, showing what's been added, modified, or deleted since the last check. Use this to monitor document updates without having to review everything manually.

5 input

SharePoint Lists

3 operations

Access and manage SharePoint lists associated with your sites, including retrieving list items and tracking changes over time. These operations bridge OneDrive functionality with SharePoint data management for more comprehensive collaboration scenarios.

Action

Get SharePoint List Items

ONE_DRIVE_GET_SHAREPOINT_LIST_ITEMS

Retrieve all items stored in a specific SharePoint list to access structured data like project tasks, customer information, or inventory records. This helps you pull the latest information from your organization's shared lists for reporting, analysis, or workflow automation.

9 input
Action

List SharePoint List Items Delta

ONE_DRIVE_LIST_SHAREPOINT_LIST_ITEMS_DELTA

Efficiently track only the changes (new, updated, or deleted items) in your SharePoint list without re-reading all data, saving time and bandwidth. This is ideal when you need to stay synchronized with list updates in real-time or on a regular schedule.

6 input
Action

List Site Lists

ONE_DRIVE_LIST_SITE_LISTS

Retrieves all accessible lists from a SharePoint site, allowing you to see and organize the data repositories available within that site. Use this to discover what lists exist so you can work with the right datasets for your business needs.

6 input

SharePoint Sites

3 operations

Retrieve information about SharePoint sites, their structure, metadata, pages, and subsites to understand your site hierarchy and content organization. Use these operations to navigate site structures and extract site-level information for reporting or automation purposes.

Action

Get SharePoint Site Page Content

ONE_DRIVE_GET_SITE_PAGE_CONTENT

Retrieve the full content and details of a SharePoint site page, including text, media, and components. This helps you access and work with page information without manually navigating SharePoint.

4 input
Action

Get Site Details

ONE_DRIVE_GET_SITE

Retrieves essential metadata about a SharePoint site including its display name, web URL, and creation/modification timestamps. Use this when you need to verify site details or gather information about a specific site you're working with.

3 input
Action

List Site Columns

ONE_DRIVE_LIST_SITE_COLUMNS

Retrieves all column definitions and their properties for a SharePoint site, helping you understand the data structure available for organizing and managing site content.

8 input

Sharing

8 operations

Create and manage sharing links, grant access to users, and leverage shared item lookups to facilitate collaboration and access control. These operations streamline the process of sharing files across your organization and retrieving information about already-shared content.

Action★ Featured

Create Sharing Link

ONE_DRIVE_CREATE_LINK

Generate a shareable link for any file or folder in OneDrive, allowing you to quickly distribute content to clients, team members, or the public without manually managing permissions.

11 input
Action

Delete Shares Permission

ONE_DRIVE_DELETE_SHARE_PERMISSION

Removes a sharing link permission from a OneDrive file or folder, revoking access for anyone using that specific link.

1 input
Action

Get DriveItem by Sharing URL

ONE_DRIVE_GET_DRIVE_ITEM_BY_SHARING_URL

Converts a OneDrive or SharePoint sharing link into the file's unique identifiers and metadata, allowing you to access and manage the file programmatically.

5 input
Action

Get Shared Item by ShareId

ONE_DRIVE_GET_SHARE

Access shared files and folders in OneDrive using a share link or ID to retrieve details about what was shared and who owns it. This lets you programmatically work with files that have been shared with you without needing to manually navigate OneDrive.

3 input
Action

Get Shared Items

ONE_DRIVE_GET_SHARED_ITEMS

Retrieve all files and folders that have been shared with you by others in OneDrive, making it easy to access and manage collaborative content in one place.

1 input
Action

Grant Shares Permission

ONE_DRIVE_GRANT_SHARE_PERMISSION

Enable specific users to access a shared OneDrive or SharePoint file by granting permission through a sharing link, making it easy to control who can view or edit your resources.

3 input
Action

Invite User to Drive Item

ONE_DRIVE_INVITE_USER_TO_ITEM

Share files or folders in OneDrive with specific users and control their access level, such as read-only or editing permissions. This enables secure collaboration without giving users access to your entire drive.

13 input
Action

List Shares Permission

ONE_DRIVE_LIST_SHARE_PERMISSIONS

Retrieve detailed permission information for a shared OneDrive or SharePoint item, including access levels and security settings. Use this to audit who has access to your shared files and verify protection status.

1 input

Spreadsheets

4 operations

Work directly with Excel workbooks stored in OneDrive by reading, writing, and managing worksheet data, cells, and ranges. Use these operations to automate data entry, calculations, and spreadsheet manipulation within your integration workflows.

Action

Add Workbook Worksheet

ONE_DRIVE_ADD_WORKBOOK_WORKSHEET

Create a new sheet in your Excel workbook stored in OneDrive or SharePoint to organize and separate your data into logical sections.

4 input
Action

Delete Workbook Range

ONE_DRIVE_DELETE_WORKBOOK_RANGE

Removes a specific range of cells from an Excel worksheet in OneDrive and shifts remaining cells to fill the gap, helping you clean up and reorganize your spreadsheet data. This action is permanent and cannot be undone once executed.

5 input
Action

Delete Workbook Worksheet

ONE_DRIVE_DELETE_WORKBOOK_WORKSHEET

Removes a worksheet from an Excel workbook stored in OneDrive, allowing you to clean up and organize your spreadsheets. This action is permanent and cannot be undone.

4 input
Action

Get Workbook Worksheet

ONE_DRIVE_GET_WORKBOOK_WORKSHEET

Retrieve details about a specific worksheet in your Excel files stored in OneDrive, including its name, position, and visibility status. This lets you access worksheet information needed for automation, data processing, or integration workflows.

5 input

Users

1 operation

Retrieve profile information about the currently authenticated user, including their identity and account details. This operation is useful for personalizing workflows or validating user context at the start of an automation.

Action

Get User Profile

ONE_DRIVE_GET_USER

Retrieve detailed profile information for a Microsoft user, including their contact details and account status. Use this to access and verify user information stored in your Microsoft organization.

2 input

Versions

2 operations

Access the version history of files in OneDrive and download previous versions to recover lost work or compare changes over time. Use these operations to implement rollback capabilities or maintain audit trails of document evolution.

Action

Download Drive Item Version Content

ONE_DRIVE_DOWNLOAD_ITEM_VERSION

Retrieve and download the contents of a previous version of a file stored in OneDrive, allowing you to access earlier iterations without affecting the current version. This is useful when you need to reference, restore, or compare past versions of important documents.

4 input
Action

Get Item Versions

ONE_DRIVE_GET_ITEM_VERSIONS

Retrieve the complete version history of a file in OneDrive to access previous versions and track changes made over time. This helps you recover past content, compare different iterations, or restore an earlier version when needed.

5 input

Payments

21 operations
Action

Create a new text file

ONE_DRIVE_ONEDRIVE_CREATE_TEXT_FILE

Creates a new plain-text file with specified content in the authenticated user's personal OneDrive, using either the folder's unique ID or its absolute path…

5 input
Action

Create folder

ONE_DRIVE_ONEDRIVE_CREATE_FOLDER

Creates a new folder in the user's OneDrive with configurable conflict behavior, optionally within a specified parentfolder (by ID or full path from root)…

5 input
Action

Delete Drive Following

ONE_DRIVE_UNFOLLOW_ITEM

Tool to unfollow a driveItem by removing it from the user's followed items collection.

1 input
Action

Find Folder

ONE_DRIVE_ONEDRIVE_FIND_FOLDER

Finds folders by name within an accessible parent folder in OneDrive, or lists all its direct child folders if no name is specified.

8 input
Action

Find Item

ONE_DRIVE_ONEDRIVE_FIND_FILE

Non-recursively finds an item (file or folder) in a specified OneDrive folder; if folder is provided as a path, it must actually exist.

4 input
Action

List OneDrive items

ONE_DRIVE_ONEDRIVE_LIST_ITEMS

Retrieves all files and folders as driveItem resources from the root of a specified user's OneDrive, automatically handling pagination.

3 input
Action

List Site Subsites

ONE_DRIVE_LIST_SITE_SUBSITES

Tool to list all subsites of a SharePoint site.

6 input
Action

List Subscriptions

ONE_DRIVE_LIST_SUBSCRIPTIONS

Tool to list the current subscriptions for the authenticated user or app.

Action

List Workbook Worksheets

ONE_DRIVE_LIST_WORKBOOK_WORKSHEETS

Retrieves a list of all worksheets in an Excel workbook stored in OneDrive or SharePoint.

6 input
Action

Move Item

ONE_DRIVE_MOVE_ITEM

Tool to move a file or folder to a new parent folder in OneDrive.

8 input
Action

Preview Drive Item

ONE_DRIVE_PREVIEW_DRIVE_ITEM

Generates or retrieves a short-lived, permission-bound embeddable URL for a preview of a specific item.

8 input
Action

Read Workbook Range

ONE_DRIVE_READ_WORKBOOK_RANGE

Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API.

6 input
Action

Restore Deleted Item

ONE_DRIVE_RESTORE_DRIVE_ITEM

Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin.

4 input
Action

Search Items

ONE_DRIVE_SEARCH_ITEMS

Search OneDrive for files and folders by keyword.

13 input
Action

Update Drive Item Metadata

ONE_DRIVE_UPDATE_DRIVE_ITEM_METADATA

Tool to update the metadata of a specific item (file or folder) in OneDrive.

11 input
Action

Update Drive Item Permissions

ONE_DRIVE_UPDATE_DRIVE_ITEMS_PERMISSIONS

Tool to update the roles of an existing permission on a OneDrive drive item.

7 input
Action

Update File Content

ONE_DRIVE_UPDATE_FILE_CONTENT

Tool to update an existing file's content in OneDrive.

13 input
Action

Update Workbook Range

ONE_DRIVE_UPDATE_WORKBOOK_RANGE

Updates a range in a workbook worksheet using Microsoft Graph API.

8 input
Action

Update Workbook Worksheet

ONE_DRIVE_UPDATE_WORKBOOK_WORKSHEET

Updates properties of a worksheet in an Excel workbook stored in OneDrive.

7 input
Action

Upload file

ONE_DRIVE_ONEDRIVE_UPLOAD_FILE

Uploads a file to a specified OneDrive folder, automatically creating the destination folder if it doesn't exist, renaming on conflict, and supporting large…

10 input
Action

Write Workbook Cell

ONE_DRIVE_WRITE_WORKBOOK_CELL

Updates the value, formula, or format of a specific cell in an Excel workbook stored in OneDrive.

9 input
What now

Use OneDrive in a workflow

Drop a trigger and an action into a template; approve from your phone; the workflow runs.