
Email-to-Booklet: Parse, Personalize, and Merge Legal PDFs with n8n + PDF.co
6 MIN READ
5 MIN READ
A fully automated workflow built in n8n that:
This workflow helps teams eliminate manual data entry, maintain accurate purchase order logs, and instantly notify vendors — saving hours of work weekly.
Before you begin, make sure you have:
Sample Test File : Link Here
Option A: Instant Setup
Option B: Build It Step-by-Step
Follow the detailed 4-step guide below to create the automation from scratch.
Example: When you drop a new PO PDF into your Google Drive folder, the system parses PO Number, Vendor Name, Total Amount, Vendor's Email and Delivery Date — then stores and emails it automatically.
Node: Google Drive Trigger
What happens: This node continuously watches your specified Google Drive folder. As soon as a new purchase order file is uploaded, the workflow kicks off — ensuring no manual start is needed.
Configuration Details:
Changes involving a specific folderFile CreatedSuccess Looks Like:The trigger activates immediately when a PO file is uploaded, passing its metadata and download link to the next node.
Node: HTTP Request → PDF.co
What happens: This step extracts key data points from the uploaded PO file using a predefined Document Parser template. No manual data entry required.
Configuration Details:
POSThttps://api.pdf.co/v1/pdf/documentparserx-api-key: Your PDF.co API keyContent-Type: application/jsonurl: {{ $json.webContentLink }}templateId: your template IDinline: trueSuccess Looks Like: PDF.co responds with a structured JSON payload containing parsed data fields.
Node: Airtable
What happens: The parsed data is automatically saved in your Airtable base, making it easy to view, track, or sync with other systems.
Configuration Details:
CreatePurchase Order Number → ={{ $json.body.objects[1].value }}Vendor's Name → ={{ $json.body.objects[2].value }}Total Amount → ={{ $json.body.objects[3].value }}Delivery Date → ={{ $json.body.objects[4].value }}Vendor's Email → ={{ $json.body.objects[5].value }}Success Looks Like: A new row is added to your Airtable table every time a PO is processed.
Node: HTTP Request → PDF.co Email API (SMTP)
What happens: Once the record is saved, the workflow automatically emails the vendor, confirming receipt and processing of their PO.
Configuration Details:
https://api.pdf.co/v1/email/sendPOSTapi-key: Your PDF.co API keyContent-Type: application/jsonfrom: your_email@gmail.comto: {{ $('HTTP Request').item.json.body.objects[5].value }}subject: Update on Your Purchase Order {{ $('HTTP Request').item.json.body.objects[1].value }}bodyHtml:<p>Hi {{ $('HTTP Request').item.json.body.objects[2].value }},</p>
<p>We wanted to let you know that your <strong>Purchase Order {{ $('HTTP Request').item.json.body.objects[1].value }}</strong> has been successfully updated in our system.</p>
<ul>
<li><strong>PO Number:</strong> {{ $('HTTP Request').item.json.body.objects[1].value }}</li>
<li><strong>Total Amount:</strong> {{ $('HTTP Request').item.json.body.objects[3].value }}</li>
<li><strong>Delivery Date:</strong> {{ $('HTTP Request').item.json.body.objects[4].value }}</li>
<li><strong>Status:</strong> Archived</li>
</ul>
<p>If any of these details appear incorrect, contact us at
<a href="mailto:{{ $('HTTP Request').item.json.body.objects[5].value }}">{{ $('HTTP Request').item.json.body.objects[5].value }}</a>.
</p>
<p>Thank you for your continued partnership!</p>
<p>Best regards,<br>Procurement Team</p>smtpserver: smtp.gmail.comsmtpport: 587smtpusername: your SMTP usernamesmtppassword: your SMTP app passwordasync: trueSuccess Looks Like: The vendor receives an email notification containing their PO details in real-time.
This creates a fully automated PO processing pipeline with zero manual intervention.
Built something cool with this workflow? Share it with us @pdfdotco

6 MIN READ

6 MIN READ

6 MIN READ

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