I have created a flow with trigger of "When a HTTP request is received", below is the flow
The flow runs successfully for owner and owner receives the mail however when other user triggers this flow the mail again received to owner only instead of user mailbox.
Is there any changes need to be done in flow so that when user triggers this flow, user will receive the mail instead of owner ?
Thanks and waiting for some solution.
Hello @Sairaj ,
the 'Get my profile' action will get the profile of the user whose connection it's using. And since the flow is using your connection, it'll always take your profile = send an email to you (the owner).
If it should send the email to some other user, then you must send the information about the user as part of the HTTP request, and then use that user to send the email.
Hello @tom_riha ,
Thanks for your response however which connector one should use to get the user details so that user will receive the mail once flow runs successfully.
@Sairaj , it's not about connector, it's about providing the flow with the necessary data. You can use your own connectors in the flow, as long as you don't use for the recipient:
@tom_riha I understood this however I am unable to execute the same. I also changed the flow with connector Get user profile however it gets failed when triggered by other user.
Should I change the trigger as I need to embed this in power bi report. I have tried with below trigger as well however faced same issue as mentioned in my first message.
@Sairaj , I didn't use the Power BI button trigger yet, but check what dynamic contents it gives you. If it provides email of the user who clicked the button or any other information about him which you could use.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
If you are a small business ISV/Reseller, share your thoughts with our research team.