In this guide, we will learn how to create, rename, and delete folders in a SharePoint Document Library using the Send an HTTP Request to SharePoint action in Power Automate.

Goal

Screenshot - 2026-05-11T145038.931

Stepwise Implementation

1 - Create a flow from Power Automate

2 - Add SharePoint HTTP Action

Screenshot - 2026-05-11T145645.488

3 - Create folder in Document library.

_api/web/GetFolderByServerRelativeUrl('Shared Documents/Agreements')/folders/add('Test')
Screenshot - 2026-05-11T145801.981

4 - Rename folder

_api/web/GetFolderByServerRelativeUrl('Shared Documents/Agreements/Test')/ListItemAllFields
Screenshot - 2026-05-11T150203.387

5 - Delete folder

_api/web/GetFolderByServerRelativeUrl('Shared Documents/Agreements/Test-Renamed')
Screenshot - 2026-05-11T150658.672

Conclusion

We learnt that by using the SharePoint HTTP action, we can manage folder operations in a Document Library in Microsoft Power Automate.