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

Community site session details

Session Id : LVUt7uWbtFEtqe5SIyMQmx
Power Automate - Building Flows
Answered

Need help - Excel to sharepoint list

Like (0) ShareShare
ReportReport
Posted on 19 Jan 2021 11:40:36 by Microsoft Employee

Hi All,

 

I was wondering if anyone has experience of using Power Automate to add an excel content into a sharepoint list.

 

What I'm trying to do is this - I want to update a sharepoint list by adding in some new records every day by Power Automate, datasource is a recruiting system where I can set an automated report to be sent out as a .xls file to certain mailbox. The trigger is a new mail with attachment arrives in this shared mailbox (which I applied only for this reporting purpose), and I can now pull and save the attachment into the Sharepoint document library, I believe the automate steps should be like this:

  1. Triggers on new mail arrives with attachment
  2. Create file and save the .xls attachment into Sharepoint
  3. Convert .xls file into .xlsx file
  4. Create table on the .xlsx
  5. Create item in Sharepoint list from the .xlsx file
So far I can only achieve step 2 successfully. 😅 I've tried all these flows one by one separated and they can work with a given file name. But if I want a flow to start from create file, then create table on this file, then use this file to create item in the sharepoint list, it won't work, it always gives me error message showing either "item not found" or "execution of template action fail" with "type null" or something. I think my major questions here are: 1. how to convert xls to xlsx without using 3rd party connector? 2. how to pull a dynamic file name from what's created by the previous step output?
 
screenshots as below:
 
Capture.JPG
 

Cristinacn_0-1611056142336.png

 

  • Cristinacn Profile Picture
    Microsoft Employee on 20 Jan 2021 at 10:37:25
    Re: Need help - Excel to sharepoint list

    @v-litu-msft Thank you for the reply, I've looked into the UR flows connector and it needs an install of a gateway on local drive, which seems quite complicated.  I'll skip this for now and get the report "saved as" .xlsx before it's imported into sharepoint.  But thank you for your kind instruction anyway!

  • Verified answer
    v-litu-msft Profile Picture
    on 20 Jan 2021 at 03:25:30
    Re: Need help - Excel to sharepoint list

    Hi @Cristinacn,

     

    1. There is no action that could convert xls file to xlsx file, but you could use UI Flow to do it. There is a template you could do it: Convert .xls files to .xlsx using UI flows | Microsoft Power Automate

    This is a blog about how to create a UI Flow that convert xls file to xlsx, please refer to it:

    Convert XLS files to XLSX files using UI flows - Power Platform Community (microsoft.com)

    2. You could use Get file properties action to get the file name created by the previous step output.

     

    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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2