Search and Delete Text using Zapier – Step-by-step Guide

  1. Sample PDF File
  2. Add PDF.co Action Step
  3. Configure Custom API Call
  4. Test Action Event
  5. PDF.co Test Result
  6. Search and Delete Output

Step 1: Sample PDF File

In this tutorial we will show you how to search and delete text in PDF using PDF.co and Zapier. We will use this sample PDF and remove the word Notes to demonstrate this functionality.

 

PDF.co Search And Delete Text API Source File
PDF.co Search and Delete Text API Source File

 

Step 2: Add PDF.co Action Step

To begin, let’s choose the PDF.co as the App and the Custom API Call as the Action Event.

 

Use Custom API Call To Access All PDF.co API Endpoints

 

Step 3: Configure Custom API Call

Let’s configure the Custom API Call action.

  • In the PDF.co API Endpoint field, enter the Search and Delete Text API endpoint /v1/pdf/edit/delete-text.
  • In the Input JSON field, enter the url, name, caseSensitive, and searchString parameters’ values.

Configure Custom API Call Module

Step 4: Test Action Event

It’s time to test our configuration. Let’s send it to PDF.co to make sure that we set it up correctly.

Test PDF.co Custom API Call Configuration

Step 5: PDF.co Test Result

Great! PDF.co processed our request successfully. It generated a temporary URL that we can use to view or download the result. This URL expires after an hour by default. We highly advise that you add another step to store the file in a permanent cloud storage.

PDF.co Generated URL

Step 6: Search and Delete Output

When you open the URL in your browser, your PDF should now look like this.

 

PDF.co Search And Delete Text Output
PDF.co Search and Delete Text Output

 

In this tutorial you learned how to search and delete a specific text in a PDF document using PDF.co and Zapier. You also learned how to use the PDF.co Custom API Call to make any PDF.co endpoint request and add the JSON code in the body.

Related Samples: