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 / whenever an excel file...
Power Automate
Unanswered

whenever an excel file is added in onedrive, use that file in the rest of the flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello Guys,

 

I`m trying to make a trigger in OneDrive folder, so whenever an excel file is added in the folder, this excel file is used in " List Rows In Table" action. The folder will contain a new file each month.

 

in another word, I want the trigger to be " When a file is created" and I want the new file to be used in the rest of the flow, so what should I write in file name and table of "List rows present in table" action ?

 

Dynamic name.png

 

I would really appreciate your help!

Categories:
I have the same question (0)
  • eric-cheng Profile Picture
    5,171 on at

    Hi @Anonymous ,

     

    You can use this trigger to trigger a flow when a file is uploaded to your OneDrive folder.

     

    Screenshot_20210820-015620_Chrome.jpg

     

    You can use trigger conditions to restrict certain content types or when the filename contains .xlsx before triggering your flow.  Read here for more details.

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you @eric-cheng 😊

    but can you help in how to make "List Rows in table" take the name of the file just created ? 

     

    I tried the following but I don`t know what to put in the table name and file.

    Dynamic name.png

    The file will be added every month to the folder and it contain many tables, but I want to pick a specific one that contain details about a KPI, its score and email of the person responsible for the KPI.

     

    Can I have the for example the KPI as dynamic content in the body of the email while I`m trying to make the file dynamic ? 

     

     

    Your help is very appreciated @eric-cheng 🙏 If you need a copy of the file let me know. 

  • eric-cheng Profile Picture
    5,171 on at

    Hi @Anonymous ,

     

    In your Excel, highlight the cell range and click on Insert > Table. Save your file.

     

    Remove and add the connector.

     

    If your file is going to get updated.  Use a Get Tables action first and then pass the table name to List rows.  This will be more dynamic.

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

  • eric-cheng Profile Picture
    5,171 on at

    Hi @Anonymous ,

     

     Here is a link also for creating a table.

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 780

#2
Valantis Profile Picture

Valantis 668

#3
Haque Profile Picture

Haque 601

Last 30 days Overall leaderboard