Create a Folder in Another Folder

Creates a new folder at the given SharePoint document library item using the Microsoft Graph API.

Syntax

Below is a line-by-line overview of the automation syntax. Expand each line to learn more.

create the folder in another folder

What does it do? This is the base syntax for the procedure.

Where does it go? This phrase should be written on a new line.

Is it required? ✅ Yes — This phrase is required in the syntax.

Does it require input data? ✅ Yes — The folder under which the new folder will be created must be specified for the another folder.

the folder name is

What does it do? Specifies the name of the folder to be created.

Where does it go? This phrase should be indented beneath create the folder in another folder

Is it required? ✅ Yes — This phrase is required in the syntax.

Does it require input data? ✅ Yes — A text value should be specified as the name of the folder to be created.

Example: the folder name is "folder name"

the conflict behavior is

What does it do? Specifies the behavior when a conflict occurs. Possible values are 'fail', 'replace', 'rename'.

Where does it go? This phrase should be indented beneath create the folder in another folder

Is it required? 🌟 No — This phrase is optional in the syntax.

Does it require input data? ✅ Yes — A text value should be specified as the behavior when a conflict occurs. Possible values are 'fail', 'replace', 'rename'.

Example: the conflict behavior is "fail"

Default: rename

Examples

1. Create a folder named "My New Folder" under the folder "My Folder"

get a folder at "/My Site/My Documents/My Folder"
use the above as the another folder
create a folder in another folder with name "My New Folder"

Last updated

Was this helpful?