OneDrive Business icon

OneDrive Business

Access OneDrive Business files and folders

Folder → Get Items

AI-generated

Summary

Get Items operation for the OneDrive Business node (Folder resource) retrieves all items (files and folders) inside a specified folder.

Inputs

  • main — Optional input data. Each input item triggers the operation; parameters can be set per item using expressions.

Output shape

array

For each input item, returns an array of DriveItem JSON objects representing the folder’s children. Each output item includes json (the DriveItem) and pairedItem metadata linking to the input index.

Examples

Example 1: List contents of a user’s 'Documents' folder.

Set Resource = Folder, Operation = Get Items, Drive Type = User Drive, User ID = user@contoso.com, Folder ID or Path = /Documents.

Example 2: List contents of a SharePoint site folder.

Set Resource = Folder, Operation = Get Items, Drive Type = Site Drive, Site ID = contoso.sharepoint.com,site-id,web-id, Folder ID or Path = /Shared%20Documents/Projects.

Links

Discussion