Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

How can I send an HTML table from a new excel file uploaded to SharePoint.

(0) ShareShare
ReportReport
Posted on by

Desirable Flow:

When an excel file is uploaded into SharePoint, the default status of the document is new. Subsequently, the flow can create a table for the Excel and then retrieve the data from the Excel. Afterwards, it creates a html table from the columns in Excel and then send an email while the status should be completed.

 

I am stuck in creating a flow and hope to get some helps. I tried to come up with a flow but when I uploaded the excel to SharePoint,  it failed.  

 

Really Appreciate!

 

Below are the flow and some info related to the flow

 

Cusomter receivable photos.pngSharepoint file ( Power Automate) .png

  • sam123123123 Profile Picture
    on at
    Re: How can I send an HTML table from a new excel file uploaded to SharePoint.

    Thanks for the solution, and sorry for the late acceptance of solution

  • Verified answer
    v-yueyun-msft Profile Picture
    on at
    Re: How can I send an HTML table from a new excel file uploaded to SharePoint.

    Hi , @sam123123123 

    I did not use the get files action in my side :

    vyueyunmsft_0-1706000316072.png

     

     

    Best Regards,

    Yueyun Zhang

  • sam123123123 Profile Picture
    on at
    Re: How can I send an HTML table from a new excel file uploaded to SharePoint.

    Hi, can you show me your entire flow, because if you take a look at my flow, you can see that when I create the "get file content", it automatically transform to For each. Really Appreciate!

  • v-yueyun-msft Profile Picture
    on at
    Re: How can I send an HTML table from a new excel file uploaded to SharePoint.

    Hi , @sam123123123 

    The File property need to put the File Full Path , like this:

    vyueyunmsft_0-1705999870106.png

     

    outputs('Get_tables')?['body/value']?[0]?['name']

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

  • sam123123123 Profile Picture
    on at
    Re: How can I send an HTML table from a new excel file uploaded to SharePoint.

    Hi,

     

    I changed it, it's better; but, it seems like right now, I am stuck in lists row. Is there any way to fix it? Really thanks!

     

    New flow

    Power Automate template.png

    Power Automate (error message 2).png

    Table1.png

  • v-yueyun-msft Profile Picture
    on at
    Re: How can I send an HTML table from a new excel file uploaded to SharePoint.

    Hi , @sam123123123 

    You can try to use this flow  to get the file content:

    vyueyunmsft_0-1705991990308.png

     

     

    Best Regards,

    Yueyun Zhang

  • sam123123123 Profile Picture
    on at
    Re: How can I send an HTML table from a new excel file uploaded to SharePoint.

    Power Automate (error message).png

     

    But is the way that I create the flow correct? If I want to achieve the situation that I mentioned. Really Thanks!

  • v-yueyun-msft Profile Picture
    on at
    Re: How can I send an HTML table from a new excel file uploaded to SharePoint.

    Hi , @sam123123123 

    Can you show the error code in your flow run history?

     

    Best Regards,

    Yueyun Zhang

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492