Turn Barcode or QR Text Into PDF Filenames using n8n in 4 Steps !
You receive PDFs—shipping labels, inventory sheets, invoices—each with a barcode or QR code holding the tracking number, serial ID, or product code you need. You want them renamed by that value so you can find them later. Doing that by hand? It eats hours.
Sound familiar? You're not alone. Manual renaming doesn't scale.
The fix: an n8n workflow that downloads the PDF, uses Read Barcode From PDF (PDF4me) to extract the value from the barcode or QR code, merges that value with the file, and uploads it with the new name. Same content, new filename—no manual renaming.
This guide walks you through the full flow: download the PDF, read its barcode value, then merge and upload the file with the barcode as the new filename.