
Automatically Add Watermarks to PDFs in Google Drive Using n8n and PDF.co
6 MIN READ
5 MIN READ
Different PDF operations solve different problems. A password can restrict opening a document. A watermark identifies a distributed copy. Removing selected text changes document content.
Choose the operation that matches your requirements, understand its limitations, and inspect the result before sharing it.
PDF.co provides separate operations to delete matching text and replace matching text.
Check every occurrence and inspect the output. Removing a visible string does not establish that sensitive information is absent from images, metadata, attachments, or other document content.
Do not treat a text-replacement test as a complete redaction review.
Use /v1/pdf/edit/add to add text or an image, such as a recipient name, logo, or document reference.
A watermark can identify a copy and communicate ownership or intended use. It does not encrypt the file, verify authenticity, or reliably prevent copying, OCR, or content extraction.
Check its placement so it does not obscure information recipients need to read.
Use /v1/pdf/security/add to configure PDF passwords and permission settings.
These controls serve different purposes:
Use strong, different passwords and keep the owner password private. Test the result with the user password in the readers your recipients use.
Share passwords separately from the document-delivery channel. Permission restrictions should not be treated as a guarantee against copying visible information.
Use /v1/pdf/makeunsearchable to create an image-based version of a PDF.
This can be useful when a destination requires a rendered copy rather than selectable source text. Check readability and the impact on accessibility and interactive form controls.
OCR can still recover visible text. Rasterization is not a substitute for removing confidential content or controlling access.
Use /v1/pdf/convert/to/jpg, or the corresponding PNG or TIFF operation, when your destination needs page images, previews, or thumbnails.
Choose a resolution that keeps the required text and graphics legible. Deliberately reducing resolution does not establish protection against OCR and can make the document harder for legitimate readers to use.
Review the complete output, verify any passwords and permissions you selected, and confirm that the delivered copy contains only the information the recipient should receive.
You can explore the operations with an approved sample document in the PDF.co API Tester.
Create an account, get an API key and test a request.