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 / How to automatically s...
Power Automate
Answered

How to automatically save Excel attachment in outlook and save to sharepoint list

(0) ShareShare
ReportReport
Posted on by 568

Hello Everyone,

 

Looking on help on how to save an Excel attachment that sent daily through email and save it to one Sharepoint list.

 

-Sharepoint list has the same headers as Excel attachment 

-Need new items copied from email Excel attachment to replace and delete any old items on the share-point list to make sure I always have the most updated information.

-Same sender and email subject 

 

Any idea how to use power automate to do this?

 

Thank you! 

Categories:
I have the same question (0)
  • Verified answer
    manuelstgomes Profile Picture
    6,631 on at

    Hi @Sahara22 

     

    It's not a simple Flow, but we can try to do it. Do you already have something built?

     

    I would do the following:

    1. Get all attachments and save them into a temporary folder.  Here's how to save all attachments when an email arrives. https://manueltgomes.com/microsoft/powerautomate/save-all-attachments-when-an-email-arrives/
    2. Then, open and get the data using the "Get a row" action for each of them. Here's how to access a dynamic path in Excel. https://manueltgomes.com/microsoft/powerautomate/how-to-access-dynamic-path-excel/
    3. This is the part is gets tricky. How do you know it's an "old item"? Does it have a common ID? The same name? What's the field that you can say that the row in Excel and the row in SharePoint list is the same? With that information, you can do a "Get Items" in your SharePoint list and check if that item exists or not. 
      1. If the item doesn't exist You can use the "Create Item" action to add the rows to your SharePoint list for each row.
      2. If the item exists you can do an "Update Item" with the new information.

     

    Is this what you need?

     

    Cheers
    Manuel

    ------------------------------------------------------------------
    If I have answered your question, please mark it as "Accept as Solution." It will help other members finding the solution faster. If you like my response, please give it a Thumbs Up. 👍
    Otherwise, reply to it, and the community will do its best to help you.

  • Sahara22 Profile Picture
    568 on at

    Hello @manuelstgomes ,

     

    Thank you for all your help.

     

    The list is a roster of names and different departments there in. whole list changes daily but there are times that it could be the same employees name there. The main header names though is always the same.

     

    I will try you method and get back to you.

     

    Thanks!

  • Sahara22 Profile Picture
    568 on at

    So for the "/" where is it saving or do i need to save it to a file? also, for get a row, it is an excel sheet but then i need it send over to the sharepoint list.

     

    Is there away I can save the excel sheet that comes in the email attachment  in a file in the one drive and everytime a new email comes have it replace  automatically? maybe thats easier? 

  • Sahara22 Profile Picture
    568 on at

    @manuelstgomes 

     

    I actually figured it out, file is replaced because its the same file name, so that works.

     

    The only thing is now the file is a list, not formatted as a table. Anyway power automate can download and format as table?

     

    Thank you again for all your help! 

  • Sahara22 Profile Picture
    568 on at

    @manuelstgomes 

     

    I figured that part to! thank you again for all your help! 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard