Split a Multi-Invoice PDF and Extract Its Data Using PDF.co and Zapier
7 MIN READ
Use PDF.co and Zapier to extract text from a PDF and save it as a TXT file in Google Drive. The text conversion supports OCR for scanned pages and does not require a Document Parser template.
Create a Zap and select Google Drive’s New File in Folder trigger.
Connect your Google Drive account, select the source folder, and test the trigger with a PDF.
Use separate source and destination folders. For example:
Keep the source folder limited to PDFs so unrelated files do not enter the conversion workflow.
Add PDF.co and select PDF to Anything Converter. Connect your account by signing in to PDF.co and authorizing access.
Configure the conversion:
0 for the first page only.extracted.txt.If Inline Output Option is displayed, leave it off so the result is returned as a downloadable file URL.
Page numbering starts at 0. Use the trigger’s File value rather than a browser preview link. See the file-source guide for other supported storage services.
The PDF to Anything documentation explains the conversion settings.
Test the PDF.co action and confirm that it completed without an error. Open its successful url output and check that the TXT file contains text from all selected pages.
Compare the text with the PDF, paying particular attention to names, amounts, punctuation, and reading order. OCR can misread characters in scanned pages.
TXT output contains extracted text, not images, interactive form controls, or the PDF’s complete visual design.
Add Google Drive’s Upload File action and configure:
extracted.txt.Test the upload, then open the stored file in Google Drive. This step copies the actual text file into Drive; storing the temporary PDF.co URL alone does not preserve the result.
For repeated runs, use a source-based filename, such as the original file’s ID followed by -text, to make each result identifiable. Save or transfer the output before its temporary link expires.
Once the stored TXT file contains the expected text, publish the Zap.
Use this workflow to export page text into a readable TXT file. Extracting specific fields or tables into structured records is a separate task suited to a parsing workflow.
7 MIN READ
7 MIN READ

6 MIN READ

2 MIN READ
Create an account, get an API key and test a request.