Skip to main content

Read Barcodes from PDF in Make

What this module does

PDF4me — Read Barcodes from PDF automatically detects and extracts barcode data from any PDF document in your Make scenario — scanned invoices, shipping labels, packing slips, or digitally generated documents. It returns an array of barcode text values that you can use immediately to route documents, look up records in a database, rename files, or trigger any downstream action. No manual scanning, no OCR configuration — point it at a PDF and the barcode data comes back ready to use.

Authenticating Your API Request

Every PDF4me module in Make requires a valid Connection. Create or select one that holds your PDF4me API key so the scenario can authenticate barcode extraction requests securely.

Important Facts You Should Not Miss

Buffer and public URL both work

The Document / public file URL field accepts either a binary file buffer mapped from a prior module — such as a cloud storage download or email attachment — or a direct HTTPS URL pointing to the PDF. You do not need to download the file first if it is publicly accessible.

Select All scans every format at once

When you do not know which barcode type the document contains, tick Select All. The module scans for Code128, Code39, DataMatrix, PDF417, and QRCode in a single pass. If you know the format, selecting only that type speeds up processing — useful for high-volume document workflows.

Output is an array — use an Iterator for multiple barcodes

Barcode Data returns every barcode found as a separate array entry. If you only need the first barcode, reference Barcode Data[1] directly. If a document may contain several barcodes — like a packing slip with one barcode per line item — add a Make Iterator after this module to process each value individually.

Make PDF4me Read Barcodes from PDF module showing Connection set to TestUser01, File set to Map with File Name and Document fields, and Select Barcode Type showing QRCode checked

File set to Map passes the filename and PDF from any prior module. Select Barcode Type lets you target specific formats or scan all at once.

Parameters

Required: Connection, File Name, and Document / public file URL must all be provided. Select Barcode Type defaults to all formats if left at Select All.

ParameterRequiredWhat it doesExample
ConnectionYesPDF4me API connection. Click Add and paste your API key if connecting for the first time.Your PDF4me connection
File NameYesSource PDF filename including the .pdf extension. Map from the prior module's file name output.invoice_scan.pdf
Document / public file URLYesBinary PDF buffer from a prior module, or a publicly accessible HTTPS URL to the PDF. Scanned and digital PDFs both work.1. Data or https://example.com/doc.pdf
Select Barcode TypeYesBarcode formats to scan for: Select All, Code128, Code39, DataMatrix, PDF417, or QRCode. Select All scans every format in one pass.Select All

Quick Setup

  1. Add PDF4meRead Barcodes from PDF to your Make scenario.
  2. Select Connection (or click Add to create one with your API key).
  3. Set File Name and Document / public file URL from the prior module — a cloud storage download, email attachment, or HTTP response.
  4. Under Select Barcode Type, tick Select All or choose the specific format your documents use.
  5. Click Save and run the scenario. The Barcode Data output contains an array of extracted text values — reference Barcode Data[1] for the first result or add an Iterator to loop through all values.

Workflow Examples

Workflow ExamplesCommon Make scenario patterns using Read Barcodes from PDF.
Route scanned documents by barcode prefix
  1. Dropbox Watch Folder triggers when a new scanned PDF arrives.
  2. Read Barcodes from PDF extracts the barcode text from the document.
  3. A Router checks Barcode Data[1] — if it starts with "INV-" it goes to the Invoices folder, "ORD-" to Orders, "RCP-" to Receipts.
  4. Each route uploads the file to the correct Google Drive destination folder.
Rename uploaded files using the barcode value
  1. Email Watch triggers when a PDF invoice arrives as an attachment.
  2. Read Barcodes from PDF extracts the invoice number barcode.
  3. Google Drive upload uses Barcode Data[1] + ".pdf" as the filename — the file is stored under its invoice number automatically.
  4. A Slack message notifies the accounts team that a new invoice has been filed.
Look up order details using a shipping label barcode
  1. A webhook fires when a shipping label PDF is generated.
  2. Read Barcodes from PDF extracts the tracking number barcode from the label.
  3. An HTTP module queries the shipping API with the tracking number to retrieve delivery status and customer details.
  4. A Gmail module sends the customer an automatic dispatch notification with the tracking number.

Frequently Asked Questions

What barcode formats does this module support?+
Five formats — Code128, Code39, DataMatrix, PDF417, and QRCode. Use Select All to scan for every format in a single pass, or select only the type your documents use if you want faster processing on large volumes.
Does it work on scanned paper documents converted to PDF?+
Yes. The module processes both digitally created PDFs and scanned paper documents. A minimum scan resolution of 200 DPI is recommended for reliable recognition. Very low-resolution or heavily skewed scans may reduce accuracy.
What happens if the PDF contains more than one barcode?+
Every detected barcode is returned as a separate entry in the Barcode Data array. Reference Barcode Data[1] for the first result. To process each barcode individually in downstream modules, add a Make Iterator after this step — it will loop through the entire array one entry at a time.
Can I supply the PDF as a URL instead of a binary buffer?+
Yes. The Document / public file URL field accepts both a binary buffer mapped from a prior module and a publicly accessible HTTPS URL pointing directly to the PDF. If the file is already hosted on a public URL you do not need to download it first.
How do I use the extracted barcode to rename files in cloud storage?+
Map Barcode Data[1] into the filename field of a Google Drive, Dropbox, or SharePoint upload module. Append ".pdf" as a static string to complete the extension — for example, combine the barcode value with the literal text ".pdf" using Make's text functions. The file is then stored under the barcode value as its name.

Get Help