
Email-to-Booklet: Parse, Personalize, and Merge Legal PDFs with n8n + PDF.co
6 MIN READ
4 MIN READ
By the end of this tutorial, you’ll have an automated workflow that:
This workflow eliminates the need to manually design or issue certificates. Each submission instantly generates a polished, personalized PDF certificate.
Before you begin, make sure you have:
15032The downloadable workflow uses the PDF.co node. Install it before importing the JSON blueprint; otherwise, the PDF.co step may be missing from the imported workflow.
For n8n version 1.94.0 or later:
Alternatively:
n8n-nodes-pdfco.After installing the node, import the workflow JSON and connect your PDF.co, Google Sheets, and Google Drive credentials.
If the blueprint was imported before the node was installed, install the node and import the JSON again. Installing community nodes may require workspace-owner or instance-owner access.
templateId with your own from the Template Manager.Follow the steps below to build the workflow from scratch.
Here’s what the finished workflow does:
What happens in this step: Whenever a student submits the Google Form, the linked Google Sheet gets a new row. This step listens for that new row and triggers the workflow.
Node: Google Sheets Trigger
Settings:
Row AddedSuccess looks like: Every time a new student submits the form, the workflow starts and captures their Name, Course Title, and Date of Completion.
What happens in this step: The captured student data is injected into a pre-designed HTML certificate template hosted in PDF.co.
Node: PDF.co API → URL/HTML to PDF
Settings:
htmlTemplateToPDF15032 (from Template Manager)Template Data Mapping:
{
"student_name": "{{ $json['Student\'s Name'] }}",
"course_name": "{{ $json['Course Title'] }}",
"completion_date": "{{ $json['Date of Completion'] }}"
}Output File Name: Certificate_{{ $json["Student's Name"] }}.pdf
Success looks like: A professional certificate PDF is generated with the student’s details filled in.
What happens in this step: The generated certificate is prepared in a binary format, so it can be uploaded to Google Drive.
Node: HTTP Request Settings:
={{ $json.url }} (certificate URL from Step 2)Success looks like: The PDF is converted into binary data ready for storage.
What happens in this step: The binary PDF file is uploaded into your chosen Google Drive folder.
Node: Google Drive
Settings:
My DriveSuccess looks like: Each new certificate is uploaded to Google Drive with the filename Certificate_StudentName.pdf.
You’ve successfully automated certificate creation and delivery. Your workflow now:
This setup can be extended further—for example, automatically emailing certificates to students, logging them in Airtable, or notifying an instructor in Slack.
Built something cool? Share it with us on Twitter @pdfdotco

6 MIN READ

6 MIN READ

6 MIN READ

6 MIN READ
Create an account, get an API key and test a request.