cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
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.
Highlighted
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
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager
Power Platform Communities

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

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