How to Add a Hyperlink to a PDF Using PDF.co and Zapier
This tutorial shows you how to add clickable text to PDFs automatically with PDF.co and Zapier. A Google Drive folder supplies the source PDFs, and the completed files are saved to a separate folder.
What You’ll Need
- A PDF.co account
- A Zapier account
- A source PDF
- An input folder and output folder in Google Drive
- The web address the hyperlink should open
Step 1: Find the Link Position
Open PDF Inspector and upload the source PDF.
Select the area where the hyperlink text should appear, then record:
- Page number
- X coordinate
- Y coordinate
- Width
- Height
PDF.co uses zero-based page numbering, so the first page is 0.
Step 2: Create the Google Drive Trigger
Create a new Zap and select Google Drive as the trigger app.
- Choose New File in Folder as the trigger event.
- Connect your Google Drive account.
- Select the folder that will receive the source PDFs.
- Test the trigger and select a sample PDF.
Use a dedicated input folder containing only the PDFs that should be processed.
Step 3: Add the PDF.co Action
Add another step and select PDF.co.
- Choose Add Text to PDF as the action event.
- Select Add a new account.
- Sign in to PDF.co and authorize Zapier.
- Return to the Zap and select the connected account.
Step 4: Configure the Hyperlink
Configure the PDF.co action:
- Source File URL: Map the PDF’s Web Content Link from Google Drive.
- Text to Add: Enter the visible hyperlink text, such as
Visit our website. - X Coordinate: Enter the X coordinate from PDF Inspector.
- Y Coordinate: Enter the Y coordinate from PDF Inspector.
Expand Advanced Options and configure the available text settings:
- Pages: Enter
0for the first page or another zero-based page index. - Font Name: Enter a font such as
Arial. - Font Size: Enter the desired text size.
- Font Color: Enter a color such as
0000FF. - Link: Enter the full destination URL, including
https://. - Width and Height: Enter the dimensions measured in PDF Inspector.
- Transparent: Enable this setting if the text background should remain transparent.
- File Name: Enter a name for the completed PDF, if available.
A destination link might look like:
https://pdf.co
You can also use links such as:
mailto:info@example.com
Step 5: Test the PDF.co Action
Test the action and open the URL returned by PDF.co.
Confirm that:
- The text appears in the intended location.
- The hyperlink opens the correct destination.
- The font size and color are appropriate.
- The clickable area does not cover unrelated content.
Adjust the coordinates or dimensions if necessary.
Step 6: Save the Completed PDF
Add a final Google Drive action and choose Upload File.
- Select the output folder.
- Map the PDF URL returned by PDF.co to the File field.
- Enter or map the output filename.
- Test the action.
Keep the output folder separate from the input folder so completed PDFs do not trigger the Zap again.
Step 7: Publish the Zap
Review the workflow:
- Google Drive detects a new PDF.
- PDF.co adds the clickable text.
- Google Drive saves the completed PDF.
Publish the Zap when the test succeeds. New PDFs added to the input folder will now receive the hyperlink automatically.
In this tutorial, you’ve gained valuable knowledge on how to add hyperlinks to a PDF document using the powerful combination of PDF.co and Zapier. You learned how to utilize the PDF.co PDF Edit Add Helper tool to easily obtain the precise coordinates of the PDF document where you want to add hyperlinks. This enables you to customize and enhance your PDF to create an interactive and user-friendly experience for your readers.
Related Tutorials
