From Bulk PDFs to Smart Insights: Automate Invoice Processing and Reporting with PDF.co and Make

Sep 11, 2025·6 Minutes Read

Managing dozens or hundreds of invoices every day can be tedious, time-consuming, and error-prone. What if you could automate the entire process—from splitting multi-invoice PDFs to extracting key data, saving it in Google Sheets, and sending insightful summary reports—without lifting a finger?

In this tutorial, you’ll learn how to build a powerful workflow using PDF.co and Make that handles batch invoice processing seamlessly. Say goodbye to manual entry and hello to smarter invoice management!

What You’ll Build

  • Batch processing: Automatically check a Google Drive folder every morning for new invoice PDFs.
  • PDF splitting: Split multi-page PDFs into individual invoices.
  • AI data extraction: Use PDF.co AI Invoice Parser to extract key invoice details.
  • Smart storage: Save split invoices to a Google Drive folder, and log invoice data into vendor-specific Google Sheets — complete with a direct link to each file for easy reference.
  • AI-powered reporting: Generate a summary report of the day’s invoices using Make’s AI Toolkit and email it to your team.
Complete Workflow Setup
Complete Workflow Setup

What You Need

  • A Make.com account
  • A Google Drive folder for incoming PDFs
  • A Google Drive storage folder for split invoices
  • Vendor-specific Google Sheets
  • A PDF.co API Key

Gmail (or your preferred email service) to send summary reports

Step 1: Set Up Google Drive to Watch for New Invoice PDFs

  • Add the Google Drive > Watch Files in a Folder module.
  • Choose the folder where your invoices arrive.
  • Click the clock icon on the module to schedule it. Set it to run daily at 6:00 AM (or any time you prefer).

Step 2: Download Each New PDF

  • Add the Google Drive > Download a File module.
  • Choose to enter the File ID manually.
  • Set File ID to the incoming file from Step 1.

Step 3: Split Multi-Page PDFs into Individual Invoices

  • Add the PDF.co > Split a PDF module.
  • Select Google Drive – Download a File as the input file (from Step 2).
  • Set Split by to Page Numbers.
  • For Pages, enter * to split every page individually.
  • The value * splits all pages one by one.
  • You can also use specific page numbers or page ranges (e.g., 1-3,5).
  • If invoice page counts vary, you can choose Split by Text Found instead.

For more details and guidelines, see PDF.co Split by Text or Barcode.

Step 4: Extract Invoice Data Using AI Invoice Parser

  • Add the PDF.co > AI Invoice Parser module.
  • Use the split PDF file from Step 3 as the input file.
  • Leave Custom Fields blank unless you want to extract additional fields (comma-separated).

Step 5: Route Data to Two Processing Paths

Add a Router module to split the flow into two paths:

  • Path 1 (Top): Save files and log data to Google Sheets.
  • Path 2 (Bottom): Extract custom invoice data for summary reporting.

Step 6: Upload Split PDFs to Google Drive

  • In Path 1, add Google Drive > Upload a File.
  • Select the folder where you want to save split invoices.
  • Set the input file from the PDF Split module (Step 3).

Step 7: Search for Vendor-Specific Invoice Files in Google Drive

  • Add Google Drive > Search for Files/Folders.
  • Choose the folder with vendor-specific invoices.
  • Set Retrieve to Files.
  • In Query, map the vendor name extracted from Step 4.
  • Limit results to 1 to get the most relevant file.

Step 8: Iterate Over Line Items Array

  • Add the Flow Control > Iterator module.
  • Map the array of line items from the AI Invoice Parser output (lineItems[]).

This processes each invoice line item separately, ensuring clean, row-by-row logging in your spreadsheet.

Step 9: Add Rows to Google Sheets

  • Add the Google Sheets > Add a Row module.
  • For Spreadsheet ID, use the File ID from Step 7.
  • Set the Sheet Name.
  • Set Table contains headers to Yes if your sheet has headers.
  • Map invoice fields like:
    • Invoice Numberinvoice.invoiceNo
    • Invoice Dateinvoice.invoiceDate
  • Map other fields as needed.

Step 10: Extract Custom Data for Summary Report

  • In Path 2, add Make AI Toolkit > Extract Information from Text.
  • Select your preferred AI model.
  • Map the full invoice text from Step 4.
  • Specify the fields to extract (e.g., vendor name, invoice amount, due date).

This gathers the data points needed for your final report.

Step 11: Aggregate Extracted Invoice Data

  • Add the Array Aggregator module.
  • Set the Source Module to Google Drive – Watch Files in Folder module from Step 1.
  • For Target structure type, select Custom.
  • Under Aggregated fields, select Extracted information.

This consolidates all invoice data into a structured array for reporting.

Step 12: Generate Invoice Summary Report

  • Add the Make AI Toolkit > Ask Anything module.
  • Select the same model used previously.
  • In the Text field, input a prompt like the following:
Here is a list of invoices in an array format:

{{13.Array[]}}

Please:  
- Generate a summary in **HTML table format**.  
- For each invoice, list:  
  - Vendor name  
  - Invoice number  
  - Invoice date  
  - Total amount  
  - Status (mark as "Overdue" if the invoice date is before today)  
- Show **subtotals per vendor**.  
- Show the **grand total**.
  • Map the output of the previous Array Aggregator module as the input array ({{13.Array[]}}).
  • This module will output an HTML summary report with subtotals and status flags for overdue invoices.

Step 13: Send Invoice Summary via Gmail

  • Add the Gmail > Send an Email module.
  • In the To field, enter the recipient's email address.
  • Add the Subject.
  • For Content, map the Answer output from Step 12.

Wrap-Up

With this workflow, you’ll never worry about manually sorting invoices, entering data, or compiling reports again. Everything happens automatically, accurately, and with AI-powered insights.

Try it out and let us know how it transforms your invoice processing!

Related Tutorials

See Related Tutorials