web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send email to differen...
Power Automate
Answered

Send email to different personal based on the sender

(0) ShareShare
ReportReport
Posted on by 88

Hi there. Can someone please help on below:

Once the 2nd approval has completed when a form is raised by a sales personnel, i would like to send an email notification to the respective admin to proceed on the necessary. 

Different admin take care of different sales personnel; A admin handle #1,#2,#3 sales , B admin handle #4 sales and so on. 

How can I condition this situation so the email is being sent based on who raised the form?

carolynyau_0-1718776007243.png

Thank you.

Categories:
  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @carolynyau ,

     

    Is there a table which saves Admin and Sales?

    If yes, you can use Filter array to get corresponding Admin according to who raised the form. Then enter the result in 'To' field of Send email

     

    Best regards,

    Rimmon

  • carolynyau Profile Picture
    88 on at

    Hi Rimmon,

     

    I could do up the table if required. where should i save this listing, is it at SharePoint?

    How does the filter array works?

  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @carolynyau ,

     

    I recommend you create a list like this.

    vmengmlimsft_0-1718777618932.png

    Then use Filter array according to who raised the Form.

    first(body('Filter_array'))?['AdminColumnName']

    vmengmlimsft_1-1718778939437.png

    The Compose will get corresponding Admin's email, you just need to put it in 'To' of Send an email notification.

     

     

    Best regards,

    Rimmon

  • carolynyau Profile Picture
    88 on at

    Hi Rimmon @v-mengmli-msft ,

     

    It works brilliant! Thank you so much for your help!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard