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 / Include a link in an e...
Power Automate
Answered

Include a link in an email to document(s) in a SharePoint document library

(0) ShareShare
ReportReport
Posted on by 21

I have the following list and document library in the same SharePoint site (sample data provided, actual list and document library have more entries):

 

SharePoint List (Policy Inventory):

 

Policy Inventory.png

 

SharePoint Document Library (Policy-Working-Documents): 

 

Policy-Working-Documents.png

My current flow filters for items in the list with a review date that is +120 days from today, then it gets the files from the document library sub-folder named Test-Folder.

 

I am really struggling with the following:

  1. Filtering the Get Files output keeping only the files with a Name that is also contained in the output of Get Items?

  2. Send an Outlook email that contains the documents that satisfy #1 as an attachment or link. The body of the email should include the Document Name and Review Date which are provided in the Policy Inventory list.

My current flow:

 

current_flow.png

 

I was thinking of somehow using Apply to each with a condition to see if the Name in the document library is contained in the Get Items output then send an email and within the email attach the document, but it's just not working for me. 

Categories:
  • flyingspoon Profile Picture
    21 on at

    Updated my question to include sample data with hopes of making it easier for answerers to understand. Please note, the list and document library are much larger outside of this sample. 

  • Verified answer
    Diksha Profile Picture
    301 on at

    @flyingspoon ,

     

    I have tried and implemented your requirement. 

    Refer this for solution .

     

    If this answered your question, please mark this question as answered and if you liked my response, please consider giving it a thumbs up .
    Thank You !!!

  • v-alzhan-msft Profile Picture
    Microsoft Employee on at

    Hi @flyingspoon ,

     

    Have your problem been solved by @Diksha 's solution?

    If yes, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard