cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
SPowers22
Level: Power Up

Using Flows to run Sharepoint document library searches

Hi All,

 

I'm very new to the world of Flows and automation tools and am having trouble creating (what I think should be a straightforward) Flow. I would like to set up an automated flow to search a document library for entries (documents, lists etc) containing a specific term, i.e Budget Report, then send me an email with all of those documents. Is this possible?

 

In an ideal world the flow would have the following stages;

1) Receive information from a very simple Microsoft Form containing the search term (Budget Report) - This would trigger the flow

2) Search of the document library for entries containing the search term is carried out

3) I receive an email with the results

 

To me this seems like a very simple thing to do, however, I'm confused by the language used by individual triggers, connectors etc Is this something that can be done and, if so, how?

 

Many Thanks

1 REPLY 1
Super User
Super User

Re: Using Flows to run Sharepoint document library searches

Hi @SPowers22 

 

You need to use different flow actions to achieve your requirement. Please see below.

 

1) Receive information from a very simple Microsoft Form containing the search term (Budget Report) - This would trigger the flow

 

Follow the below blog how to get the response from Forms to flow.

https://flow.microsoft.com/en-us/blog/building-scratch-forms-responses/

 

2) Search of the document library for entries containing the search term is carried out

 

Here you need to use SharePoint Get Items action and use ODATA Filters.

See this post

https://veenstra.me.uk/2018/11/12/microsoft-flow-filter-queries-in-sharepoint-get-items/

 

3) I receive an email with the results

 

See below link regarding how to send SharePoint List Item Attachment in Email Notification using Microsoft Flow

https://www.youtube.com/watch?v=bblVbhxbo0A

 

Thanks

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (4,796)