Integrate Document Classifier and PDF Edit Add Helper using PDF.co and Zapier

Having a reliable digital partner that not only takes the hassle out of sorting through your digital documents but also brings an extra layer of efficiency to your collaboration efforts. Imagine this partner automatically categorizing your documents into neatly organized sections based on their content, helping you quickly find what you need when you need it. And also adds helpful annotations and even incorporates changes to enhance your documents’ quality.

This smooth workflow is achieved by utilizing the power of PDF.co Document Classifier and PDF Edit Add Helper, are two remarkable tools designed to transform how you manage, interact with, and improve your digital documents. With the help of Zapier the innovative integration platform that brings everything together.

In this guide, we will integrate PDF.co Document Classifier and PDF Edit Add with Zapier to automatically categorize and classify PDF documents based on content, and then enhance them by adding images, watermarks, and text, simplifying document management and collaboration workflow.

  1. Create a Zap
  2. Google Drive App
  3. Setup Trigger
  4. Test Trigger Result
  5. Add PDF.co App
  6. Setup Document Classifier
  7. Test Action
  8. Test Result
  9. Add Another PDF.co App
  10. Setup Custom API Call
  11. Test Action
  12. Result
  13. Output
  14. Demo

We have here a sample PDF document, and our objective is to categorize and classify PDF documents based on content and enhance them by adding text, watermarks, and images.

PDF.co Simple Workflow

Kindly follow this simple step-by-step guide to easily classify PDF documents and enhance them by adding text and images. So, let’s get started!

Step 1: Create a Zap

Let’s begin by opening your Zapier account and creating a Zap.

Step 2: Add Google Drive App

Next, navigate and select the Google Drive app. Alternatively, you can choose other file storage services if you prefer to retrieve the source file from there.

Then, select the New File in Folder option to activate the Zap whenever a new file is added within a designated folder.

PDF.co Simple Extraction Workflow

Step 3: Setup Trigger

Let’s proceed with setting up the trigger.

Start by entering My Google Drive as the drive to be used.

Next, select the specific folder where the file was stored.

PDF.co Setup Trigger

Once you are done setting it up, test the trigger to ensure that we set it up correctly.

Step 4: Test Trigger Result

The test trigger was successful and found a record containing the source file. Now, let’s move to add another app and classify the PDF document based on its content.

PDF.co Test Trigger

Step 5: Add PDF.co App

In this step, we will incorporate the PDF.co app into the workflow and select the Document Classifier option to classify and categorize the PDF document.

PDF.co Connect to Zapier

Note: To connect your PDF.co account to Zapier, add your API key. You can obtain the API key from your PDF.co dashboard or by signing up at this link.

Step 6: Setup Document Classifier

Let’s configure the Document Classifier settings.

For the Input Document URL field, select the Web Content Link from Google Drive. This is the link to the source file that has been classified and categorized.

For the Custom Classification Rules field, define specific regulations for data classification to automate document workflows, ensuring accurate and efficient document handling. Utilize PDF.co Document Classifier capabilities to formulate personalized classification rules.

PDF.co Custom Rules

PDF.co Customization

Step 7: Test Action

After setting up, let’s test the action to send a request to PDF.co for document classification and retrieve the corresponding class value.

PDF.co Empty Fields

Step 8: Test Result

PDF.co has efficiently categorized the documents and provided their corresponding class values. We will proceed to integrate an additional application for enhancing PDF documents by adding text, watermarks, and images.

PDF.co Test Result

Step 9: Add Another PDF.co App

In the final step, we will integrate an additional PDF.co application and select the Custom API Call feature. This will allow us to utilize the PDF Edit Add API endpoint, simplifying the process of adding text, watermarks, and images to PDF documents.

PDF.co Add Another App

Step 10: Setup Custom API Call

Let’s configure the Custom API Call settings.

In the PDF.co API Endpoint field, choose the v1/pdf/edit/add endpoint. This endpoint enables us to enhance PDF documents by incorporating text, watermarks, and images.

For the URL Input Parameter Override field, select the Web Content Link from Google Drive.

In the Input JSON field, input the JSON code that contains the specifications for text, watermarks, and images. Additionally, define the x and y coordinates where these elements should be added to the PDF document. You can also customize font name, font size, font color, width, and height settings. To better understand, you can refer to this link for a sample JSON code.

PDF.co Input JSON Field

PDF.co URL Input Parameter

Step 11: Test Action

Once you have done setting up, test the action to send a request to PDF.co and enhance the PDF documents by adding text, watermarks, and images.

PDF.co Test Action

Step 12: Result

The PDF document has been successfully enhanced with the addition of text, watermarks, and images. To review the outcome, kindly copy the generated URL and paste it into your web browser.

PDF.co Add Text, Watermarks, Images

Step 13: Output

Here’s the PDF document that we successfully enhanced using the PDF.co PDF Edit Add API.

PDF.co PDF Edit Add API

PDF.co Demo

Step 14: Demo

Here’s the PDF.co Document Classifier and PDF Edit Add API in action.

PDF.co PDF Classifier and PDF Edit Add Demo

PDF.co Video Guide

In this tutorial, you learned how to Integrate Document Classifier and PDF Edit Add using PDF.co and Zapier. You learned how to classify and categorize PDF documents based on their content. You also learned how to enhance PDF documents by adding text, watermarks, and images.

Check out our useful articles: