In this tutorial, you will learn how to add text, and images with links to PDF documents using our PDF.co Web API and Zapier integration.
What is Zapier?
Zapier is an online automation tool that connects your favorite apps, such as Gmail, Slack, Mailchimp, and over 1,500 more. You can connect two or more apps to automate repetitive tasks without coding or relying on developers to build the integration. It’s easy enough that anyone can build their own app workflows with just a few clicks.
We prepared this step-by-step tutorial with screenshots on how to make a Zap using PDF.co to add Images or Text to a PDF that also links to a webpage.
Check out tutorials about adding links to PDFs using PDF.co & Zapier integration, and PDF.co Web API:
- How to Add a Clickable Link to PDF using PDF.co and Zapier?
- Add Text, Links, and Images to PDF using PDF.co Web API in Python
Now, let’s proceed to the tutorial on how to add text and images to a PDF file linking to a webpage.
Key points of this tutorial:
- Make a Zap
- Choose an App & Event
- Select PDF Filler
- Connect your PDF.co account to Zapier
- Set Direct Link to the Source PDF
- Test Action
- Test Result
- Turn Zap On
- Zapier Video Tutorial
The screenshot of the input source PDF file:
Due to great variations of input sources, this tutorial will assume you have already set up the trigger phase before the “Do this” part, where PDF.co comes into play.
Step 1: Make a Zap
- Let’s start by logging into your Zapier account and creating a Zap.
Step 2: Choose an App & Event
- Under “Do this …” Choose App & Event search and select PDF.co from the list of apps.
Step 3: Select PDF Filler
- Under Choose Action Event select the PDF Filler option to add text, images, and links to a PDF document.
Step 4: Connect Your Account to Zapier
- Proceed and select or connect your PDF.co account to Zapier by adding your API Key. You can obtain the API Key in your PDF.co dashboard.
Step 5: Set Direct Link to the Source PDF
- Under Customize PDF.co Pdf Filler set the Direct link to the source PDF and the data to be added, pay particular attention to the syntax, and everything will work correctly.
To find X and Y coordinates where you should add text, links, or images, just use our PDF.co PDF Add Edit Helper tool here.
NOTE: Wrapping text can be accomplished by setting the text box height, width, and text alignment in the Text Object field. It uses the following format:
20;20;0-;Sample Text or 20;20;0-;Sample Text;24+bold+italic+underline+strikeout;Arial;FF0000;www.pdf.co;false;120;100;right
For more information, check out our API Docs here.
Step 6: Test Action
- Now, let’s test the action to see the result.
Step 7: Test Result
- The test was successful and returned a temporary URL, copy the URL and paste it into your browser to view the output.
The screenshot of the output PDF generated with text, images, links, checkboxes, and an edit input box added.
(added parts are highlighted with the red color):
Step 8: Turn Zap On
- Give a name to your Zap at the top-left corner, then hit Done Editing, you can then TURN ZAP ON.
Depending on your Zapier plan and settings, your Zaps will trigger and the output and logs can be found in your Tasks History.
Now, you’ve learned how to add text to a PDF document as well as add links to PDF in text and images. You’ve mastered Zapier and PDF.co automation to do that.
Zapier and PDF.co integration makes adding links to PDFs much easier and speeds up the workflow.