How to Summarize Scanned PDFs with ChatGPT using PDF.co and Zapier

6 Minutes Read

PDF.co PDF Make Text Searchable is an online tool that allows users to convert image-based or scanned PDF documents into searchable PDFs. This tool uses Optical Character Recognition (OCR) technology to recognize text from the scanned document and convert it into searchable and editable text.

In this tutorial, we will show you how to summarize scanned PDFs with ChatGPT using PDF.co and Zapier. Kindly check out the simple step-by-step guide below:

We will use this sample scanned PDF and will turn it into a searchable PDF to summarize with ChatGPT.

Sample Scanned PDF

Step 1: Log into PDF.co

  • First, let’s start by logging into your Zapier account and creating a Zap.

Step 2: Google Drive App

  • Next, select the Google Drive app from the list of apps and choose the New File in Folder to trigger when a new file is added to a folder.
Google Drive App

Step 3: Setup Trigger

Let’s set up the trigger.

  • In the Drive field, select My Google Drive.
  • In the Folder field, enter the specific folder where your file was saved.
Setup Trigger

Step 4: Test Trigger

  • Now, let’s test the trigger to make sure that we set it up correctly.
Test Trigger

Step 5: Test Trigger Result

  • The test trigger was successful and found the folder contains the source file. We can now move to the next step.
Test Trigger Result

In this step, we will convert the scanned PDF to a searchable text PDF.

Step 6: Add PDF.co App

  • Let’s add the PDF.co app and choose the Custom API Call to make an API call to PDF.co.
Add PDF.co App

Note: To connect your PDF.co account to Zapier, add your API Key. You can get the API Key in your PDF.co dashboard.

Step 7: Setup PDF.co Configuration

Now, will set up the PDF.co configuration.

  • For the PDF.co API Endpoint field, search and select the v1/pdf/makesearchable endpoint. These methods help to turn scanned PDF, scanned JPG, and PNG images into text-searchable PDFs.
  • For the URL input parameter override field, select the Web Content Link from Google Drive.
Setup PDF.co Configuration

Step 8: PDF.co Test Action

  • Let’s send the Custom API Call to PDF.co to convert the scanned PDF into a searchable text PDF.
PDF.co Test Action

Step 9: Test Action Result

  • Great! The PDF.co processed our request successfully and return a temporary URL. Kindly copy the URL and paste it into your browser to view the output.
Test Action Result

Step 10: Converted Searchable PDF

  • Here’s the scanned PDF converted into a searchable PDF.
Converted Searchable PDF

In this step, we will summarize the text inside the PDF document.

Step 11: Add ChatGPT App

  • Let’s add another app and select ChatGPT. Then, choose the Conversation option to send a chat to OpenAI and generate text completion.
Add Chatgpt App

Step 12: Setup Action

Set up the Conversation configuration.

  • In the User Message field, add the summarize command and the text content from the PDF document.
  • In the Assistant Instruction field, let’s use the default instruction You are a helpful assistant.
  • In the Memory Key field, you can add a unique value to allow the assistant to continue the conversation.
Send Conversation Configuration

Step 13: ChatGPT Test Action

  • Now, let’s send the conversation to ChatGPT to summarize the text.
ChatGPT Test Action

Step 14: Text Summary Result

  • Here’s the text summary generated by ChatGPT.
Text Summary Result

In this tutorial, you learned how to summarize scanned PDFs with Chatgpt using PDF.co and Zapier. You learned how to use the PDF.co Make Text Searchable API to convert scanned PDF into a searchable text PDF.

Video Guide

Related Tutorials

See Related Tutorials