Passa al contenuto principale

Leggere PDF Metadati in Make: Ottieni informazioni sul documento

PDF4me Ottieni informazioni sul documento è un Make modulo che legge un PDF Restituisce 11 campi di metadati, tra cui titolo, autore, numero di pagine, dimensione del file e altro ancora, senza modificare il file sorgente. Utilizzalo per instradare i documenti per parola chiave, bloccare i caricamenti di file di grandi dimensioni prima della conversione o catalogare automaticamente i file di archivio in un foglio di calcolo.

Cosa fa questo modulo

PDF4me - Ottieni informazioni sul documento legge i metadati e le proprietà strutturali di qualsiasi PDF senza toccare il file sorgente. Restituisce 11 campi individuali - Titolo, Autore, Soggetto, Parole chiave, Creatore, Produttore, Data di creazione, Data di modifica, Numero di pagine, Dimensione file e Versione PDF - come token mappabili che puoi collegare direttamente Make Filtri, router, moduli di database o fasi di notifica. Utilizzalo per pre-selezionare le dimensioni dei documenti prima di una fase di conversione, instradare i file in base all'autore o alla parola chiave del reparto, catalogare automaticamente i caricamenti degli archivi in Airtable o Fogli Google, oppure visualizzare il numero di pagine in un'e-mail di approvazione in modo che i revisori sappiano cosa stanno firmando.

Articoli correlati del blog
Non ci sono ancora post sul blog dedicati a questa funzionalità — in arrivo a breve.
Nel frattempo, dai un'occhiata al blog di PDF4me per trovare tutorial e procedure operative su tutte le piattaforme.
Visita il blog

Autenticazione del tuo API Richiesta

Ogni PDF4me modulo in Make richiede un valido Connessione. Crea o selezionane uno che contenga il tuo PDF4me API chiave affinché lo scenario possa richiamare in modo sicuro il servizio di metadati.

Informazioni importanti da non perdere

Rigorosamente non distruttivo

Il modulo legge la struttura del file e restituisce i dati. Nessun byte nell'originale PDF vengono scritti, riordinati o rimossi. Il documento che si mappa è identico a quello passato a valle: può essere eseguito in sicurezza sui file di produzione senza alcun rischio di alterare il codice sorgente.

11 campi strutturati restituiti

Titolo, autore, soggetto, parole chiave, creatore, produttore, data di creazione, data di modifica, numero di pagine, dimensione del file e versione PDF sono tutti disponibili come token mappabili individualmente nel pacchetto di output: non è necessario alcun passaggio di analisi o funzione personalizzata per estrarre i singoli valori.

Collegare direttamente alla logica di routing

Conteggio pagine mappa, autore o parole chiave direttamente in un Make Filtra o instrada per diramare il tuo scenario in base alle proprietà del documento. Instrada i file di grandi dimensioni a un percorso di rifiuto, invia con tag di reparto PDFs alle cartelle corrispondenti oppure saltare i documenti già catalogati con un controllo dei duplicati.

Crea il modulo PDF4me Ottieni informazioni sul documento mostrando Connessione impostata su testuser01@pdf4me.com, File impostato su Mappa con Dropbox - Opzione Scarica un file visibile, Nome file mappato dal passaggio 7 Nome file e Documento mappato dal passaggio 7 Dati

Seleziona Mappa in File, quindi mappa Nome del file E Documento dal passaggio che ha scaricato il PDF.

Parametri

Necessario: Connessione, Nome del file, E Documento. Impostato File A Mappa Innanzitutto, entrambi i campi di input diventano visibili. Per il documento sono necessari byte di file binari: una stringa URL o il solo nome del file non funzioneranno.

ParametroNecessarioCosa faEsempio di mappatura
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 NameConditionalFilename with .pdf extension from the source module, required when File is set to Map. Map from the file name field of your Dropbox, Drive, or OneDrive step.7. File Name
DocumentConditionalBinary PDF content from the download step, required 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 File Content field of SharePoint.7. Data

Come si legge? PDF Metadati in Make?

  1. Aggiungere PDF4meOttieni informazioni sul documento al tuo scenario.
  2. Seleziona Connessione (oppure fai clic) Aggiungere per crearne uno con il tuo API chiave).
  3. Sotto File, scegliere Mappa.
  4. Mappa Nome del file nel campo del nome del file dalla fase di download - includi il .pdf estensione.
  5. Mappa Documento al campo dati binari dallo stesso passaggio (di solito Dati in Dropbox o Contenuto del file nei moduli SharePoint/OneDrive).
  6. Salva e clicca Eseguire una voltaEspandere il Informazioni sul file Pacchetto di output: ciascuno degli 11 campi di metadati è un token mappabile separato, pronto per essere collegato a qualsiasi modulo successivo.

Quali campi di metadati restituisce questo modulo?

Il modulo restituisce un Informazioni sul file pacchetto con 11 campi di metadati individuali: ognuno è mappabile in modo indipendente. Titolo, Autore, Soggetto, Parole chiave, Creatore e Produttore provengono da Dizionario informativo del documento PDF (Sezione 14.3.3 del PDF specifica 32000-1:2008), mentre la data di creazione e la data di modifica seguono ISO 8601 Formattazione del timestamp.

CampoTipoCosa contiene e come usarlo
TitleStringDocument title as stored in the PDF metadata dictionary. Empty string if not set. Map into an Airtable record or email subject line.
AuthorStringName of the person or system that created the document. Use in a Router to send files to department-specific folders based on creator.
SubjectStringSubject or description field from the document properties dialog. Often populated by enterprise document management systems.
KeywordsStringComma-separated keyword tags embedded by the author. Filter on this field in a Make Filter to route to the correct team or project.
CreatorStringApplication that originally created the document - for example, Microsoft Word, Adobe InDesign, or a PDF library name.
ProducerStringPDF conversion library or printer driver that generated the final PDF bytes. Different from Creator when a Word file was later exported to PDF.
Creation DateDateTimeISO 8601 timestamp of when the document was first created. Use in a Filter to process only documents created within a target date range.
Modification DateDateTimeISO 8601 timestamp of the last save. Compare to a stored baseline date to detect documents that have changed since last processing.
Page CountIntegerTotal number of pages. Use in a Filter to block files over a page limit or route short vs. long documents to different processing branches.
File SizeIntegerFile size in bytes. Gate on this before a conversion or email step - reject oversized files and notify the submitter to re-upload a compressed version.
PDF VersionStringPDF specification version (e.g. 1.4, 1.7, 2.0). Verify conformance before routing to a PDF/A archive that requires a specific version.

Quando dovrei utilizzare la funzione "Ottieni informazioni sul documento"?

Configurazioni tipicheCommon Make scenario patterns that use Get Document Information to drive routing, validation, or cataloging.
Instrada i documenti alle cartelle dipartimentali tramite parola chiave
  1. Un nuovo PDF il messaggio finisce in una cartella di posta in arrivo condivisa di Dropbox e attiva lo scenario.
  2. Ottieni informazioni sul documento Estrae il campo dei metadati Parole chiave.
  3. UN Make Il router verifica il valore della parola chiave rispetto ai nomi dei dipartimenti (Finanza, Legale, Risorse Umane).
  4. Ogni filiale carica il file nella cartella del team corrispondente su Google Drive.
  5. Una notifica Slack avvisa il team di destinazione con il titolo del documento e il numero di pagine.
Porta di validazione della pre-elaborazione
  1. L'invio di un modulo attiva lo scenario con un allegato PDF.
  2. Ottieni informazioni sul documento Restituisce il numero di pagine e la dimensione del file.
  3. Un filtro blocca l'elaborazione dei file di dimensioni superiori a 50 MB o inferiori a 1 pagina.
  4. I documenti validi possono essere inviati al modulo di conversione o di firma elettronica.
  5. I file rifiutati attivano una risposta via email in cui si chiede all'utente di caricare una versione di dimensioni inferiori.
Cataloga automaticamente i nuovi caricamenti di archivio in Airtable
  1. Uno scenario pianificato itera su nuovi PDFs in una cartella di archivio di OneDrive.
  2. Ottieni informazioni sul documento Estrae tutti gli 11 campi di metadati per file.
  3. Un modulo di Airtable crea un nuovo record con titolo, autore, data di creazione e numero di pagine.
  4. Il record rimanda all'URL del file di OneDrive per un recupero con un solo clic.
  5. Un filtro ignora i file che hanno già un record corrispondente in Airtable per evitare duplicati.

Consigli pratici

Structural fields are always populated
Page Count, 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, Keywords, Creator, and Producer 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.
Creator and Producer are often different
Creator names the authoring application, Producer names the library or driver that generated the final PDF bytes, useful for distinguishing a Word export from a native PDF tool.

Foglio riassuntivo

CampoValore
FileMap
File Name7. File Name
Document7. Data
Always populatedPage Count, File Size, PDF Version
Can be emptyTitle, Author, Subject, Keywords, Creator, Producer

Domande frequenti

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?+
Page Count, 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, Keywords, Creator, and Producer 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 Page Count output to branch my scenario conditionally?+
Yes - this is one of the most practical uses of the module. Map the Page Count field into a Make Filter condition placed after Get Document Information. For example, set the Filter to pass only when Page Count 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 Creation 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 File Info output bundle in the Make mapping panel - each of the 11 fields (Title, Author, Subject, Keywords, Creator, Producer, Creation Date, Modification Date, Page Count, File Size, 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, Page Count into a Filter condition, or Author into an Airtable record column. No custom function or JSON parsing is required.

Azioni correlate

Stessa attività su altre piattaforme

Richiedi assistenza