How to Extract Text from Scanned PDF using Make
Use this Make scenario to turn a scanned PDF in Google Drive into a text file with PDF.co. Google Drive downloads the source file, and PDF.co uses OCR to convert its contents into text. You can then open the text output or send it to the next step of your workflow.
This walkthrough tests one selected file manually; it does not watch a folder for new uploads. To automate processing later, add a suitable trigger and map its file ID into the download step. OCR can misread characters, so compare important extracted values with the source scan.
We will utilize this sample PDF document and transform it into text format.

Step 1: Create a New Scenario
First, let’s open your Make account and initiate the process by creating a new scenario.
Step 2: Add Google Drive Module
Next, locate and choose the Google Drive app from the available options. Alternatively, you can also select other cloud storage services that contain the source file you desire.
Select Download a File. This action retrieves the file identified in its settings. For this walkthrough, choose a test PDF and use Run once to execute the scenario manually. In an automated scenario, map the file ID from the preceding trigger or search step.

Step 3: Google Drive Configuration
To configure the Google Drive settings, begin by connecting your Google Drive account to Make. This step ensures that Make can obtain access and authorization to your Google Drive files.
Next, in the Enter a File ID field, choose the Select from the list option.
Proceed by selecting My Drive as the desired drive in the Choose a Drive field.
Lastly, enter the folder and file name you wish to use for the process in the File ID field.

Click Run once to confirm that Google Drive downloads the selected PDF. This tests file retrieval; conversion will be added next.
Step 4: Run Scenario Result
Great! The scenario was successfully executed and the file was retrieved from Google Drive, let’s proceed by incorporating another app that will enable us to convert the PDF document into a text format.
Step 5: Add PDF.co Module
In this step, we will integrate the PDF.co app into our workflow and select the Convert from PDF module. This module will enable us to easily convert the PDF document into a text format.

Step 6: Setup PDF.co Configuration
To begin setting up the PDF.co configuration, establish a connection between your PDF.co account and Make by adding the API Key. You can obtain the API Key from your PDF.co dashboard or by signing up at the provided link.
In the Input File field, select the Upload File option. This will allow us to conveniently upload the file that was previously downloaded from Google Drive.
For the Convert Type field, choose the PDF to Text option. This selection ensures that the PDF document is converted into a text format as desired.

After finalizing the configuration, execute the scenario to initiate the conversion process of the PDF document into a text format.
Step 7: Conversion Result
Check the PDF.co response for an error, then open the returned text-file URL. Compare the output with the scanned PDF to confirm that the required pages and text are present. Pay particular attention to names, dates and numbers.
Save the text file or pass its contents to the next workflow step before the temporary link expires. Receiving an output URL does not guarantee that OCR recognized every value correctly.

Step 8: Output
Presented below is the extracted text obtain from the PDF document.

In this tutorial, you have acquired the knowledge of converting PDF documents to text format using the collaborative efforts of PDF.co and Make. You have become familiar with the PDF.co PDF to Text API, which enables you to extract text from PDF documents efficiently. This API allows you to smoothly convert PDF files into editable text format.
Related Tutorials

