Split a Multi-Page PDF and Parse Each Page Using PDF.co and Make

10 Minutes Read

In this tutorial, you will split a multi-page PDF into individual page files and parse each page separately using PDF.co and Make.

The scenario consists of:

PDF Split → Iterator → Document Parser

Before starting, create a Document Parser template in PDF.co for the type of data you want to extract.

Step 1: Create the Scenario

Sign in to Make and create a new scenario.

Add the PDF.co – Split a PDF module and connect your PDF.co account.

Step 2: Configure PDF Split

Configure the module:

  • Import Options: Select Import a File from URL.
  • URL: Enter the direct URL of the source PDF.
  • Output File Name: Enter a name for the split files.
  • Split By: Select Page Numbers.
  • Pages: Enter *.
  • Execution Mode: Select Async for a large document.
  • Export Type: Select JSON Output.

The asterisk tells PDF.co to create a separate PDF for every page. Selecting JSON Output makes the resulting file URLs available as a URLs array.

If the source file comes from Google Drive or another Make module, you can select Upload a File and map the downloaded file data instead.

See the PDF.co PDF Split module documentation for the current configuration options.

Run the module once and confirm that it returns a URLs array containing one link for each split page.

Step 3: Add an Iterator

Add Flow Control – Iterator after the PDF Split module.

In the Array field, map the URLs array returned by PDF.co.

The Iterator will send each split-page URL through the remaining scenario one at a time.

Step 4: Parse Each Page

Add PDF.co – Parse a Document after the Iterator.

Configure the module:

  • Input File: Select Import a File from URL.
  • URL: Map the current URL from the Iterator.
  • Document Parser Template ID: Select or enter the ID of your PDF.co parsing template.
  • Output Format: Select JSON.
  • Export Type: Select JSON Output.

The same parsing template will be applied to each page produced by the PDF Split module.

Step 5: Test the Scenario

Run the complete scenario.

Make should:

  1. Split the source PDF into individual pages.
  2. Iterate through the resulting URLs.
  3. Send each page to the Document Parser.
  4. Return the extracted data for every page.

You can connect the parsed results to Google Sheets, a database, cloud storage, or another application as the next step in your workflow.

Conclusion

You have used the PDF.co PDF Split module to divide a multi-page PDF into separate files and Make’s Iterator to parse each page individually with a Document Parser template.

Related Tutorials

See Related Tutorials