Actions13
Folder → Get Items
AI-generatedSummary
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) andpairedItemmetadata 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.