cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SylvieLet17 Helper V
Helper V

Using Send an HTTP Request to SharePoint to get email

Hi all, 

 

I'm trying to build a flow to email a SharePoint security group from a site collection. 

I've successfully used the "Send an HTTP request to SharePoint" action to retrieve the email address:

 

Method: GET

URI: "_api/Web/SiteGroups/GetById(79)/users?$select=Email"

 

How do I then use the output in a "Send an email" Outlook action?

I saw something somewhere about using the Parse JSON action, but I am brand new to JSON and could use a bit more "for dummies" help.

 

Any advice?

Thanks

 

2 REPLIES 2
Community Support
Community Support

Re: Using Send an HTTP Request to SharePoint to get email

Hi @SylvieLet17,

 

This doc on working with lists and list items with REST could be your reference:

https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-re...

 

When using Get request, if you want to parse the response, you can query the body of the action then parse through the JSON array or object depending on your response.

Please check this blog for more details:

https://www.chakkaradeep.com/2018/05/16/working-with-the-sharepoint-send-http-request-flow-action/

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Administrator
Administrator

Re: Using Send an HTTP Request to SharePoint to get email

Hello,  @SylvieLet17!

Have you had an opportunity to apply @v-yamao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!


Thank you for being an active member of the Flow Community!

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (6,271)