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 / Update OneDrive excel ...
Power Automate
Unanswered

Update OneDrive excel from outlook compressed attachment

(0) ShareShare
ReportReport
Posted on by 5

Hi Experts,

 

I am new to Flow. I am trying to search my problem on internet however couldn't find proper solution. Here is the typicall process look like:

 

  1. I receive two email from system everyday at 5am which contains prior day's data. The excel attachment is compressed
  2. I save both attachments and unzip it
  3. Copy data from excel file from row 2 and append this data to OneDrive (for business) file. This file has two tabs for both email excel files so I update both the tabs.

My OneDrive file is a source file of PowerBI dashboard which is scheduled to refresh everyday at 8am. I wonder if flow can automate above manual steps then my PowerBI dashbord will stay updated all the time.

 

Is this possible? 

 

Appreciate your time!

 

Thanks,

Bunty

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,707 Most Valuable Professional on at

    Depending on what was used to compress the file you can use the OneDrive Extract Folder action to unzip the file and store it in OneDrive.  There are some compression algorythms that it doesn't work with though.

  • v-lin-msft Profile Picture
    728 on at

    Hi @bunty_1244,

     

    It is possible to achieve the first and second points based on your requirements.Annotation 2019-06-20 134144.png

     

    But in your third point, you need to add data from the excel file from email everyday received to the existing OneDrive excel file, which is almost impossible to do.

    Because at present, if you want to extract data in excel file, you must fill in fixed file path of the file instead of dynamic path, which should be followed including table in excel.

     Annotation 2019-06-20 134824.png

    Best Regards,

    Community Support Team _ Lin Tu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • bunty_1244 Profile Picture
    5 on at

    Hi @v-lin-msft 

     

    I really appreciate your time and help with this.

     

    Regarding the 3rd point, good thing is that the zipped folder I receive in email everyday has the same file name. Also the path it is going to extract the file will remain the same. 

     

    The bad thing is the version of excel which is .xls. What that means is when I use "List rows present in a table" it doesn't show anything. I manually converted the version and I was able to locate the file here.

     

    2019-07-11_15-32-20.png

     

     

     

     

     

     

     

     

     

    With your direction, I was able to create a flow that extracts the file from email everyday. Do you think adding a step that can convert .xls to .xlsx would help me move forward?

     

    Best

  • v-lin-msft Profile Picture
    728 on at

    Hi @bunty_1244 ,

     

    Yes, you can add an action named Move or rename a file using path in the Connector OneDrive for Business after you extract the folder to rename the xls file into the xlsx file. (Please attention to the "x").Annotation 2019-07-12 100124.png

    Please have a try, I hope it can help you.

     

    Best Regards,

    Community Support Team _ Lin Tu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard