PowerAutomate Add Folder Sharepoint REST add folder Sharepoint REST create folder Power Automate Add Folder

PowerAutomate Add Folder

On 10/02/2023

In Power plateform

Powerautomate get folder by url 


/_api/web/GetFolderByServerRelativeUrl('@{variables('WebserverRelativeUrl')}/@{variables('DoclibUrl')}/Fiche_@{variables('FicheId')}')
GetfolderVerify status (exists = 200, does not exists = 404)

@{outputs('HttpGetFolder')['statusCode']}


{
  "Accept": "application/json; odata=verbose",
  "content-type": "application/json; odata=verbose"  "If-Match": "*"
}

Create folder


/_api/web/folders/add('@{variables('DoclibUrl')}/Fiche_@{variables('FicheId')}')

Createfolder

 

Sharepoint REST Power PlateForm

No ratings yet - be the first to rate this.