cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

How to read file contents when file name is unknown

I am trying to create a flow that will read the contents of a text file when it is uploaded into a SharePoint online library.  Files are uploaded daily.  Although the format and content layout within the files are the same, the file name is not consistent.  How may Flow read the files content when the file name is unknown?  Please provide example. 

 

Thanks,

ARobinson15

1 ACCEPTED SOLUTION

Accepted Solutions
Resident Rockstar
Resident Rockstar

Hi,

 

You need to use the trigger when file is created.

 

Then just get the file content and do whatever you need to it.

View solution in original post

2 REPLIES 2
Resident Rockstar
Resident Rockstar

Hi,

 

You need to use the trigger when file is created.

 

Then just get the file content and do whatever you need to it.

View solution in original post

The trigger when file is created will not work as various files and file types are uploaded into the same SharePoint library.   And, I would prefer not to have 10 different document libraries to handle for each type of file.  Likewise, I do now want multiple flow failures when different types of files are uploaded.  Is it possible to use wildcards for the file name?  If so, please provide an example.

 

Thanks.

 

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (40,669)