Passa al contenuto principale

Un post etichettati con "extract-text-from-pdf"

Guarda tutte le etichette

Convertire PDF in file di testo in Power Automate: trasformare contratti scansionati in un corpus SharePoint ricercabile con PDF4me

· 27 minuti di lettura
SEO and Content Writer

PDF4me estrae testo e immagini è un'azione di Power Automate che restituisce il livello di testo di un PDF come array. Abbinato a OCR a monte e a un'unione di composizione a valle, questo flusso trasforma ogni PDF inserito in una raccolta di SharePoint in un PDF corrispondente .txt file pronto per la ricerca tramite intelligenza artificiale.

Cerca come fare questo e il primo risultato è quello di Microsoft Riferimento alle azioni PDF, che descrive Power Automate Desktop azioni. Non esistono in un flusso cloud. Questo singolo dettaglio è il motivo per cui i due risultati successivi sono un thread di Reddit e un thread della community di Power Platform in cui le persone pongono la stessa domanda senza ottenere una risposta diretta. Questo flusso è la risposta diretta e viene eseguito interamente nel cloud su connettori di livello standard.

Il flusso in sintesi
1. When a file is created (properties only)
SharePoint trigger on the library, scoped to the RagInput folder. Returns metadata, not bytes.
2. Get file content
Fetches the actual PDF bytes using the identifier the trigger handed over.
3. Convert PDF to editable PDF using OCR
Adds a text layer to scans. OCR Only When Needed skips PDFs that already have one.
4. Extract Text and Images
Returns the text as an array. Extract Images stays No.
5. Compose
join() flattens the texts array into one newline separated string.
6. Create file
SharePoint writes the string to /Shared Documents/RagText as .txt.