Actions4
List
AI-generatedSummary
List files and folders within a specified folder in a SharePoint drive using Microsoft Graph API.
Inputs
- Site (required) — The SharePoint site to list from, selectable either by searching available sites or specifying the site ID.
- Drive (required) — The drive within the selected site to list from, selectable either by searching available drives or specifying the drive ID.
- Folder — The folder path within the drive to list items from; defaults to root ('/'). Can be selected by searching folders or specified by a folder path.
Output shape
a list of files and folders as individual JSON items, each representing one child item within the specified folder.
Returns all children items recursively handling pagination. Each item includes metadata of files or folders within the target folder. Errors during execution can optionally continue with error details per item if 'Continue On Fail' is enabled.
Examples
Example 1: List all files and folders in a drive root folder
Set Site and Drive using the list mode and keep Folder path as '/' (root). The node outputs all files and folders in the root.