Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Looking Up by ID in flow

(0) ShareShare
ReportReport
Posted on by 18

I have a list with ID's. Let's call it LINKS_LIST.

 

I need to link those ID's from LINKS_LIST to files titles contained in another folder. 

 

The files in this folders are called like: "20.pdf" So the ID itself. 

 

Example:

In LINKS_LIST I have one line with ID: 20. 

In my folder I have a file called "20.pdf"

 

Lastly, I'd like to send that link (found in LINKS_LIST) associated with the ID by mail. (I have email adresses in my list, no issue)

 

 

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: Looking Up by ID in flow

    @lasher18 

    Can you paste a screen shot of what your data looks like in Excel?  Also, the data in Excel must be in a table.

  • lasher18 Profile Picture
    18 on at
    Re: Looking Up by ID in flow

    Please, help! I just want to match ID from a list to ID found in "example@mail.com#ID"

  • lasher18 Profile Picture
    18 on at
    Re: Looking Up by ID in flow

    So I get the name of the file to lookUp. How can I now reference the column I want to look up? The column ID inside that file. And after that,  how can I match that ID with the one in "ID.pdf" file?

     

    Sin título.png

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: Looking Up by ID in flow

    @lasher18 

    First, use a concat() action with your expression to construct the file name - add .pdf.

    Then, you'll need to use a Get Files (properties only) action with a filter query to find each file.  Then, you can construct the URL from data available in Dynamic properties - you may have to hard code part of the URL.

    Here is a link that explains how to construct the filter query.

    Spoiler - you need to use FileLeafRef instead of Name in the filter query.

     

     

  • lasher18 Profile Picture
    18 on at
    Re: Looking Up by ID in flow

    They are all pdf files. So I am extracting the ID from the title with first(split(variables('MyString'),'.'))

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: Looking Up by ID in flow

    @lasher18 

    Are all the files pdf files or does it vary?

     

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow