April 21, 2026 6 min read
Auto E-Sign PDF — Google Drive Watcher
Automatically signs PDF documents the moment they land in a Google Drive folder — no manual steps needed. The signed output is routed to a Drive folder.
How it works
- Google Drive Trigger watches a folder every minute for newly created files
- Download file fetches the file from Drive into the workflow
- Config sets your signature URL, position (x/y), and output method (drive or email)
- Is PDF? filters out non-PDF files — only PDFs proceed
- Sign a PDF overlays your signature image at the configured coordinates using PDF API Hub
- Output Router sends the signed PDF to Drive
- Log records the filename and signed status for auditing
Setup
Credentials
- Google Drive OAuth2 — used by the trigger, download, and upload nodes
- PDF API Hub API key — sign up at pdfapihub.com
Configuration (in the Config node)
| Field | Description |
|---|---|
signature_url | Public URL to your PNG signature image |
sign_x / sign_y | Pixel coordinates for signature placement |
output | drive to save to Google Drive, email to send via email |
email | Recipient address (required only if output = email) |
Folder setup
- Set your watch folder in the Google Drive Trigger node
- Set your output folder in the Upload file node
API call used
POST /api/v1/sign/pdf
{
"url": "https://drive.google.com/...",
"signature_url": "https://yoursite.com/signature.png",
"sign_x": 350,
"sign_y": 500,
"output": "url"
}Notes
- Signature image should be a PNG with a transparent background for best results
- Non-PDF files dropped into the watched folder are silently skipped
- The workflow logs every processed file for audit trail purposes
Next steps
- Import the workflow template into your n8n instance
- Get your API key from the API Keys page
- Explore the Sign PDF API docs for advanced options