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 / Fetch Sharepoint File ...
Power Automate
Answered

Fetch Sharepoint File based on a given identifier

(0) ShareShare
ReportReport
Posted on by 18

Hello, can anybody help or advise how I can make this flow happen? Basically, I need to fetch a file from Sharepoint based on a transmittal number. The file that is attached should match with the transmittal number indicated in the email. I was able to setup a basic flow where the files are attached to the emails. I'm just at a loss how I can get the flow to fetch the correct file.

Will this be possible?

 

Thank you.

 

jsig20_0-1616599275343.png

jsig20_2-1616599345138.png

 

jsig20_1-1616599340548.png

jsig20_3-1616599409973.png

 

jsig20_0-1616599491091.png

jsig20_1-1616599519980.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    tom_riha Profile Picture
    10,187 Most Valuable Professional on at

    Hello @jsig20 ,

    you could use the 'Get files (properties only)' action to search for the file, you can define in which library it should search and also use a Filter Query to search a specific file by filename + extension, e.g.

    FileLeafRef eq '12345.docx'

    'Get files (properties only)' with the Filter Query above will give you as a result only a file with the name. You can then use the file identifier in the 'Get file content' action.

    image.png

  • jsig20 Profile Picture
    18 on at

    This is great! Thank you @tom_riha !!

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard