Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

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

(0) ShareShare
ReportReport
Posted on by 41

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

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    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

     

  • tiaanop123 Profile Picture
    41 on at
    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

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    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".

     

     

  • tiaanop123 Profile Picture
    41 on at
    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

  • tiaanop123 Profile Picture
    41 on at
    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

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    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

     

     

  • tiaanop123 Profile Picture
    41 on at
    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 🙂

  • Verified answer
    ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    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.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow