cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tiaanop123
Level: Powered On

to build a gift register, my flow works to myself but not my manager for the submitter

hi guys

 

the flow posted below works, but it works from my email account. i dont want the company to use the form and then get a response from my email account.

 

also it works to send my manager an email but i cant get it to work to send the submitter of the form's manager an approval email.

 

what am i doing wrong?working snip1.PNGworking snip2.PNGworking snip3a.PNGworking snip3b.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: to build a gift register, my flow works to myself but not my manager for the submitter

@tiaanop123 :

In order to have the emails sent from someone other than yourself you have a number of options:

  1. Use a service account fro the connection to the send an email action.  The email will be sent from that account.  The downside is that the service account will need an Office 365 license.
  2. Use the Send an Email Notification action (green envelope) rather than a send email action.  You'll have about the same options as you do in the send an email action but it will as from "PowerApps or Flow".
  3. Use a shared mailbox and the Office 365 Outlook Send an Email from a shared mailbox action.  The email will show as being from the shared mailbox.

Regarding you issue with the approver, you should remove the Get My Profile action.  In the configuration of the Get Manager action, you should use the email address of the person who submitted the from.  This is available to you via Dynamic properties.  You should continue to use Mail from Dynamic properties for the Get Manager action for the approver.

 

If you need additional help, just ask.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

8 REPLIES 8
Super User
Super User

Re: to build a gift register, my flow works to myself but not my manager for the submitter

@tiaanop123 :

In order to have the emails sent from someone other than yourself you have a number of options:

  1. Use a service account fro the connection to the send an email action.  The email will be sent from that account.  The downside is that the service account will need an Office 365 license.
  2. Use the Send an Email Notification action (green envelope) rather than a send email action.  You'll have about the same options as you do in the send an email action but it will as from "PowerApps or Flow".
  3. Use a shared mailbox and the Office 365 Outlook Send an Email from a shared mailbox action.  The email will show as being from the shared mailbox.

Regarding you issue with the approver, you should remove the Get My Profile action.  In the configuration of the Get Manager action, you should use the email address of the person who submitted the from.  This is available to you via Dynamic properties.  You should continue to use Mail from Dynamic properties for the Get Manager action for the approver.

 

If you need additional help, just ask.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

tiaanop123
Level: Powered On

Re: to build a gift register, my flow works to myself but not my manager for the submitter

thank you very much for getting back to me, when you say "use service account" do you mean to log in with that to flow.microsoft.com and rebuild my flow from scratch? or can i just modify the connecter inside my exisiting flow as you see on the screenshots when it comes to the sending email part in the flow?

 

thanks so much for the other input as well, i will implement this tomorrow morning south african time and let you know how it went 🙂

Super User
Super User

Re: to build a gift register, my flow works to myself but not my manager for the submitter

@tiaanop123 

To use a service account, you won't need to rebild the Flow.  You'll need to create a new connection - click on the elipses at the top right of the action and click on Add new connection.  Then, follow the prompts.  You'll need to user logon info for the service account including the password.  The email will be sent from the account used for the connection - i.e. the service account.

Connection.jpg

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
tiaanop123
Level: Powered On

Re: to build a gift register, my flow works to myself but not my manager for the submitter

1. thanks ill do that

2. thanks that looks like its works.

3. will do this

4. "Regarding you issue with the approver, you should remove the Get My Profile action. In the configuration of the Get Manager action, you should use the email address of the person who submitted the from."

 

I do not see the email address in the dynamic content. see my screenshot.getmanager.PNG

tiaanop123
Level: Powered On

Re: to build a gift register, my flow works to myself but not my manager for the submitter

I think im cursed 😛 , when i try to create a new connection for the mail sending step it gives me this ugly looking piece of code. newconnectionformail.PNG

Super User
Super User

Re: to build a gift register, my flow works to myself but not my manager for the submitter

@tiaanop123 

Place the Get Manager action inside the loop immediately after the Get Response details action.  The email address of the person who submitted the form will be available from Dynamic properties for the Get Response Details action.

 

You do not need to create a new connection for the send an email notification action.  It will show as being from "PowerApps or Flow".

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
tiaanop123
Level: Powered On

Re: to build a gift register, my flow works to myself but not my manager for the submitter

sorry sir, i know my questions must sound dumb.

 

but when i place the get manager trigger directly after the get response in "apply to each 2" flow it does not give the option to select the submitter's email from dynamic properties.

 

also if i dont create a new connection how will the flow know not to use my work account to send the email but use the service account email instead? if i log into that account into flow.microsoft.com then i need to create the flow from scratch. if i try to add the connection to that action it gives me that funny looking error/website i posted in previous comments.get manager 1.PNG

Super User
Super User

Re: to build a gift register, my flow works to myself but not my manager for the submitter

@tiaanop123 

Please scroll down a bit in Dynamic properties and look for Responders Email- it should be there unless the survey is configured not to collect the responders email.  Your survey is saving the email of the responder as you show it in other screen shots.

ResponderEmail.jpg

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,035)