In this article, we will explore how to automate the process of checking out and checking in document files in a SharePoint Document Library using Power Automate. Instead of manually managing document versions, we can leverage the SharePoint HTTP action to automate the check-out and check-in process.
Stepwise Implementation of Flow Creation
1 - Open Power Automate
Go to make.powerautomate.com
You can select any flow type based on your requirement, here i have used instant (manual).
2 - Add files in Document Library
![Screenshot - 2026-03-12T144228.965]()
3 - Add Send HTTP action of SharePoint for Check Out file
![Screenshot - 2026-03-12T144140.226]()
_api/web/GetFileByServerRelativePath(DecodedUrl='/sites/UserDataTest/ComplianceTeam/Book.xlsx')/CheckOut
Where in DecodeUrl, put path of file in it.
4 - Add Send HTTP action of SharePoint for Check In file
![Screenshot - 2026-03-12T144619.078]()
_api/web/GetFileByServerRelativePath(DecodedUrl='/sites/UserDataTest/ComplianceTeam/Book.xlsx')/CheckIn(comment='Test comment')
Where in comment, you can place your comments in it.
5 - Save and Run Flow
![Screenshot - 2026-03-12T145000.313]()
Conclusion
With just a few simple steps, you can leverage Power Automate to improver your workflows and reduce manual effort in managing SharePoint documents.