How to create folder in Sharepoint using Office365 scope

@Scepanik_Mateus_uie11118

Response of find files with wuery as one less than yyyy folder and sub folder as leaving the query folder…that output should be given in the create folder

So eg: f1/f2/f23/yyyy is not found then use find files with query as f3 and sub folder as f1/f2 and give the output in create folder…

Cheers