Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Send mail to manager depending on selected department

(0) ShareShare
ReportReport
Posted on by 7

Hi all,

Probably, i'm overlooking the obvious. So let's give this a try:

 

I have a Sharepoint list, HR modifies employee information.

Depending on the department they select a mail is send to the manager of that department.

At this moment, i have the names and mailadresses of these managers hardcoded in my flows condition wise.

However, if there is a change of manager in a department, my flow is not accurate anymore.

What would be the best way to manage departments and managers in the MS365 ecosystem so this info is broadly available and  managed. Single point of information management? And, the question; how to get this in my flows?

 

thanks in advance,

JB

 

 

  • creativeopinion Profile Picture
    10,439 Super User 2025 Season 1 on at
    Re: Send mail to manager depending on selected department

    @JohanB123 Ideally you'd use the Person column in your SP list to assign the manager to each employee. You can also use the Manager field in the user's M365 profile. 

     

    Can you clarify what you mean when you say "how to get this in my flows?".

     

    To use the dynamic content from this column you can select the appropriate dynamic content from the dynamic content menu. When you use a person column in your SP List there will be a few dynamic content options to select from.

    creativeopinion_0-1717082879554.png

     

    If you are looking for a way to send multiple SharePoint List items that have been assigned to a user in an email—check out this YT Tutorial: How to Send a SINGLE EMAIL ✉️ with multiple SharePoint list items | Build THIS Power Automate Flow

     

    IN THIS VIDEO:

     How to send multiple list items in a single email with a Power Automate Flow

     How to create a dynamic date range

     How to use the Convert Time Zone action

     How to use a Filter Query in the Get Items action

    How to count number of items in an array

     How to use the Select action to extract a users display name and email address

     How to create a unique list of email addresses

     How to use the Create HTML Table action

     How to customize the HTML Table with CSS styles

    How to use the Send an email (V2) action

    How to use the Append to String Variable action

    How to create a custom list of items for an email

    How to use the Send an email (V2) action

    How to display singular or plural text based on the number of items returned

     

    Hope this helps!

    If I helped you solve your problem—please mark my post as a solution .
    Consider giving me a 👍 if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram

     

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