Create Folder

Create a folder in OneDrive.

Options

Field Definition Type Required

Source

Choose a source:

  • My Drive: authenticated user's OneDrive.
  • Drive ID: a specified drive by the drive's unique ID.
  • Group ID: a specified group's document library for a group by the group's unique ID.
  • User ID: a specified user by the user's unique ID.

Dropdown

TRUE

Input Type Choose the input type for specifying the parent directory where the folder is created:
  • Folder ID: unique ID of the folder.
  • Folder Path: file system path of the folder.

Dropdown

TRUE

Input

Field Definition Type Required

Drive

Drive ID

Unique ID for the drive requested.

Appears when Drive ID is selected from the Source option.

Text

TRUE

Group

Group ID

Unique ID for the group which owns the document library.

Appears when Group ID is selected from the Source option.

Text

TRUE

User

User ID

Unique ID for the user object who owns the drive item.

Appears when User ID is selected from the Source option.

Text

TRUE

Folder

Parent Folder ID Unique ID of parent folder.

Appears when Folder ID is selected from the Input Type option.

Text

TRUE

Parent Folder Path Path of the parent folder.

Appears when Folder Path is selected from the Input Type option.

Text

TRUE

Name

Name of the folder.

Text

TRUE

Conflict Behavior Choose the conflict behavior. Choose from:
  • Replace
  • Rename
  • Fail

Dropdown

TRUE

Description

Description of the folder.

Text

FALSE

Output

Field Definition Type
Folder ID

Unique ID of the folder.

Text

Name

The name of the folder.

Text

Parent Reference

Drive ID

Unique ID of the drive.

Text

Drive Type Describes the type of drive represented by this resource. OneDrive personal drives will return personal. OneDrive for Business will return business.
Parent Folder ID

Unique ID of parent folder.

Text

Path

File system path of the file or folder.

Text

Created By

Name

Name of the user who created the folder.

Text

Email

Email address of the user who created the folder.

Text

User ID

Unique ID of the user.

Text

Created Date

Date and time of item creation.

Date & Time

Last Modified By

Name

Name of the user who modified the folder.

Text

Email

Email address of the user who modified the folder.

Text

User ID

Unique ID of the user.

Text

Last Modified

Identity of the folder which last modified the folder.

Text

Web URL

URL that displays the resource in the browser.

Text

CTag

ETag for the content of the item. This ETag is not changed if only the metadata is changed.

Text

ETag

ETag for the entire item (metadata and content).

Text

Size

Size of the item in bytes.

Number

Related topics

OneDrive connector

Workflow elements

Guidance for OneDrive connector

Microsoft Graph API documentation