I am creating a document approval flow with a few customizations based off of my client's requirements.
Now, in order to start a approval action - I need to fetch the permission groups for the document being processed. I have a bunch of Groups that have been assigned permissions in a document library - each folder in the library basically has a corresponding security group (unique permissions).
But, for now, I just need to figure out how to get these groups.
Retrieving the permissions on a list item is not natively support ing Flow - there is no action that will do what you want. However, you should be able to find the permissions on a list item by using the SharePoint REST API in your Flow.
Here are some links that should help you get there: