I'm new using power automate.
I've seen posts to send emails to the users of a specific group in a SharePoint site. But what I need is to send an email to each user from all the groups that my site has.
I've made an HTTP request for every group in the site (I have 13 groups in my site), but my problem is that I don't know how to merge each of the JSON returned in a single array and then delete the duplicated users (because some people are in more than one group), so I can then send the emails to each one of the users in the final array.
Also I don't know if there is an easier method to avoid putting so many HTTP requests. As you can see in my image, my flow is already big and I don't think it would be good if it becomes bigger. Of course I won't care if nothing can be done to reduce this, as long as it works.
Thanks in advance!