SharePoint Site Setting

Step 1: Create SharePoint Custom List - ProjectFolder, FolderList.

Step 2: Create SPD List Workflow.

Create SPD List Workflow

Workflow

Create Workflow Variable

Step 3: Create Basic Workflow Pattern.

Create Basic Workflow Pattern

Step 4: Create Workflow Variable & assign some default values to them.

LinkToDoc

Step 5:
Web Service Call.

responseHeader

Step 6:
As per the order of the folder, set workflow variable values. Go to the next stage once variable initialization completes.

variable initialization

Step 7 Create Project Folder.

We first need to create a root folder to save sub folder, so at this stage we are going to create a parent folder.

To create Folder insert action named "Create Item".

Click 'this list", then Site Collection Documents and Add New Field. After that "Set this field" as Content Type ID and Folder for "To this value"

Content Type ID

In order to set Parent Folder Path , we need to modify the following field: "Path and Name".

Path and Name

Step 8: Create Sub Folder.

To create Folder insert action "Create Item".

Click "this list", then under Site Collection Documents - Add New Field, then Content Type ID = Folder
Folder Path play an important role here: ParentFolder/SubFolder

Site Collection Documents

Step 9: Workflow Finished.

We need to update List field i.e SubFolder Location as in the following screenshot:

Location

Workflow

Workflow stage

Workflow

Web Service Call

Output:

Output Continue ..
Workflow Histroy
Thank you !!! Please mention your queries if you have any.