メインコンテンツへスキップ

1件の投稿 に「extract-text-from-pdf」というタグが付けられています

すべてのタグを表示

Power AutomateでPDFをテキストファイルに変換する:PDF4meを使用してスキャンした契約書を検索可能なSharePointコーパスに変換する

· 1分で読める
SEO and Content Writer

PDF4me テキストと画像を抽出する これは、PDF のテキスト レイヤーを配列として返す Power Automate アクションです。上流の OCR と下流の Compose 結合と組み合わせることで、このフローは SharePoint ライブラリにドロップされたすべての PDF を一致する PDF に変換します。 .txt AI検索に対応したファイル。

この方法を検索すると、最初の結果はマイクロソフト自身のものだった。 PDFアクションリファレンスPower Automate について説明しています デスクトップ アクションはクラウドフローには存在しません。この一点こそが、次の2つの検索結果が、同じ質問をしながら明確な回答が得られていないRedditのスレッドとPower Platformコミュニティのスレッドである理由です。このフローこそが明確な回答であり、標準ティアコネクタ上で完全にクラウド上で実行されます。

流れの概要
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.