We prepared a step-by-step tutorial to process a large file with PDF.co and Integromat using Custom API Call Action. Here’s the sample file that we will use.

  1. Create a Scenario
  2. Select PDF.co and Make an API Call
  3. Make an API Call Configuration
  4. Test Result
  5. Tools Menu and Delay Time
  6. Set Delay Time
  7. Select PDF.co app and Make an API Call
  8. Make an API Call Configuration
  9. Test Result
  10. Output
Sample Source File
Sample Source File

Step 1: Create a Scenario

Let’s start by creating a scenario.

Step 2: Select PDF.co and Make an API Call

Next, select the PDF.co app from the list of apps and choose the Make an API Call for the action event.

PDF.co App and Make an API Call

Step 3: Make an API Call Configuration

Now, let’s set up the Make an API Call Configuration.

  • For the API Endpoint Path field, we will use the /v1/pdf/makesearchable endpoint. This endpoint will turn your scanned PDF into a text-searchable one.
  • Under Body, add the URL parameter as the key and the source file link as its value. Let’s also set the async param to true to allow large file processing. This will return a job Id which we will use in the next step.
  • In the Forcely enable async mode field, select the No, rely on the async parameter in Body.

You may now run the program to check the jobId.

Make an API Call Configuration
Make an API Call Configuration

Step 4: Test Result

Great! We successfully ran the module and it returned the jobId.

Test Result

Step 5: Tools Menu and Delay Time

Let’s add another module. Click the Tools menu and choose the Sleep action to delay the execution time.

Tools Menu and Delay Time

Step 6: Set Delay Time

Next, set the delay module to delay the execution time.

Set Time Delay

Step 7: Select PDF.co App and Make an API Call

Now, let’s add another module. Kindly select the PDF.co app and choose the Make an API Call action.

PDF.co App and Make an API Call

Step 8: Make an API Call Configuration

  • For the API Endpoint Path field, we will use the /v1/job/check endpoint. This endpoint will check the jobId.
  • Under Body, add the jobId as the key and the result from step 4 as the value.

You can now run the program to see the result.

Make an API Call Action
Make an API Call Action

Step 9: Test Result

Excellent! We got a successful test result. You can copy and paste the URL to view the output.

Test Result

Step 10: Output

Here’s the output of the large file using the Custom API Call action and making the scanned PDF searchable.

Output Source File
Source File Output

In this tutorial, you learned how to process a large file with PDF.co and Integromat using the Custom API Call action. We also showed you how to use the Make an API Call to make the scanned PDF searchable. Lastly, you also learned how to use the Sleep action to delay execution for a period of time.

There are many other things you can do with the PDF.co and Integromat integration, which includes creating PDFs from scratch.