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 / Finding Text in variab...
Power Automate
Answered

Finding Text in variable produced by "Extract text from PDF"

(0) ShareShare
ReportReport
Posted on by 52

Hi All,

 

I have a daily report that i'd like emailed only if the report contains a specific keyword.  I see we can extract text from a PDF, which is how the report is generated.  What would be the most efficient way to search that variable for the existence of that keyword?  That way I can create a conditional statement that emails the report only if the keyword is present in the text from the PDF. 

 

Thanks!

I have the same question (0)
  • Verified answer
    VJR Profile Picture
    7,635 on at

    Hello @Ernie-Velazquez 

     

    You can make use of Parse Text.

     

    If the %Position% variable is greater than or equal to zero then the Text is FOUND.

    If it is -1 then the Text is NOT FOUND

     

    Remember that the position starts from 0.

     

    And if your search text is a bit complex then you can use Regular Expressions too.

     

    VJR_1-1647657399684.png

     

     

  • Ernie-Velazquez Profile Picture
    52 on at

    Well that was easy, thanks so much!  Flow us working 🙂

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

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 470

#2
Haque Profile Picture

Haque 416

#3
David_MA Profile Picture

David_MA 344 Super User 2026 Season 1

Last 30 days Overall leaderboard