workflows.fit
Back to n8n workflows
n8n templateFreeBy 8Automator

Merge Google Drive PDFs with dynamic cover pages and watermark using Autype

![Screenshot 20260305 at 15.01.50.png](fileId:4767) Important: This workflow uses the [Autype](https://www.npmjs.com/package/n8n-nodes-autype) community node and requires a self-hosted n8n instance. This workflow read...

Data & StorageDevelopmentCore NodesManual TriggerGoogle DriveCodeN8n-nodes-autype.autype
Loading interactive preview...

Template notes

![Screenshot 20260305 at 15.01.50.png](fileId:4767)

Important: This workflow uses the [Autype](https://www.npmjs.com/package/n8n-nodes-autype) community node and requires a self-hosted n8n instance.

This workflow reads every PDF from a Google Drive folder, generates a metadata title page for each document (showing filename, creation date, last modified date, and owner), merges everything into a single PDF with interleaved title pages, adds a blue company-name watermark to every page, and uploads the final result back to Google Drive.

Who is this for?

Operations teams, project managers, legal departments, and anyone who needs to compile multiple PDFs into a single branded document package. Useful for monthly report bundles, compliance archives, client deliverables, audit documentation, or any scenario where multiple files need to be combined with clear separation between documents.

What this workflow does

On manual trigger, the workflow lists all PDFs in a specified Google Drive folder. It generates all metadata title pages at once using the Autype Render JSON endpoint (one API call for all cover sheets). Then it loops through each document, downloads it from Drive, uploads it to Autype, extracts the corresponding title page using the outputFileId directly (no re-upload needed), and collects merge pairs. After the loop, all file IDs are interleaved (title page 1, document 1, title page 2, document 2, ...) and merged. The watermark step also uses the outputFileId from Merge directly. The final PDF is saved back to Google Drive.

Output structure