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 / Looking Up by ID in flow
Power Automate
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)

 

 

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @lasher18 

    Are all the files pdf files or does it vary?

     

     

  • lasher18 Profile Picture
    18 on at

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

  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @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

    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

  • lasher18 Profile Picture
    18 on at

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

  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @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.

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
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard