New: PDF/A-3b conversion with a compliance report included.See Docs

Extract an Email Address from a PDF Using PDF.co and Make

Use PDF.co’s Document Parser to extract an email address from a PDF and return it as structured JSON in Make.

Step 1: Create a Document Parser Template

Open the Document Parser Template Editor and create a template using a sample PDF containing an email address.

Follow the Document Parser Template Creation Guide for instructions on creating, testing, and saving templates.

For a typical email address:

  • Add a text-search field named Email.
  • Set it to search the first page, using page index 0.
  • Enable regular expressions and enter this expression: [A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}

Test the template and confirm that the Email field returns the expected address. Save the template and copy its Template ID.

Step 2: Add PDF.co in Make

Create a scenario and add PDF.co → Parse a Document.

Create a PDF.co connection using your API key from the PDF.co dashboard.

Configure:

  • Import Options: Select Import a file from URL.
  • URL: Enter a direct, accessible link to your PDF or a PDF.co filetoken:// link.
  • Document Parser Template ID: Enter the ID of your saved template.
  • Output Format: Select JSON.
  • Pages: Enter 0 to process the first page.
  • Execution Mode: Select Sync for this small sample.
  • Export Type: Select JSON Output.

See the Parse a Document module documentation for additional settings.

Step 3: Run and Review the Result

Click Run once, then open the PDF.co module’s output.

Expand Body, locate the extracted object named Email, and check its Value against the address in the source PDF.

You can map that value into a later module to save it in a spreadsheet, update a CRM record, or use it in another automation.

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.

Related Tutorials

See Related Tutorials