How to check-in multiple files

This article explains how to check-in multiple documents. This approach works in SharePoint 2013 / 2016 / 2019 / SE as well as for SharePoint Online in Microsoft 365.

Let’s imagine a situation where during a day people work with documents in SharePoint Document library. To work with some document user takes it to work and mark it as check out, but at the end of the day, every document should be checked-in back.

Below you can find an example of a small workflow which gets all documents in check-out status and does check-in for each one.

The action Get Item by Query was used with the following configuration:

Notice that the endpoint was “client.svc” to get the data and expand File property to get File/ServerRelativeUrl

To check-in a document Check-in Document was used.

We also recommend you to read our article Check-in multiple SharePoint documents in Power Automate.