SharePoint Files icon

SharePoint Files

Manage files and folders in SharePoint sites via Microsoft Graph API

Create Folder

AI-generated

Summary

Create a new folder within a specified SharePoint drive and path using Microsoft Graph API.

Inputs

  • Site (required) — Select the SharePoint site either from a searchable list or by providing the site ID.
  • Drive (required) — Select the drive within the SharePoint site either from a searchable list or by providing the drive ID.
  • Folder (required) — Choose the parent folder path from a list or specify the path manually where the new folder will be created.
  • Folder Name (required) — Provide the name of the new folder to create inside the specified folder path.

Output shape

a single record with the new folder's metadata in JSON format

Returns the JSON response from the Microsoft Graph API containing details about the created folder. If multiple input items are processed, returns one output item per input item, paired accordingly.

Examples

Example 1: Create a folder named 'Reports' inside the '/Documents' folder on a specific SharePoint site drive.

Site selected from list, drive selected from list, folder path set to '/Documents', folder name set to 'Reports'.

Links

Discussion