cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
SylvieLet17
Level 8

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 Team
Community Support Team

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,679)