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

Announcements

News and Announcements icon
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:
  • UshaJyothiKasibhotla Profile Picture
    229 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard