Skip to main content

Notifications

Community site session details

Community site session details

Session Id : kg6toDvUOuSz/+k1ngSngr
Power Automate - Building Flows
Unanswered

Want to use the output of "list rows present in a table" to send mail ******* help pls ********** :-)

Like (0) ShareShare
ReportReport
Posted on 2 Aug 2023 11:01:55 by 7

Hi all,

I want to use the output of "list rows present in a table" to send e-mails, as below.

But, I can not select the rows under dynamic content... the output rows are not listed....

 

Any hint is welcome 

1.jpg

 

  • stevecgn12 Profile Picture
    7 on 02 Aug 2023 at 19:02:10
    Re: Want to use the output of "list rows present in a table" to send mail ******* help pls ********** :-)

    Many thanks @rzaneti Hope to get time to try this one tomorrow 🙂

  • the_dude Profile Picture
    361 Super User 2024 Season 1 on 02 Aug 2023 at 11:46:53
    Re: Want to use the output of "list rows present in a table" to send mail ******* help pls ********** :-)

    Hi Steve,

     

    In my example I simply added a piece of dynamic content from the excel action.

    In my experience this is often times a good way to start debugging since you can put any datatype into the compose block and thus usualy all the dynamic content will show up when you try to put it inside.

    So it contained simply 'column1' from the 'List rows present in a table' 

  • stevecgn12 Profile Picture
    7 on 02 Aug 2023 at 11:42:34
    Re: Want to use the output of "list rows present in a table" to send mail ******* help pls ********** :-)

    Thanks for you feedback ! How does the "compose block" lock like pls? What do I need to do?

  • rzaneti Profile Picture
    3,984 Super User 2025 Season 1 on 02 Aug 2023 at 11:19:12
    Re: Want to use the output of "list rows present in a table" to send mail ******* help pls ********** :-)

    Hi @stevecgn12 ,

     

    It happens because, your output is organized in an array of objects, it means, a list of rows containing individually a property for each column. If you want to access an specific row, you will need to isolate it from your array by filtering it (you can use the Filter Query from the 'List rows present in a table' action or the 'Filter array' action); if you want to include in your email a set of rows, you will first need to organize its data in another way (maybe in a text, or a HTML table). 

     

    If you know the row position (for example, let's assume that you want to access the 4th row of the table below), it is possible to access it directly with expressions, by using brackets and passing the index (in this case, the index will be 3, as the count starts in zero):

    rzaneti_0-1690974916271.png

     

    rzaneti_1-1690974933776.png

    Expression: outputs('List_rows_present_in_a_table')?['body/value'][3]

     

    Output:

    rzaneti_2-1690975012422.png

    Note: as mentioned before, each row is stored as an object, and each of the columns is an individual property, as you can see in the image above.

     

    I recently wrote a blog post about how to read data from Excel, which explores the alternatives mentioned above: http://digitalmill.net/2023/07/19/reading-data-from-excel-tables-in-power-automate/

     

    Also, feel free to provide more context about how do you want to organize its data in your email and we can help you to adjust your flow to reach that 🙂

  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on 02 Aug 2023 at 11:16:08
    Re: Want to use the output of "list rows present in a table" to send mail ******* help pls ********** :-)

    Hi @stevecgn12 

     

    In Dynamic content, try searching name of the column exist in the excel file. For example, in the below screenshot, column 'Name' has been searched:

    ManishSolanki_0-1690974871949.png

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • the_dude Profile Picture
    361 Super User 2024 Season 1 on 02 Aug 2023 at 11:15:10
    Re: Want to use the output of "list rows present in a table" to send mail ******* help pls ********** :-)

    Hi Steve,

     

    It should be available as dynamic content - maybe it's due to the contenttypes not being a match. 

    Perhaps try initializing a variable at the start of your flow and filling it with data from excel - or using a compose block as in my example below.

    the_dude_0-1690974871520.png

     

    If this solves it for you, please mark as solved if not let's figure it out further together

     

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
stampcoin Profile Picture

stampcoin 31

#2
Churchy Profile Picture

Churchy 20

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 18 Super User 2025 Season 1

Overall leaderboard
Loading started
Loading complete