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 / Extract text with OCR ...
Power Automate
Unanswered

Extract text with OCR on PAD only works sometimes

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi! I created a flow to extract text from PDF invoices from a particular energy company.

 

I used regex to locate the text from the extracted text to get my outputs.

 

However, the issue I faced is that the "Extract text from PDF" does not always work. For some invoices, the extracted text variable is empty. It only manages to pick up some months' invoices.

 

For context, these are structured PDFs and is from the same company every month. 

 

Please help! 😞

I have the same question (0)
  • Deenuji_Loganathan_ Profile Picture
    6,255 Moderator on at

    @junjie 

    Could you kindly provide screenshots of your Power Automate Desktop flow, accompanied by a sample PDF invoice file, and elaborate on the specific challenges you're encountering?

     

    This additional context will enable community contributors to offer more targeted assistance.

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀. If you'd like to appreciate me, please write a LinkedIn recommendation 🙏

     

  • VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @junjie ,

     

    Along with the flow screenshot and PDFS . Can you please confirm whether all the PDFs are scanned one or editable one.

     

    The one which is giving empty may be the scanned pdf I guess.

     

     

    (Note:- if you got your solution you can mark as solution and gives kudos)

     

    Thanks & Regards

    Vishnu Reddy

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @VishnuReddy1997 , my PDFs are not scanned or editable, they are invoices from an electricity provider. the format is the same, it is just that some invoices can be read while some others cannot be read and extracted

  • VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @junjie ,

     

    Can you share one pdf that is extracted and one that is not extracted.

     

     

    (Note:- if you got your solution you can mark as solution and gives kudos)

     

    Thanks & Regards

    Vishnu Reddy

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    The invoices might be protected. Please simply try to select some text manually in the PDF and see if you are allowed to copy it out. If you cannot do that, it means it's been protected and that will be the reason why PAD cannot extract the text.

     

    Also, please confirm whether you really are using OCR actions. You mentioned OCR in the title of the topic, but based on your messages, it seems like you're using the normal Extract text from PDF action that does not use OCR.

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 233

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 190

Last 30 days Overall leaderboard