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

Community site session details

Session Id :
Power Automate - Building Flows
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. 

I have the same question (0)
  • flyingspoon Profile Picture
    21 on at
    Re: Include a link in an email to document(s) in a SharePoint document library

    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
    Re: Include a link in an email to document(s) in a SharePoint document library

    @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
    on at
    Re: Include a link in an email to document(s) in a SharePoint document library

    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

Coming soon: forum hierarchy changes

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

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 544 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 482 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 287

Last 30 days Overall leaderboard