Skip to main content

Notifications

Community site session details

Community site session details

Session Id : /jAjCNdQHw14XaLeD/XXoQ
Power Automate - Building Flows
Answered

Sending an e-mail from an excel file table with certain triggers

Like (0) ShareShare
ReportReport
Posted on 2 Apr 2024 07:56:34 by 42

Hello all,

 

I am trying to send an e-mail when a certain value in my sharepoint list is selected from a drop down list. I get that part right but the problem is that I want Power Automate to take the e-mails from an excel file. 

 

Basically, when I select a value from my sharepoint list I  want power automate to go to a specific excel file table and take the e-mail address column and send the e-mail to the addresses in that column. 

 

PS: I have the excel files in sharepoint and I tried with multiple excel file automation templates, could not get it right.

 

I am sending snips with my flow and the excel file, any help would be appreciated on this matter. Thank you in advance!

BNaghi34_0-1712044491660.pngBNaghi34_1-1712044509361.png

BNaghi34_2-1712044561182.png

 

 

 

  • Verified answer
    Perumal Profile Picture
    604 on 02 Apr 2024 at 09:36:00
    Re: Sending an e-mail from an excel file table with certain triggers

    An issue arises due to confusion with the "Key column" and "Key value" parameters in the "Get a row" action.

     

    For the "Key column," you have to specify the identifier 'Carrier/lane' based on the key value.  

    Perumal_0-1712050541686.jpeg

  • v-yetonggu-msft Profile Picture
    on 02 Apr 2024 at 09:23:23
    Re: Sending an e-mail from an excel file table with certain triggers

    Hi @BNaghi34 ,

    Do you want to extract the information in the row in the excel table where the Carrier/lane is equal to the Carrier Value of the modified item, and then send the information to the email address of that row?

    If so,I did a test for your reference.

    In my scenario:

    1))The trigger I use is when an item or file is modified.

    2)List all rows in the table.

    3)Filter out the rows in the excel table whose Carrier/lane is equal to the Carrier/Value of the modified item.

    4)Use 'Select' to extract email addresses in filtered rows.

    5)Create html table: send filtered row information as a table to a specific email address.

    vyetonggumsft_0-1712049417899.png

    vyetonggumsft_1-1712049743054.png

     

    item()?['Carrier/lane']
    item()?['E-mail address']
    item()?['Name-Optional']
    join(union(body('Select'),body('Select')),';')

     

    My Email Inbox:

    vyetonggumsft_0-1712050804957.png

    Best Regards,

    Sunshine Gu

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 14 Super User 2025 Season 1

#1
stampcoin Profile Picture

stampcoin 14

#3
Churchy Profile Picture

Churchy 12

Overall leaderboard
Loading started