I need to send email to the user who executed the flow on a selected item in document library. I am using "Get my profile (V2)" but somehow it's picking the user who published the flow.
Any help is greatly appreciated.
Solved! Go to Solution.
You need to use the "Get user profile (V2)" action and not "Get my profile (V2)".
Use the User email available to you in Dynamic properties for the "User(UPN)".
If this addresses your issue, please mark your post as Solved.
Scott
You need to use the "Get user profile (V2)" action and not "Get my profile (V2)".
Use the User email available to you in Dynamic properties for the "User(UPN)".
If this addresses your issue, please mark your post as Solved.
Scott
Thanks Scott for your help.
Hi
Thank you very much from Madrid.
I am dealing with Microsft Forms. Could I get with a flow & “Get user profile” the display name of the user who responded the survey?
Thank you very much in advance for any suggestion
Javier
Thank you very much Scott!
Indeed I would strongly appreciate an example or jusr to list the steps I must follow. I am reading & reading but I cannot guess how to accomplish it.
I found others who parse JSON files... I don't believe it would be so complicated
Yours
Javier
Please post an example. I'm still stuggling to get it to find/use the the person who filled out the form.
Just an update on my flow, I was able to have it find/use the email address of the person who filled out the form but I still can't make it use their name instead. Not a big deal - just a minor annoyance.
I tried the flow succesfully.... what I am not able to send is the photo. I recovered it... I create good HTML code... I convert the photo to base64, but at the end Outlook cannot show the photo!
I want to do something similar (get the user who executed the flow by pressing a button in PowerApps) but I do not see those options available.
I do not see any "For a selected item" type action and none of the actions I try have the dynamic content of "User email - The email address of the user who triggered the flow."
I do not see any way to get the executing user, except to pass it in as a variable from PowerApps, which I am hestitant to do because sometimes that breaks the link and I have to do a workaround to recreate it.
The problem I want to solve is that 2 different users could press the PowerApps button and trigger the flow and I want to keep track of the user who launched and compare with the previous user who updated the record so that I can prevent User 2 from overwriting what User 1 did.
Has this been changed? It wasn't working for me. I did a Compose to see what UserEmail was returning and it looks like a guid
To get the User email running the Flow, you can use:
triggerOutputs()['headers']['x-ms-user-email']
When trying to run your suggestion @simon-int , I get the following error:
Parsing OData Select and Expand failed: Missing select option on property 'triggerOutputs'. If a parenthesis expression follows a selected property, then at least one query option must be provided.
Any suggestions?
What type of Flow is running? I think this should work on an 'Instant cloud flow' I am using it on an Instant cloud flow with PowerApps trigger. I'm able to extract the User email of who has triggered the Flow using this Expression.
hey simon,
mine isnt working too. i used "When an email is flagged (V3)"
but as i am adding the mail to a sharepoint list, i can get from this item the creators email.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
30 | |
29 | |
28 | |
20 | |
11 |