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

読む PDF メタデータ Make: 文書情報を取得する

PDF4me ドキュメント情報を取得する Make モジュールが PDF ソースファイルを変更することなく、タイトル、著者、ページ数、ファイルサイズなど、14個のメタデータフィールドを返します。キーワードによるドキュメントのルーティング、変換前のサイズ超過アップロードのブロック、アーカイブファイルの自動カタログ化(スプレッドシートへの入力)などに活用できます。

このモジュールの機能

PDF4me - 文書情報を取得する メタデータと構造プロパティを読み取る PDF ソースファイルを変更せずに返します。 14の個別分野 - タイトル、件名、ページ数、著者、作成方法、作成者、作成日、更新日、ファイルサイズ、暗号化されているか、高速ウェブビュー、PDF準拠レベル、署名されているか、PDFバージョン - マッピング可能なトークンとして直接接続できます Make フィルター、ルーター、データベースモジュール、通知ステップなど、様々な用途に使用できます。変換ステップの前にドキュメントサイズを事前スクリーニングしたり、作成者や部署のキーワードでファイルをルーティングしたり、アーカイブアップロードをAirtableやGoogle Sheetsに自動的にカタログ化したり、承認メールにページ数を表示してレビュー担当者が承認内容を把握できるようにしたりするのに活用できます。

関連ブログ記事
この機能に関するブログ記事はまだありません。近日公開予定です。
その間、PDF4me ブログを閲覧して、あらゆるプラットフォームのチュートリアルやワークフローをご覧ください。
ブログをご覧ください →

認証 API リクエスト​

毎 PDF4me モジュール Make 有効な 繋がり. 作成または選択して、 PDF4me API シナリオがメタデータサービスを安全に呼び出せるようにするためのキー。

見逃してはならない重要な事実​

厳密に非破壊的

このモジュールはファイル構造を読み取り、データを返します。元のデータにはバイトはありません。 PDF 書き込み、並べ替え、削除は行われません。マッピングするドキュメントは、下流に渡されるドキュメントと同一であるため、ソースコードを変更するリスクなく、本番ファイルで安全に実行できます。

14個の構造化フィールドが返されました

タイトル、件名、ページ数、作成者、作成方法、作成者、作成日、更新日、ファイルサイズ、暗号化の有無、高速ウェブビュー、PDF準拠レベル、署名の有無、PDFバージョンはすべて、出力バンドル内の個別のマッピング可能なトークンとして利用できます。個々の値を抽出するために解析手順やカスタム関数は必要ありません。

ルーティングロジックに直接配線する

ページ数、著者、または暗号化されたマップを直接 Make ドキュメントのプロパティに基づいてシナリオを分岐させるには、フィルターまたはルーターを使用します。サイズが大きすぎるファイルは拒否パスにルーティングし、作成者タグ付きのファイルも送信します。 PDFs 一致するフォルダに移動するか、パスワードで保護されたファイルを別のブランチに転送します。

PDF4meの「ドキュメント情報取得」モジュールで、接続設定がtestuser01@pdf4me.com、ファイル設定がDropboxとのマッピング - ファイルのダウンロードオプションが表示され、ファイル名が手順7のファイル名からマッピングされ、ドキュメントが手順7のデータからマッピングされるようにします。

選択 地図 ファイル、マップの順に選択してください。 ファイル名 そして 書類 ダウンロードしたステップから PDF。

パラメータ​

必須: 繋がり、 ファイル名、 そして 書類。 セット ファイル に 地図 まず、両方の入力フィールドが表示されるようにしてください。ドキュメントにはバイナリファイルバイトが必要です。URL文字列やファイル名だけでは機能しません。

パラメータ必須その機能マッピング例
ConnectionRequiredPDF4me API connection used by the scenario to authenticate metadata requests. Click Add and paste your API key if connecting for the first time.Your PDF4me connection
FileRequiredDetermines how the PDF is supplied. Choose Map to wire File Name and Document from a prior module's output - the most common setup for multi-step scenarios.Map
File NameRequiredFilename with .pdf extension from the source module, supplied when File is set to Map. Map from the file name field of your Dropbox, Drive, or OneDrive step.7. File Name
DocumentRequiredBinary PDF content from the download step, supplied when File is set to Map. Must be actual file bytes - not a URL or a filename string. Map from the Data field of Dropbox or the equivalent binary field of SharePoint.7. Data

読み方は PDF メタデータ Make?​

  1. 追加 PDF4me → 文書情報を取得する あなたのシナリオに当てはめて。
  2. 選択 繋がり (またはクリック) 追加 あなたと一緒に作成する API 鍵)。
  3. 下 ファイル、 選ぶ 地図。
  4. 地図 ファイル名 ダウンロード手順のファイル名フィールドに以下を含めます。 .pdf 拡大。
  5. 地図 書類 同じステップからのバイナリデータフィールドへ(通常は データ Dropbox内、またはSharePoint/OneDriveモジュール内の同等のバイナリフィールド)。
  6. 保存 そしてクリック 1回実行出力バンドルを展開します。14個のメタデータフィールドはそれぞれ独立したマッピング可能なトークンであり、後続のモジュールに接続できます。

このモジュールはどのようなメタデータフィールドを返しますか?​

モジュールは以下を返します 14個の個別メタデータフィールド - それぞれ独立してマッピング可能です。タイトル、主題、著者、作成方法、制作者は PDF文書情報辞書 (第 14.3.3 項 PDF 32000-1:2008 仕様)は、ページ数、ファイルサイズ、暗号化されているかどうか、高速ウェブビュー、PDF 準拠レベル、署名されているかどうか、および PDF バージョンは、ファイル構造自体から読み取られます。

分野タイプ内容物と使用方法
TitleTextTitle stored in the PDF document properties. Empty when not set. Map into an Airtable record or email subject line.
SubjectTextSubject stored in the PDF document properties. Often populated by enterprise document management systems.
Number of PagesNumber (whole)Number of pages in the PDF. Use in a Filter to block files over a page limit or route short vs. long documents to different processing branches.
AuthorTextAuthor stored in the PDF document properties. Use in a Router to send files to department-specific folders based on author.
Created UsingTextApplication used to create the original document - for example Microsoft Word or Adobe InDesign.
Produced ByTextApplication that produced the PDF. Differs from Created Using when a Word file was later exported to PDF.
Created DateTextDate and time the PDF was created. Use in a Filter to process only documents created within a target date range.
Modified DateTextDate and time the PDF was last modified. Compare to a stored baseline to detect documents that have changed since last processing.
File SizeNumber (whole)Size of the PDF file in bytes. Gate on this before a conversion or email step - reject oversized files and notify the submitter to re-upload a compressed version.
Is EncryptedYes/NoWhether the PDF is encrypted (password protected). Branch password-protected files to a separate path instead of letting a later module fail.
Fast Web ViewYes/NoWhether the PDF is linearized for Fast Web View - useful when files are served for progressive download in a browser.
PDF Compliance LevelTextPDF/A (or other) compliance level of the file, if any. Check it before routing a document into a regulated archive.
Is SignedYes/NoWhether the PDF contains a digital signature. Use it to separate already-signed contracts from documents still awaiting signature.
PDF VersionTextPDF version of the file, for example 1.7. Verify conformance before routing to an archive that requires a specific version.

「ドキュメント情報取得」はどのような場合に使用すべきですか?​

典型的な構成Common Make scenario patterns that use Get Document Information to drive routing, validation, or cataloging.
文書を科目別に部門フォルダに振り分ける
  1. 新しい PDF 共有Dropbox受信トレイフォルダに届き、シナリオがトリガーされます。
  2. 文書情報を取得する 件名メタデータフィールドを抽出します。
  3. A Make ルーターは、件名を部門名(財務、法務、人事)と照合します。
  4. 各支社は、Googleドライブ内の対応するチームフォルダにファイルをアップロードします。
  5. Slack通知は、文書のタイトルとページ数を宛先チームに通知します。
前処理検証ゲート
  1. フォーム送信により、添付されたシナリオがトリガーされます。 PDF。
  2. 文書情報を取得する ページ数とファイルサイズを返します。
  3. フィルターは、50MBを超えるファイル、または1ページ未満のファイルの処理をブロックします。
  4. 有効な文書は、変換モジュールまたは電子署名モジュールに進みます。
  5. 拒否されたファイルに対しては、送信者により小さなバージョンのファイルを再アップロードするよう求めるメールが返信されます。
Airtableに新しいアーカイブアップロードを自動的にカタログ化する
  1. スケジュールされたシナリオは新しいものを反復します PDFs OneDriveのアーカイブフォルダ内。
  2. 文書情報を取得する ファイルごとに14個のメタデータフィールドすべてを抽出します。
  3. Airtableモジュールは、タイトル、作成者、作成日、ページ数を含む新しいレコードを作成します。
  4. この記録は、ワンクリックでファイルを取得できるよう、OneDriveのファイルURLにリンクされています。
  5. フィルターは、既に一致するAirtableレコードが存在するファイルをスキップすることで、重複を防ぎます。

実践的なヒント​

Structural fields are always populated
Number of Pages, File Size, and PDF Version come from the file structure itself, not optional metadata, so they are never empty even on documents with no author-supplied properties.
Empty strings are normal, not errors
Author, Title, Subject, Created Using, and Produced By return empty strings when the document creator never set them. The module does not fail on missing metadata.
File Name and Document only appear after choosing Map
The panel starts with just Connection and File visible. Select Map under File to reveal the File Name and Document mapping fields.
Run Repair PDF first on suspect files
If incoming PDFs may be corrupted or come from an unreliable source, run Repair PDF before this module so metadata reads cleanly instead of returning empty fields.
Created Using and Produced By are often different
Created Using names the authoring application, Produced By names the library or driver that generated the final PDF bytes, useful for distinguishing a Word export from a native PDF tool.

チートシート​

分野価値
FileMap
File Name7. File Name
Document7. Data
Always populatedNumber of Pages, File Size, PDF Version
Can be emptyTitle, Author, Subject, Created Using, Produced By

よくある質問​

Does this module modify the PDF in any way?+
No. Get Document Information performs a strictly read-only inspection of the file. The module reads the document dictionary and cross-reference table to extract metadata values and returns them as a structured output bundle. No bytes in the source PDF are written, reordered, or removed during this process. The file you map into this module is identical byte-for-byte to what gets passed into any downstream module - you can safely run it on production documents without any risk of altering the originals.
What if the PDF has no metadata fields set?+
Number of Pages, File Size, and PDF Version are always populated because they are derived from the document structure itself rather than optional metadata fields. Author, Title, Subject, Created Using, and Produced By will return empty strings when the document creator did not fill them in - this is common with PDFs generated by automated systems or older software that strips document information during export. The module does not error on empty metadata; it simply returns empty strings for those specific fields.
Can I use the Number of Pages output to branch my scenario conditionally?+
Yes - this is one of the most practical uses of the module. Map the Number of Pages field into a Make Filter condition placed after Get Document Information. For example, set the Filter to pass only when Number of Pages is greater than 20 and route those to a PDF splitting workflow, while shorter documents continue to an email step. You can similarly use File Size to reject oversized uploads before a conversion step, or check Created Date to process only documents created within a target date range such as the current calendar month.
What PDF versions and variants does this module support?+
The module reads metadata from all common PDF versions - PDF 1.0 through PDF 2.0 - as well as PDF/A archival variants including PDF/A-1, PDF/A-2, and PDF/A-3. The PDF Version field in the output tells you exactly which specification the document conforms to (for example 1.4, 1.7, or 2.0). This is particularly useful in compliance workflows where you need to verify that a document meets a required PDF version before it is sent to a regulated archive or long-term storage system.
How do I access a specific metadata field in a downstream module?+
After the module runs, expand the output bundle in the Make mapping panel - each of the 14 fields (Title, Subject, Number of Pages, Author, Created Using, Produced By, Created Date, Modified Date, File Size, Is Encrypted, Fast Web View, PDF Compliance Level, Is Signed, PDF Version) appears as its own individually selectable token. Click any token to insert it into a field in the next module - for example, map Title into the Subject field of a Gmail step, Number of Pages into a Filter condition, or Author into an Airtable record column. No custom function or JSON parsing is required.

関連アクション​

他のプラットフォームでの同じタスク​

ヘルプが必要な場合​