Extract Email Address in PDF using PDF.co and Make

In this tutorial, we will show you how to extract an email address in a PDF using PDF.co and Make. To demonstrate, we will use the sample PDF invoice with the email address below.

Source PDF Invoice with Email Address
Source PDF Invoice with Email Address

Step 1: Add PDF.co Module

First, let’s create a Scenario and add the PDF.co Parse a Document module.

Add PDF.co Module

Step 2: Setup Module

Next, let’s set the module.

  • In the Input File dropdown box, select the Import a file from URL option.
  • In the Url field, enter your source file link.
  • In the Document Parser Template ID field, type in the Template Id. You can copy this template and save it in the Document Parser page to get the ID.
  • In the Output Format dropdown box, choose the JSON format.
Setup Module

Then, run the Scenario.

Step 3: Parser Output

Great! PDF.co generated the output JSON URL. You can also view the extracted email address when you expand the Body and Objects Value.

Parser Output

Step 4: JSON Result

Here’s the extracted email address in the JSON output.

Extracted Email Address Inside JSON
Extracted Email Address Inside JSON

In this tutorial, you learned how to extract an email address in a PDF using PDF.co and Make. You learned how to set up the Parse a Document module to get your expected output. You also learned how to create the template and get its ID.