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 / Get File Content actio...
Power Automate
Suggested Answer

Get File Content action is Sending Empty Data Excel File from SharePoint stored file

(0) ShareShare
ReportReport
Posted on by 2
 

Hi Community,

I have a Power Automate flow that:

  1. Collects responses from a Microsoft Form.
  2. Adds the form data into a SharePoint-hosted Excel file (Table1).
  3. Uses Get file content to fetch the updated Excel file.
  4. Sends the file as an attachment via Send an email (V2).
  5. After sending, a script deletes the row that was just added.

Complete Flow Sample :-

 
 
Within above flow the Get File Content Action is as -

 
Within above flow the Send Email action is as - 

 

The flow runs successfully without any errors. However, the Excel file I receive in the email is completely blank—no data at all. This issue started on Sunday. Until last Friday, the same flow was working perfectly and the Excel file had the correct data.


in addition, the below One Drive file has data stored but still it is sending attached excel with Blank Row.
 
 

Has anyone else experienced this issue recently? Could this be due to a change in how Excel files are cached or locked in SharePoint? Or is there a delay in writing data that I need to account for?

Any insights or suggestions would be greatly appreciated!

Thanks in advance!

 
Categories:
I have the same question (0)
  • Suggested answer
    venturemavenwill Profile Picture
    1,198 Super User 2026 Season 1 on at
    This is a common issue - when you write rows into Excel, there is a delay due to caching before the data is commited to the document. Since the flow runs the next action right after the previous one, the data hasn't been commited to the worksheet yet. 
     
    You have two options 
     
    1. Introduce a delay action in your flow, and wait 30 seconds before you send out the email.
    2. Write an office script to refresh all data in all the tables in the worksheet, and trigger the office script using the Flow before you move onto the next step. 
     
    Hope this helps
  • stampcoin Profile Picture
    5,153 Super User 2026 Season 1 on at
    You mentioned that even the file contains data, you still got empty excel file ?
    Can you add List rows present in a table and Compose the length before get file content ?
    It will narrow down the debug scope.
    If you do get the length =0, consider add do until step, use list rows, and length, until the length >0, continue other steps.
    If you always get length >0, then something may happen between get file content and send email, need further analysis.
     

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 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard