← Al Davies, 250 High Street

How do you do OCR in Power Automate?

Use the AI Builder action Recognize text in an image or a PDF document in a cloud flow. It reads printed and handwritten text from JPG, PNG, BMP and PDF files up to 20 MB.

What does the text recognition model read?

Microsoft says the prebuilt model uses optical character recognition (OCR) to extract lines of printed or handwritten text from images and documents. Handwriting is supported for English, Chinese (Simplified), French, German, Italian, Japanese, Korean, Portuguese and Spanish.

For PDF files, only the first 2,000 pages are processed.

How do you build the flow?

Microsoft's example posts the extracted text in a Teams channel. If your editor looks different, see switching between the two designers.

  1. Sign in to Power Automate, select My flows, then select New flow and Instant cloud flow.
  2. Name the flow, choose Manually trigger a flow, and select Create.
  3. Expand the trigger, select Add an input, and choose File.
  4. Add a step from AI Builder and choose Recognize text in an image or a PDF document.
  5. In the Image input, select File Content from the dynamic content list.
  6. Use Full text of the document to post all text, or read it line by line.
  7. Save and test with sample files.

What comes back?

OutputMeaning
TextA line of text detected
Page numberPage of the detected text
CoordinatesWhere the text sits
Full text of the documentAll text detected
Full text of the pageAll text on one page

Which limits apply?

Microsoft lists a limit of 480 text recognition calls per environment every 60 seconds. AI Builder also uses credits. Microsoft's license page lists 5000 credits per month with Power Automate Premium and none with the Free license.

Read our guide on premium connectors and licenses before you plan a scan-heavy flow for the team.

Have a stack of scans that someone retypes each week? Al Davies builds tools that cut busywork and missed steps for teams. The first call is free and takes 45 minutes.

FAQ

What file types can it read?

JPG, PNG, BMP and PDF, up to 20 MB, per Microsoft.

Can it read handwriting?

Yes, for the nine languages Microsoft lists for handwritten text.

Does it cost extra?

It uses AI Builder credits. Microsoft lists 5000 per month with Premium and 500 with Power Apps Premium.

Is there a call limit?

Microsoft lists 480 text recognition calls per environment per 60 seconds.

Sources