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

MakeでAIを使ってあらゆるPDFを抽出・スマートリネーム:PDF4me AI - ドキュメントパーサーを使用した4モジュール構成のDropboxワークフロー

· 1分で読める
SEO and Content Writer

ベンダー請求書の自動化で最も難しい部分は、常にファイル名付けでした。 2030703747 (1).pdf そして Scan_2026-04-12_invoice.pdf 検索もソートもできず、監査も不可能である。 PDF4me AI - ドキュメントパーサー さらに、Make Parse JSON モジュールでそれを修正します 4つのモジュール、コード不要AI は PDF からベンダー名を抽出し、同じシナリオでファイルを再アップロードします。 Acme Industries.pdf以下のスクリーンショットは、キャンバスに記録された実際の実行手順を示しています。

状況の概要
1. Dropbox Download
Pulls /pdf4metest/sample/2030703747 (1).pdf. Scheduled trigger shown.
2. PDF4me AI - Document Parser
Runs the default_invoice_extraction Analyzer Template. Output: Doc Text JSON.
3. JSON Parse JSON
JSON string mapped to 3. Doc Text. Exposes vendorName, invoiceNumber, totalAmount, etc.
4. Dropbox Upload
Writes to /pdf4meoutput/ with File Name = 6. vendorName + .pdf. Smart-rename complete.
要約版

Makeモジュール4つ。Dropbox ファイルをダウンロードする ベンダーの生の PDF を取得します (スクリーンショットは、 YnooxTestone 接続、パス /pdf4metest/sample/2030703747 (1).pdfPDF4me AI - ドキュメントパーサー 前のステップのファイル名とドキュメントをマッピングして実行します デフォルトの請求書抽出 として AIアナライザーIDJSON JSONを解析する 回転 ドキュメントテキスト 個別にマッピング可能なトークンに出力します。Dropbox ファイルをアップロードする に手紙を書く /pdf4meoutput/ と ファイル名 = 6. ベンダー名 + .pdf そして データ = 1. データ 元のダウンロードファイルから自動的に処理されます。結果として、同じPDFファイルが意味のあるファイル名で出力フォルダに保存され、人間の介入は一切ありません。

8モジュールではなく4モジュールにしている理由は

2つのデザイン選択肢。まず、 アップロードモジュール上のデータは、モジュール1(元のDropboxデータ)に紐付けられています。モジュール 3 ではありません。AI パーサーはメタデータを抽出するだけでよく、アップロードでは元の未変更のファイルを再利用するため、再エンコードも品質の劣化もなく、手順が 1 つ少なくなります。2 番目に、 ファイル名は解析されたトークンとリテラルを使用します .pdf 拡大 (スクリーンショットには 6. ベンダー名 続いて入力されたテキスト .pdf)そのため、AIが返す内容に関係なく、名前が変更されたファイルは有効な拡張子を保持します。

現実世界でよくある疑問を解決します​

人々は次のようなフレーズを使って、まさにこの問題を検索しています。

  • 「PDFファイルの内容に基づいて、自動的にファイル名を変更するにはどうすればよいですか?」 この4つのモジュールからなるシナリオでは、AIがベンダー名を読み取り、アップロード時にそれをファイル名として使用します。手作業は一切不要です。
  • PDFファイルからベンダー名を抽出して、他の場所で使用することはできますか? はい。AI - Document Parser の直後にある JSON Parse JSON ステップでは、抽出されたすべてのフィールドが個別にマッピング可能なトークン (vendorName、invoiceNumber、totalAmount など) として公開されます。
  • MakeにはAIによる文書解析機能はありますか? はい。PDF4me AI - ドキュメントパーサーモジュールです。テンプレート駆動型(アナライザーテンプレート)なので、同じモジュールで請求書、領収書、契約書、カスタムフォームなどを処理できます。
  • 「モデルをトレーニングせずに、PDFから構造化されたJSONを抽出するにはどうすればよいですか?」 組み込みのアナライザーテンプレートを選択します(default_invoice_extraction AP用)またはPDF4meダッシュボードでカスタム設定を作成できます。トレーニングは一切不要です。
  • 抽出したフィールドのいずれかを使用して出力ファイルの名前を変更できますか? はい。JSON解析後、解析されたトークンを「アップロードファイル名」フィールドにドロップしてください。これで完了です。

あなたが構築しているもの​

AP/受信文書自動化のための再利用可能なMakeシナリオです。トリガーが発火すると(手動、図示のスケジュール、ファイル監視、Webhook)、ベンダーのPDFがAIによって解析され、その内容から意味のあるファイル名が付けられた同じファイルが再アップロードされます。他のPDF4meアナライザーテンプレート(領収書、契約書、発注書、カスタムフォーム)を組み込むことで、同じフローで他の文書タイプも処理できます。

シナリオキャンバスを作成します。Dropbox からファイルをダウンロード(スケジュールされた時計バッジ付き)、PDF4me AI - ドキュメントパーサー、JSON から JSON を解析、Dropbox からファイルをアップロードします。4 つの大きな円形のモジュールアイコンが、標準の Make の点線コネクタで接続されています。

4つのモジュールがエンドツーエンドで動作します。Dropbox 1の時計バッジは、スケジュールされたトリガーを示しています。本番環境では、Webhookまたはファイル監視に切り替えてください。


必要なもの​

まずはサンプルを入手してください。 スクリーンショットで使用されているものと同じベンダー請求書をダウンロードします。それをDropboxのソースフォルダにドロップします(例: /pdf4metest/sample/)シナリオを実行する前に、モジュール 1 が同じファイルを取得し、 デフォルトの請求書抽出 同じ値を返します ベンダー名 アップロード手順で表示されるトークン。

クイックリファレンス:各パラメータの機能​

AI Analyzer Id
Picks the Analyzer Template. default_invoice_extraction for invoices; custom templates for receipts, contracts, purchase orders.
File Name + Document
Both mapped from the prior storage module. Filename (with extension) and binary content of the source.
Doc Text (output)
JSON string with every extracted field. Always wire into a JSON Parse JSON module next.
Parsed tokens
After Parse JSON, every Analyzer Template field becomes an individually mappable token (vendorName, invoiceNumber, etc).
Smart-rename pattern
Drop a parsed token + .pdf into the downstream Upload File Name slot. Output file is renamed automatically.
Connection reuse
One PDF4me connection per Make team is enough. Add it once, reuse across every PDF4me module.

シナリオを作成する​

モジュール1:Dropboxでファイルをダウンロードする​

ソースフォルダからベンダーの生PDFファイルを取得します。

分野この実行で使用された値
ConnectionYnooxTestone (ynoox.test...). your Dropbox connection
Way of selecting filesSelect a file
File/pdf4metest/sample/2030703747 (1).pdf
接続 YnooxTestone を使用して Dropbox のダウンロードファイル構成を作成します。ファイルの選択方法、ファイルの選択、およびファイルパス /pdf4metest/sample/2030703747 (1).pdf。

モジュール2:PDF4me AI - ドキュメントパーサー​

検索する PDF4me アクションピッカーで選択 AI - ドキュメントパーサー。

分野この実行で使用された値
ConnectionMy PDF4me connection (t...)
FileMap
File Name1. File Name (from Module 1)
Document1. Data (from Module 1)
AI Analyzer Iddefault_invoice_extraction (built-in)
PDF4me AI - ドキュメント パーサー アクションは、接続 My PDF4me 接続、ファイル設定マップ、ファイル名 1. ファイル名、ドキュメント 1. データ、および AI アナライザー ID default_invoice_extraction で構成されています。

の デフォルトの請求書抽出 テンプレートは組み込まれています。 アナライザーテンプレート ヒントにあるリンクをクリックすると、領収書、契約書、またはあらゆる種類の文書に対応したカスタムアナライザーを作成できます。

モジュール3:JSON - JSONの解析​

AIモジュールは結果をJSON文字列として返します Doc Textそれを解析して、個別にマッピング可能なフィールドを明らかにします。

分野この実行で使用された値
Data structureMy data structure (or leave blank. Make builds one on first run)
JSON string3. Doc Text (from Module 2)
データ構造を「私のデータ構造」のままにして、JSON 文字列を AI - Document Parser モジュールの 3. Doc Text にマッピングして JSON Parse JSON アクションを作成します。

データ構造はデフォルトのままにしておく 私のデータ構造 そしてMakeは、最初のシナリオ実行時に、ライブAI出力から1つを構築します。

モジュール4:Dropboxでファイルをアップロードする​

スマートリネームの手順。マップ ファイル名 解析されたトークンとリテラル .pdf 拡張、そして データ へ オリジナル モジュール1のファイル(AIの出力ではない)。

分野この実行で使用された値
ConnectionYnooxTestone (ynoox.test...)
Folder/pdf4meoutput/
FileMap (so File Name and Data come from prior modules)
File Name6. vendorName + .pdf (the parsed vendorName plus a literal .pdf extension)
Data1. Data (re-uses the original Dropbox download. not the AI output)
接続YnooxTestone、フォルダー/pdf4meoutput/、ファイル設定をマップ、ファイル名を6. vendorNameに続けて.pdf、データを1. 元のDropboxダウンロードからのデータにマッピングして、Dropboxアップロードファイル構成を作成します。

スマートリネーム: 6. ベンダー名 はモジュール 3 から解析されたトークンで、リテラル .pdf その直後に入力した。

保存してクリック 1回実行ベンダーのPDFは /pdf4meoutput/ ベンダー名にちなんで名付けられた。


トラブルシューティング​

Parse JSON cannot see Doc Text
The AI module did not run yet. execute the scenario once with Run once. Make builds the data structure from the live output of Module 2 on first execution.
Renamed file has no .pdf extension
Forgot the literal .pdf text after the vendorName token. Click the File Name field, place the cursor after the parsed token, and type .pdf.
Upload writes an empty file
Data is bound to the wrong source. It should be Module 1 (original Dropbox download). 1. Data, not the AI output. The AI module returns metadata, not a binary file.
vendorName comes back as empty or wrong
The Analyzer Template did not match the document layout. Try a different built-in template, or create a custom template at pdf4me.com tuned for the layout of your vendors.
Want to extract more than vendor name
Any field in the Analyzer Template is exposed as a token after Parse JSON. Drop invoiceNumber, totalAmount, lineItems, etc anywhere you would drop a normal Make variable.
AI Analyzer Id dropdown is empty
No analyzer templates exist on your PDF4me account yet. Open pdf4me.com, navigate to the Analyzer Templates section, and either pick the built-in default_invoice_extraction or create a custom template.

このパターンはいつ使用するのか​

Accounts payable automation
Vendor invoices in, structured data into Airtable / NetSuite / Xero, renamed file archived.
Email-to-ERP routing
Inbound email PDFs get parsed and routed to the right department based on extracted fields.
Contract intake (custom template)
Custom Analyzer Template extracts effective_date, parties, governing_law into a legal tracker.
Audit-friendly archives
Renaming by extracted vendor and date makes folders searchable and audit-trail clean.

次に読むべきもの​


よくある質問​

What is the difference between AI - Document Parser and AI-Invoice Parser?+
AI-Invoice Parser uses a fixed invoice schema (vendor, line items, totals, dates) and returns confidence scores. AI - Document Parser is template-driven via the AI Analyzer Id, so you can swap the document type by picking a different template. Use AI-Invoice Parser for AP-only workflows; use AI - Document Parser when you handle multiple document types or need a custom field set.
Where do I create a custom Analyzer Template?+
From the AI Analyzer Id dropdown click the Analyzer Template link in the hint, or visit pdf4me.com. Define the fields you want extracted, name the template, save. The new template appears in the AI Analyzer Id dropdown in Make on the next scenario edit.
Why is Data on the Upload module bound to Module 1 instead of Module 2?+
Because the AI module only returns metadata (the extracted JSON on Doc Text), not a binary file. The original PDF lives on Module 1 Data. Re-using it on the upload avoids re-encoding and keeps the output identical to the input.
How do I add the .pdf extension to the renamed file?+
After dropping the parsed vendorName token into File Name, place the cursor right after it and type the literal text .pdf. Make stores File Name as a mixed string (token + literal), and the upload writes the file with the combined name.
Can I trigger this from email, SharePoint, or a webhook instead of a scheduled Dropbox download?+
Yes. Replace Module 1 with any module that produces a binary file and a filename: Gmail Get Attachments, SharePoint Get file content, OneDrive Download a File, Webhooks Custom webhook with file payload. Modules 2, 3, 4 stay identical.
How big can the input PDF be?+
Practical limits are bounded by Make operation timeouts and the PDF4me API payload limit. For multi-hundred-MB documents, downsample first via a PDF4me Compress action then run AI - Document Parser on the result.
Does this work in Power Automate, n8n, or Zapier?+
Yes. The PDF4me AI - Document Parser action is available on all four platforms with the same Analyzer Template concept. See the cross-platform comparison at the bottom of the Make action reference page.
How accurate is the extraction?+
Accuracy depends on document layout consistency and the Analyzer Template fit. Built-in templates like default_invoice_extraction are tuned across thousands of vendor invoices. For custom layouts that the AI mis-reads on, build a custom Analyzer Template in pdf4me.com with examples of your specific format.

さあ始めましょう​

ウォークスルーファイルを使って試してみてください

↓ sample-vendor-invoice.pdf をダウンロード