Creates a new folder at the root of the given SharePoint document library using the Microsoft Graph API.
To use this procedure, make sure your agent has learned the Sharepoint Book (BDK).
Syntax
Below is a line-by-line overview of the automation syntax. Expand each line to learn more.
create a folder in the document library
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 document library where the folder will be created must be specified for the document library.
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 a folder in the document library
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 a folder in the document library
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 "replace"
Default: rename
Examples
1. Create a folder named "My New Folder" in the document library "My Documents"
get site from sharepoint whose name is "Human Resources"
get some site's document libraries
create a folder in the first library
the folder name is "My New Folder"