web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Quick Subscribe Button...
Power Automate
Unanswered

Quick Subscribe Button using Flow to add emails to a SP list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

I'm stuck on this flow. I need to create a flow that does the following:

1. User clicks a button on a SharePoint site page. - done

2. Button triggers Microsoft Flow. - done

3. Microsoft Flow gets user's email address. - I was able to get email address back by using https://<companysitename>.sharepoint.com/_api/Web/CurrentUser/Email

4. Microsoft Flow uses Create Item to put the retrieved email address in a SP list.

 

My problem is that I have all the bits and pieces working, but I can't get them all to work together. The button works, the flow triggers, the URL makes sense when I use it in a browser, and MS Flow is creating a list item, but the list item is missing the email address.

 

Here's my Flow:

 

===Trigger: "When a HTTP request is received"===

 

JSON:

{
"content-type": "application/json;odata=verbose",
"function": "getCurrentUser",
"type": "object",
"properties": {
"email": {
"type": "string"
}
}
}
 
Method: GET
relativePath: Web/CurrentUser/Email
 
===Action: "Sharepoint Create Item"===
 
Site Address: URL for list
List Name: name of list
Email: required field that I'm trying to fill, passing the "email" parameter from the trigger
 
 
Any help would be appreciated!
Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    When working with the Request trigger or the HTTP actions, you may need to parse out JSON data. Please add an action Parses JSON in your flow to see if it will work.

     

    More details about Parse JSON action, please check it at here:

    https://flow.microsoft.com/en-us/blog/five-services-json-http/

     

    There is a blog about Parse JSON action, please take it for a reference:

    http://johnliu.net/blog/2018/6/a-thesis-on-the-parse-json-action-in-microsoft-flow

     

     

    Best regards,

    Mabel Mao

  • GabrielStJohn Profile Picture
    Microsoft Employee on at

    Hello,  @Anonymous!

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 298 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 150 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 147 Super User 2026 Season 2

Last 30 days Overall leaderboard