Re: Call user email from powerapps into flow
I think I may have found a better way to get the email address of the user clicking on the button to use in Power Automate. I'm using the PowerApps (V2) trigger, which I think is the same as you. The trigger produces an output that can be queried. The 'body' portion of the output from the trigger is what you're typically referencing (contains the values of the trigger parameters, such as 'Text" and "Text_1', etc.), but there is also a 'headers' section in that structure.
You can either parse that whole structure and get easy access to a bunch of potentially useful information, or you can directly reference the information you're looking for. If you want to parse, just look at the Output from the Trigger in a recent execution.
If you want to directly reference the email, then here it is:
To get email: @{triggerOutputs()?['headers']?['x-ms-user-email']}
To get user's name: @{triggerOutputs()?['headers']?['x-ms-user-name']}
There's a lot of other metadata in that header that could be useful.
I hope this helps someone.
I believe this gives you the email address of the user that clicked the button. There's a lot of detail in the header structure that's worth looking through, including their name as well. I hope that helps.
If you wanted to customize it to go to any email based on a selection in PowerApps, then the workaround method already suggested will do that. B