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 / Searching a Word document
Power Automate
Answered

Searching a Word document

(1) ShareShare
ReportReport
Posted on by 13
Hello,
 
I need to search a Word document for certain text.  In my flow I've saved the document to SharePoint but am getting conflicting information from Copilot on how to search for text.  I've only seen one post on this forum for the same information which contained no answers, and another post where the answers will not display correctly.
 
I already have a PDF document search that works ok, so if there's no way to search the Word doc, I could convert it to a PDF if someone can help with that instead.
Categories:
I have the same question (0)
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,969 Moderator on at
     
    So, you can easily convert the document to a PDF, using the Convert to PDF action within a Flow that your agent calls.
     
    It would also be how you could search your document using cognitive ai/ai actions to search for it, but that would be again calling a flow, that is either a CoPilot Flow, or a custom flow that you call from CoPilot.
     
    I do not know what your licensing is nor what your DLP policies or any weird configuration globally that would stop the above but OOB that's how you can do it.
     
    Here is an example of the conversion process
     
    If this helps to resolve your issue, if you do not mind Marking as such and maybe a like.
     
    Thanks
  • Gary Profile Picture
    13 on at
    Thank you Michael,
     
    I'd prefer to check the Word document itself, but if I can't figure that out then I'll try the PDF conversion and mark it as an answer👍
  • Verified answer
    takolota1 Profile Picture
    4,980 Moderator on at
    If you have access to Azure there is this template Azure Function App that can pull the text from a Word file & then search the output text, including with Regex.
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,969 Moderator on at
    Hi @Gary
     
    In that case you want to use the this method.
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard