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 / Copy data from emailed...
Power Automate
Unanswered

Copy data from emailed excel file to file with pre-existing table

(1) ShareShare
ReportReport
Posted on by 2
I have a report that is emailed into a shared inbox each week. I need to copy all the rows into a table on a pre-existing excel file. I have been searching for advice for some time, and everything I can find says tto create a flow that looks something like:

When Email is received
For each
    Get attachment
    Create file
    Create a table
List rows present in a table
For each
    Add a row to a table
 
This seems to work fine until I get to the Add row to a table. I am testing over and again with the same file, I have now got to the point where it tells me it has succeeded, and every step up until Create a Table is definitely working as expected. However, each time it fails to copy the data. Instead, it adds blank rows to the destination table, not only that a different number of blank rows is being added each time. This seems to me like the most basic possible use of Power Automate, to simply copy all and paste into another table, but here I am 3 days later. What am I doing wrong for it to add blank rows instead of my data? Screenshots below of what I have for each step in question.
 

 


Many thanks

EDIT: Apparently I am unable to reply to my own post for some reason.

I cannot share company data on a public forum. For information though, the data is names and email addresses and course names to indicate which colleagues have completed certain e-learning courses. So, there are columns for name, email, managers name, managers email, course name and pass date.

What do you mean by data being “passed in”? If this is Power Automate terminology then I am unaware as this is the first time I have ever used it. But all of the data received in the email is being saved in Table1 of the file that is created and then referenced in the first screenshot, so if that is what you mean then this is definitely happening.
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,493 Super User 2025 Season 2 on at
    Hi
     
    I dont see anywhere, that you show us that data you are actually adding to Table2.
     
    Please share the screen of the Data you saying you are adding, you should be able to look at the Row Input of that to see what you passed in.
     
    sounds like you aren't passing data to me.
     

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard