cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

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

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
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager
Power Platform Communities

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Top Kudoed Authors
Users online (8,857)