Skip to main content

Rename PDFs in Make with Parse Document: Auto-Name Files by Invoice Number

· 9 min read
SEO and Content Writer

PDFs named input.pdf or document.pdf are hard to search. You want the invoice number, customer name, or order ID in the filename—automatically. This guide shows a clean Make scenario that parses the PDF and renames it using the extracted value.

Flow (3 modules): Dropbox – Download a FilePDF4me – Parse a DocumentDropbox – Upload a File.
The Parse action returns Parse Info (e.g. KeyName: Invoice #Pdf4me-202503-25041), and you use that value as the new filename.

What Do You Need?

What Does This Scenario Do?

  1. Download a PDF from Dropbox.
  2. Parse the PDF with your template (e.g. test) and extract Parse Info.
  3. Upload the same PDF with a new name based on the extracted value (e.g. Invoice #Pdf4me-202503-25041.pdf).

Result: a PDF renamed by what’s inside it—no code.

Scenario Overview (3 Steps).

  1. Dropbox – Download a File — Gets the input PDF (/Blog Data/Parse/input.pdf).
  2. PDF4me – Parse a Document — Uses your template (test) and returns Parse Info.
  3. Dropbox – Upload a File — Saves the same file with a new name from Parse Info.
Make scenario: Dropbox Download a File → PDF4me Parse a Document → Dropbox Upload a File

Before and After (Input vs. Output).

Input: input.pdf, Output: Invoice #Pdf4me-202503-25041.pdf

Where Do You Set Up the Parse Template?

The template defines what to extract (invoice number, customer name, order ID). You create it once on dev.pdf4me.com, then reference it by name in Make. No code—just draw boxes around the fields you want.

Create Template.

  1. Go to Parse Document.
  2. Click Add → enter the template name (e.g. test) → Save.
  3. Click Edit to configure.
Parse Document template list: Add, Edit

Configure Template.

  1. Upload a sample PDF.
  2. Draw capture areas around the fields you want.
  3. Name the keys (e.g. KeyName, Invoice No, Order ID).
  4. Test and Save Changes.
Parse Document template editor: capture areas, keys, Test Parse, Save Changes

For details, see Prepare Parse Info for Document.


Step 1: Dropbox – Download a File.

Flow so far: Download a File.

  1. Add DropboxDownload a File.
  2. Connection — Select your Dropbox connection.
  3. Way of selecting filesSelect a file.
  4. File — Choose /Blog Data/Parse/input.pdf.
Dropbox Download a File: Select a file, /Blog Data/Parse/input.pdf

This outputs Data (file content) and File Name for the Parse step.


Step 2: PDF4me – Parse a Document.

Flow so far: Download a File → Parse a Document.

  1. Add PDF4meParse a Document.
  2. Connection — Select your PDF4me connection.
  3. File — Map Dropbox – Download a File.
  4. Parse Id [Deprecated] — leave empty.
  5. Template Name — enter your template name (e.g. test).
PDF4me Parse a Document: File from Dropbox Download, Template Name test

Output (from module run): Parse Info returns the key you want to use for renaming.
In our example, it returns KeyName: Invoice #Pdf4me-202503-25041.

Parse output: KeyName Invoice #Pdf4me-202503-25041

Step 3: Dropbox – Upload a File (Rename).

Flow so far: Download → Parse → Upload.

  1. Add DropboxUpload a File.
  2. Folder — Choose /Blog Data/Parse/ (or your output folder).
  3. File — Map Dropbox – Download a File.
  4. File Name — Use the parsed value as the new name:
    • File Name = 2. parseInfo: KeyName + .pdf
  5. Data — Map 1. Data from the Download step.
Dropbox Upload a File: File Name 2. parseInfo: KeyName.pdf, Data 1. Data

Parameters and Output Reference.

Quick cheat sheet of what we used:

StepKey settingsNotes
Download/Blog Data/Parse/input.pdfYour input path
ParseTemplate: test, Output: KeyNameUse the key name you set in your template
UploadFile Name = 2. parseInfo: KeyName.pdfMap Data from the Download step

Heads up: The tricky part is the Upload step. You need two things: the file content (from Download’s Data) and the new filename (from Parse’s parseInfo). Map them separately—File Name comes from Parse, Data comes from Download.

For full parameter details, see Parse Document — Make.


Try the API Interactively.

Want to test the Parse API without building a scenario? Upload a PDF and see the parsed output:


Troubleshooting.

"File is Empty"

Usually means you mapped a path or metadata instead of the actual file. Use the Data output from the Dropbox Download step—that’s the file content. See Zapier and Power Automate Tips for platform-specific file handling.

"Template not found"

The template name in Make must match exactly what you created on dev.pdf4me.com—case-sensitive. And the template needs at least one capture area defined. Go to Parse Document, edit your template, and make sure you’ve drawn boxes and saved.

Other errors

PDF4me Troubleshooting covers 401, 402, and more.


Next Steps.

You’re done.
  • Drop a test PDF into your folder and run the scenario—the renamed file should appear in the output folder.
  • Add more capture areas to your template (customer name, date, etc.) and use them in the filename for richer naming.
  • Swap Download a File for Watch Files (Dropbox) so new PDFs are renamed automatically.