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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Want to use the output...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on 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

 

Categories:
I have the same question (0)
  • the_dude Profile Picture
    361 Super User 2024 Season 1 on at

    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

     

  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    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

  • rzaneti Profile Picture
    4,241 Super User 2025 Season 2 on at

    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 🙂

  • stevecgn12 Profile Picture
    7 on at

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

  • the_dude Profile Picture
    361 Super User 2024 Season 1 on at

    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 at

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard