web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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,270 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,270 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,270 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard