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 / Copying excel data fro...
Power Automate
Unanswered

Copying excel data from attachment in email into excel workbook (copying data from one excel file to another excel file)

(0) ShareShare
ReportReport
Posted on by 13

Hello, 

 

I am trying to automate a process by building a flow which receives an email with an excel attachment and copies the data from that attachment into an existing excel file worksheet. I am able to trigger the flow with an email easily. I am struggling with copying the contents from that file to a different file which feels like it should be simple. 

 

I have tried using list rows present in table and adding a new row for every line in the file, but the files I will be receiving with be 1000s of rows long so it takes way too long. I also had to make the original worksheet a table which ruined it being automated. 

 

I have also tried creating a new file in my SharePoint library and getting the content from the emailed file but I do not know how to get the data from there to the file where I need the data to go. I have looked at using excel scripts, are they efficient?

 

Does anyone know an efficient way I could do this with power automate with the help of excel office scripts or any other method? Thank you.

 

Categories:
I have the same question (0)
  • UshaJyothiKasibhotla Profile Picture
    203 Moderator on at

    Hi @cecilia123 

     

    Have you tried this?

    first you download attachments or use get attachments then use  get file content and create a file with whatever the name is required and in the create file give the content file content from the get file content.

     

    Hope this helps

    Usha

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 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard