Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Answered

Dynamic Content for Approvers Needed

(0) ShareShare
ReportReport
Posted on by

Hello. I want to ask a question and in dire need of the solution here.

 

So my office wants to automate leave requests using Approvals. But we want to limit the 'Assigned to' row to just 2 people, who are the Human Resource and the requester's Supervisor. Normally in the 'Assigned to' should have the targeted email addresses, correct? But did I go wrong in my steps hence it's missing from the dynamic contents here? Perhaps should I parse my test run beforehand?

 

Any help or suggestions are appreciated. Thank you so much

 

 

SKADITYA88_0-1650275354976.png

The Start and Wait for Approval action I'm troubled with.

 

SKADITYA88_2-1650275693236.png

The overall automation

 

  • Monkeyman Profile Picture
    325 on at
    Re: Dynamic Content for Approvers Needed

    Nice one. Good luck !

  • SKADITYA88 Profile Picture
    on at
    Re: Dynamic Content for Approvers Needed

    Thank you Monkeyman. For now I will try to use your solution. Hope it goes well

  • Verified answer
    Monkeyman Profile Picture
    325 on at
    Re: Dynamic Content for Approvers Needed

    Hey

     

    It depends how people are filling in the form. If they are filling in the form with the approver’s names, you could use the Office 365 Users connector to find the user and then use the Mail dynamic content as the value in the Assigned To field. 

    This would mean that the users would have to be inside your M365 tenancy. You would then need to build a condition that if the customer supplies a name that does not exist or cannot be found they are emailed to be told they have chosen an invalid approver and would have to restart the process. 

  • SKADITYA88 Profile Picture
    on at
    Re: Dynamic Content for Approvers Needed

    Yes, I can type in the email of the approvers. But sometimes the approvers may vary according to each division. What I'm looking for is how to set the emails the requester had written in the approval forms, and then it can be used as an input in the 'Assigned to' box. 

     

    So the names written as approvers in here...

    SKADITYA88_0-1650329661033.png

     

     

    Can be used as a dynamic content or referred here:

    SKADITYA88_1-1650329781062.png

     

  • Monkeyman Profile Picture
    325 on at
    Re: Dynamic Content for Approvers Needed

    Hey

     

    so you can just put in the email addresses of who needs to approve these requests and it will look them up and resolve the names from your M365 tenancy. 

    Alternatively, a slightly better way to do this is to have a SharePoint list or Dataverse table with your approver by department listed, and look up that table and pull back the email addresses. 

    also in your condition step, you’ll want to change the word “Accept” to “Approve”. 

    If I have helped you, please mark this reply as an accepted solution. 

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492