How to retrieve and transmit the mail of the user logged in front to my logicc app

Marc Nachin 6 Reputation points
2023-01-06T16:11:16.45+00:00

Hello,

I have a front-end portal with a profile page only accessible to logged-in visitors. On this page appears the email of my user.

276976-pict1.png

On this profile page I would like to add a button that calls my logic app and transmits the email of the logged in user.276991-pict2.png

Thanks a lot for your help,
Marc.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,557 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Andrew Blumhardt 10,051 Reputation points Microsoft Employee
    2023-01-06T20:25:48.9+00:00

    Maybe this link will help. The JSON schema should parse the email from the webhook and it will be available as dynamic content.

    https://www.flowjoe.io/2019/08/27/understanding-the-trigger-when-a-http-request-is-received/


  2. MayankBargali-MSFT 70,941 Reputation points Moderator
    2023-01-09T06:28:45.633+00:00

    @Marc Nachin Thanks for reaching out. As this is your custom application (front-end portal) you need to modify your application to make a HTTP call that passes the email and other details as required by your business need.

    First you need to create the HTTP trigger in your logic app and for more details refer to this document. Once you have HTTP Post URL from logic app after saving the action now at your front end as you want to leverage the button in your application. You can create the button at your front end and at the back end call on button click you need to make REST call with the required details (email ID etc.) that will be passed from your application code to the HTTP Post URL of logic app.

    Feel free to get back to me if you need any assistance from logic app end.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.