In this tutorial, we will show you how to split your PDF file by text search using PDF.co and Integromat. We will use a 3-page PDF Invoice and split the Invoice every time the engine encounters the word Invoice Number. Below is the image of our sample PDF Invoice.

  1. In PDF.co, Select “Split a PDF”
  2. Configure the PDF.co Split PDF module
  3. Run the PDF.co Module to Test Configuration
  4. Check the Result
  5. Video: Split PDF by Text Search

PDF.co Split By Text Sample PDF Invoice
Image of sample PDF Invoice

1. In PDF.co, Select “Split a PDF”

First, let’s create a scenario in Integromat and choose PDF.co. Once you see the different PDF.co modules, please select Split a PDF.

Select Split a PDF Module
Screenshot of Split a PDF module

2. Configure the PDF.co Split PDF module

  • In the Input File field, please select Import a File From URL.
  • In the Url field, enter the link to the PDF file. To follow along, you can grab the PDF Invoice link here.
  • In the Split by field, please choose Text Found.
  • In the Search String field, type in your text. In our case, let’s enter the invoice number.
  • In the Case Sensitive field, let’s leave it at False to remove case sensitivity.

PDF.co Split PDF Input URL

PDF.co Split by Text Search Settings

3. Run the PDF.co Module to Test Configuration

Then, let’s run the PDF.co module to test our Split by Text configuration.

Great! The PDF.co engine found the word invoice number in all 3 pages and has successfully split them into their individual PDFs.

PDF.co Successfully Split All PDF Pages With The Word Invoice Number

4. Check the Result

Our PDF Invoice has been split into 3 different PDFs and this is what they look like now:

PDF.co Split By Text PDF Output
Images of the Split by Text PDF Invoice Output

NOTE: All the outputs generated by PDF.co are stored in temporary URLs and can only be accessed within 1 hour. Once 1 hour has elapsed, the files will automatically be deleted from our server. We recommend that you move the files to permanent cloud storage such as Google Drive or Dropbox.

Split PDF by Text Search – Video