cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
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!

Learn more from my blog

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

Top Solution Authors
Users online (9,602)