Convert PDF to editable PDF using OCR is a PDF4me action for Power Automate that adds a searchable text layer to a scanned document. This walkthrough wires it into a four-action flow: a manual trigger, Dropbox Get file content using path, the OCR action, then Dropbox Create file. It reads a two page scan from /pdf4metest/tempocrtest/ocrdevtest_2page.pdf. Swap the paths for yours and keep the wiring.
1. Manually trigger a flow → 2. Dropbox, Get file content using path with Infer Content Type on Yes → 3. PDF, Convert PDF to editable PDF using OCR: QualityType Draft, OCR Only When Needed false, Language en, Is Async No → 4. Dropbox, Create file with File Content from the OCR step.
OCR leaves the page image untouched, so the document looks right whether the recognition was perfect or terrible. The only way to check is to open the output and search it for a word you can see on the page.
What you are automating
OCR adds an invisible text layer positioned behind the picture of the page. The scan you see on screen stays exactly as it was, and the words underneath it become text a system can index and search.
At a glance
- Manually trigger a flow
- Get file content using path (Dropbox)
- Convert PDF to editable PDF using OCR (PDF4me)
- Create file (Dropbox)

Why this pattern works
The text layer sits behind the existing page image, so the searchable copy looks exactly like the scan it came from.
The OCR output is a new file. If the recognition turns out to be poor on a particular batch, you want the source to re-run against with different settings.
Swap the manual trigger for When a file is created on the folder your scanner writes to. Everything downstream stays the same.
Before you start
- The PDF4me PDF connector in your Power Automate environment.
- A storage connection. This flow uses Dropbox.
- A scanned PDF. This flow reads a two page scan from
/pdf4metest/tempocrtest/ocrdevtest_2page.pdf.
Build the flow
Step 1: Manually trigger a flow
For a real archive, swap Manually trigger a flow for When a file is created on the folder your scanner writes to. Everything downstream stays the same, and the backlog takes care of itself from then on.
Step 2: Get file content using path (Dropbox)
Flow so far: trigger only.
- Add Dropbox: Get file content using path.
- File path: the scan to read. This flow uses
/pdf4metest/tempocrtest/ocrdevtest_2page.pdf. - Infer Content Type:
Yes.

Step 3: Convert PDF to editable PDF using OCR (PDF4me)
Flow so far: trigger, Get file content using path.
- Add PDF: Convert PDF to editable PDF using OCR.
- Map the file content and the file name from Get file content using path.
- Set the four fields in the table below.
| Field | Value here | Notes |
|---|---|---|
| QualityType | Draft | The setting PDF4me uses for OCR throughout |
| OCR Only When Needed | false | OCR everything. true skips files that already have text |
| Language | en | The document's language, not your flow's |
| Is Async | No | Waits for the result |


OCR Only When Needed is the setting that pays off at scale. On a mixed folder, where some PDFs came off a scanner and others were exported from Word, true checks for an existing text layer and skips the ones that have one. Across a few thousand documents that is a meaningful amount of processing you simply do not do. Set it false, as here, when you know everything in the folder is a scan and the check is wasted effort.
Language deserves a moment of thought rather than being left at the default. OCR works by matching shapes against the letter and word patterns of a language, so telling it the wrong one measurably hurts accuracy. If you process documents in several languages, that is an argument for routing by folder rather than running one flow over everything.
Step 4: Create file (Dropbox)
Flow so far: trigger, Get file content, OCR.
- Add Dropbox: Create file.
- Set the folder to the output folder.
- File Name: a name that marks it as the searchable version.
- File Content: from the OCR step.

Keep the original. OCR output is a new file, and if the recognition turns out to be poor on a particular batch you want the source to re-run against with different settings.
Output check
The searchable copy lands in the output folder under a name that marks it as the OCR'd version, and it still looks like the scan it was. Open it and search for a word you can see on the page.
Quick reference
| # | Action | What to set |
|---|---|---|
| 1 | Manually trigger a flow | Nothing. Swap for When a file is created on the scanner's folder |
| 2 | Get file content using path | File path, Infer Content Type Yes |
| 3 | Convert PDF to editable PDF using OCR | QualityType Draft, OCR Only When Needed false, Language en, Is Async No |
| 4 | Create file | Output folder, a searchable-version File Name, File Content from the OCR step |
Troubleshooting
Check Language first. Then check the scan itself: OCR cannot read what a human cannot, and a skewed or low contrast scan needs fixing at the scanner.
Set OCR Only When Needed to true.
Set Is Async to Yes.
What to try next
Where this gets genuinely useful.
The next step in the chain, once the page carries text.
One off? It runs in the browser.
FAQ
How do I make a PDF searchable in Power Automate?
Add the PDF4me Convert PDF to editable PDF using OCR action, map File Content from your storage step, set Language to match the document, and write the result with Create file.
Can I skip files that are already searchable?
Yes. Set OCR Only When Needed to true and files with an existing text layer pass through untouched. Worth doing on any mixed folder.
Does OCR change how the document looks?
No. It adds an invisible text layer behind the existing page image. The appearance is unchanged.
How do I check the OCR actually worked?
Open the output and search for a word you can see on the page. The document looking correct tells you nothing, because the image was never altered.
Set the paths to your own folders, set Language to the language of your own documents, and swap the manual trigger for When a file is created when you are ready to leave it running.
