Skip to main content
Community site session details

Community site session details

Session Id : pfT+fibLF2hGEHv/rP+3eE
Power Automate - Building Flows
Unanswered

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

Like (0) ShareShare
ReportReport
Posted on 30 May 2024 20:41:59 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.

 

  • UshaJyothiKasibhotla Profile Picture
    65 Moderator on 31 May 2024 at 03:05:38
    Re: Copying excel data from attachment in email into excel workbook (copying data from one excel file to another excel file)

    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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete