Re: How To filter people in flow from people field of sharepoint
Hi @KanwalKaurSaini
What do you mean about site admin? Do you mean the users who have SharePoint admin role configured in Microsoft 365?
From your information, I think you want to send email to all site owners in a specified site. If yes, you can use “Send an HTTP request to SharePoint” action to get a list of site owners and then you can send emails to them.
Since you want to send emails at different times, I create a Scheduled flow for a test.
1. add a “Send an HTTP request to SharePoint” action, select “Get” of Method, and set Uri to below(testpowerapp is my site name):
_api/Web/SiteGroups/GetByName('yoursitename Owners')/users

2. Add a Array Variable called users, using this expression:
body('Send_an_HTTP_request_to_SharePoint')['d']['results']

3. Addanother two variables:

4. Append each email into the user variable:
concat(variables('users')[variables('i')]['Email'],';')

Here is the full flow:

In the last of the flow, send email directly using the user variable(I add a compose action to check the result):


Reference:
https://www.portiva.nl/portiblog/2018/06/05/microsoft-flow-perform-actions-on-users-in-a-sharepoint-group-using-the-api
Best regards,
Allen