Note: This module retrieves the target PDF invoice file from your Google Drive.
Automate Invoice Splitting and Data Extraction Using AI Invoice Parser and Make
This tutorial demonstrates how to automate invoice processing using the PDF.co AI Invoice Parser and the Make platform.
The workflow will:
- Split a multi-invoice PDF into individual invoice files.
- Extract data from each invoice using PDF.co’s AI Invoice Parser.
- Save the extracted data into a Google Sheets.
Sample Input
A single PDF file containing five invoices, each on a separate page.

Step-by-Step Instructions
IN THIS TUTORIAL
Step 1: Add Google Drive – Watch Files in a Folder
- App: Google Drive
- Action: Watch Files in a Folder
Step 2: Configure Google Drive Module
- Choose a Drive: Select My Drive
- Select the Folder to be Watched: Select the folder

Step 3: Add Google Drive – Download a File
- App: Google Drive
- Action: Download a File
This downloads the file for later steps in the Make scenario, including when the source cannot be fetched through a public URL.
Step 4: Configure Google Drive Module
- Enter a File ID: Select Enter Manually
- File ID: Choose the File ID from the previous step

Step 5: Add PDF.co – Split a PDF Module
- App: PDF.co
- Action: Split a PDF
Step 6: Configure Split a PDF Module
- Input File: Use “Upload a file” (connect to the previous download step)
- Split by: Select “Page Numbers”
- Pages: Enter
*to split each page into an individual invoice file - Export Type: Choose JSON Output

Step 7: Run the Scenario to Split PDF
- Execute the scenario to generate individual invoice PDF files.
- The output should be an array of URLs, one for each invoice.

Step 8: Add Flow Control – Iterator Module
- Module: Iterator
- Array: Use the array of URLs from the previous split step
Note: This will allow you to process each invoice file one at a time.

Step 9: Add PDF.co AI Invoice Parser
- App: PDF.co
- Action: AI Invoice Parser
Step 10: Configure AI Invoice Parser
Configure the module to process the current invoice from the Iterator:
- Import Options: Select Import a file from URL.
- URL: Map Value from the Iterator added in Step 8.
- Custom Fields: Leave blank unless you need additional fields beyond the standard invoice schema.
- Export Type: Select JSON Output.
Run the module once and inspect the structured results before mapping them into Google Sheets.
See the AI Invoice Parser documentation for custom-field and line-item settings. No Document Parser template is required.
Step 11: Run Scenario to Parse Invoice Data
Run the scenario to extract structured data (e.g., invoice number, date, total, etc.) from each invoice file.

Step 12: Choose Invoice Rows or Line-Item Rows
Choose the spreadsheet structure before adding another Iterator.
- One row per invoice: Connect the invoice-processing path directly to Google Sheets → Add a Row. Map invoice-level fields such as invoice number, vendor, date, currency, and total. Do not add a line-item Iterator.
- One row per line item: Add an Iterator for the invoice’s line-item array, then map each item into a spreadsheet row. Repeat the parent invoice identifier and vendor on every row so the items can be grouped later.
Keep the Iterator from Step 8 in either configuration—it processes the split invoice files. The additional Iterator described here is only for line items.
When using line-item rows, do not sum a repeated invoice total as though it were a separate amount on every row.
Step 13: Add Google Sheets – Add a Row Module
- App: Google Sheets
- Action: Add a Row
Step 14: Configure Google Sheets Module
- Search Method: Use “Select by path”
- Drive: Select My Drive
- Spreadsheet ID: Choose your sheet
- Sheet Name: Provide the tab name
- Field Mapping: Map parsed invoice fields (e.g., invoice number, total, vendor) to spreadsheet columns

Step 15: Run the Full Scenario
After connecting all modules, run the scenario.
Step 16: Verify the Google Sheets Output
Open the spreadsheet and compare its rows with the source invoices.
For the five single-page invoices in this example:
- If you selected one row per invoice, expect five invoice rows after successful processing.
- If you selected one row per line item, verify each item’s values and confirm that every row retains its parent invoice identifier.
The page-by-page split used in Step 6 is suitable only when each invoice occupies one page. Keep multi-page invoices together in a single PDF before extraction.
Result Summary
You have successfully automated your invoice processing pipeline using:
- PDF.co to split and parse invoices
- Make to handle workflow automation
- Google Sheets to store extracted invoice data
Related Tutorials

