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 / Email defined list whe...
Power Automate
Unanswered

Email defined list when / create table from multiple rows of another table

(0) ShareShare
ReportReport
Posted on by 21

Hi All

 

I'm having problems creating a flow. In essence it’s either 2 flows or 1 flow but for the purposes of the below I’ll present as 2.

 

flow 1

Look at an xlsm document from table MainSpreadsheet and if Inspection Result is fail then create a new table. The table is unique based off of the installer name.

 

flow 2

take the new table (list of fails) and then email a defined list of contacts in table (emails) and cc the correct people (cc)

 

 

I’ve read the other documents but the problem I’m having is the results the other guides are getting is not what I’m seeing on my screen.

 

any help is greatly appreciated.

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,928 Super User 2025 Season 2 on at

    HI,

     

    You kind of explained what you are doing, but you aren't explaining what the exact results you expect and what you are seeing. And you do not have any pictures of your flows so we can start helping.

     

    Also, I would not make this 2 flows if you are doing the work right after. And what triggers flow 2, Create or Update of an Excel?

  • Matt889 Profile Picture
    21 on at

    Hi @FLMike 

     

    At 11pm every night I am emailed a report. I want that report imported into a table titled "Main Spreadsheet" file (at the bottom.)

     

    (The emailed report contains the same columns as the xlsm file.)

     

    Once the import has happened, I want a table to be created that contains the following information

     

    Reference

    Inspector Code

    Measure Code

    Measure Name

    Installer 

     

    That table will then be emailed to Installers who's email and CC list we've got in a pre defined table Notification Contacts.

     

    In an ideal world, once it has sent the email, it should then set the status to Notified.

  • Michael E. Gernaey Profile Picture
    53,928 Super User 2025 Season 2 on at

    Gotcha

     

    So you would want to 

     

    1. Use the Received Email Trigger

    2. Grab the Attachment

    3. Im guessing save the report to onedrive or sharepoint (Using Create FIle)

    4. List rows of the Table Action on the file you just saved

    5 for each row use the Add a Row to a Table action (for excel)

    6. Once those are all written, you want to use the Create Table action

    --Where are you going to create this, you said you want to email it but if you create the Table in excel you need a file and then to attach the file to the email, not just send the Table. Unless you simply generate an HTML table using the excel data and put that in the body of the email.

     

    7. Anyhoo after Create Table, you will then again use 

    8. Now you use List Rows of aTable Action to get all the rows from the Master Table 

    9. In an Apply to each, you would again use Add a Row to a Table Action to write the data from the previous step

    10. When done, use the Send email V2 with whatever body etc you want and attach the Contents of the file to the email

     

    Does that sum up what you want? Can you show how you did it, and what was wrong with it versus what you expected? Might be easier that way.

    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Matt889 Profile Picture
    21 on at

    Hi Mike,

     

    sorry, I’m very lost. Please treat me like an utter idiot.

     

    I’ve included screenshots of what I’ve done so far but as I said… I’m lost.

     

     

    image.jpg
    image.jpg
    image.jpg
  • Matt889 Profile Picture
    21 on at

    Does anyone have any idea? Please... I beg

  • Matt889 Profile Picture
    21 on at

    Matt889_0-1695327031554.png

    This is what I'm trying to achieve, if anyone can help would be greatly appreciated 🙏🙏🙏

  • Matt889 Profile Picture
    21 on at

    Just bumping this for anyone new because I'm quite frankly still confused. Even the explain it to build it thing can't help me 😒

  • Michael E. Gernaey Profile Picture
    53,928 Super User 2025 Season 2 on at

    Hehe so essentially you need one of us to build it for you because I gave all the exact steps 🙂

    If you can show me what you built by adding the steps I gave you, I'm happy to provide some feedback

    but you gotta try at least hehe to add the actions I suggested.

     


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

     

     

  • Matt889 Profile Picture
    21 on at

    Hey Mike - thanks for coming back to me....

     

    post 5 has pictures in it but I'm not really affay with this at all.

    Use the "received email trigger"

     

    Is that Get Emails?

    Matt889_0-1695587800261.png

     

    "Grab the attachment?

     

    Is that get attachment?

    Matt889_1-1695587821018.png

     

    In Point 4&5 you talk the table generated from the saved table but the saved table doesn't exist (yet) so I can say what to generate from something that doesn't exist?

     

    Matt889_2-1695588058361.png

     This is my level....

     

    @FLMike essentially you're correct, but that's how I learn to observe, copy repeat and do. I've spent a week trying and watching youtube videos and discussing your response to see if I can manage it but I can't. I've really tried.

  • Michael E. Gernaey Profile Picture
    53,928 Super User 2025 Season 2 on at

    no worries,

     

    let me eat and Ill give you a skeleton 🙂

    But if you look at all my replies to other people (Click my name and look at posts etc) I have done alot of skeletons very similar to your ask.

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 273 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 135 Most Valuable Professional

Last 30 days Overall leaderboard