Skip to content

Create Sharepoint Folder

Creates a new folder within a specified SharePoint document library path using Microsoft Graph API. This node allows you to automate folder creation as part of your workflow process.

Node Type

task

Task Type

Create Sharepoint Folder

Description

This task creates a new folder in a given SharePoint location. It uses a service account authenticated through Microsoft Graph to access and manipulate SharePoint resources. This is useful for organizing files into newly structured directories as part of automated flows.

Required Inputs

LabelInputTypeDescription
Sharepoint FoldertextThe full path string pointing to the SharePoint location where the new folder will be created.
New Folder NametextThe name of the folder to be created inside the specified SharePoint folder.

Notes:

  • The Sharepoint Folder input should correspond to a structured path used by your environment, which can be parsed to extract the site, document library, and folder path.
  • The task retrieves service credentials using the ThirdParty-Autodesk service account input.
  • If the folder creation fails due to bad path parsing or service token retrieval errors, the task will return a failed result.

Outputs

NameDescription
NewSharepointFolderA DriveItem object representing the newly created SharePoint folder.

ℹ️ The output can be used in downstream tasks for file uploads or linking operations.

Success Criteria

The task will return a success status when the folder is successfully created in SharePoint. In case of errors (e.g., invalid path, missing inputs, token issues), an appropriate failure message is returned.

Example Use Case

You can use this node immediately after an approval process to pre-create a folder structure in a SharePoint library for storing new project files, contracts, or documents related to that workflow instance.


Tentech 2024