Hi everyone,
I’m Alex, the guy behind DocuPotion. I recently launched the official DocuPotion community node for n8n.
What DocuPotion does
- Create beautiful, reusable document templates with our AI-driven editor.
- Generate PDFs of your template in a n8n workflow
- Use
{{merge_fields}} to replace placeholder values with your own data.
See it in action
Generate PDFs in n8n Automatically (Invoices, Reports & Contracts) - video tutorial
This video shows how you can automatically create invoices from your Google Sheets data using a DocuPotion template.
Whenever a user changes the status of an invoice to ‘Active’:

It kicks off an n8n workflow that takes the data from that invoice record and uses it a PDF generated from a DocuPotion template:
The generated PDF is uploaded to Google Drive and a link is added to the Google Sheet:

The video uses Google Sheets as the data source, but you can connect DocuPotion to any data source you’d like 
Useful resources
If you have any questions just let me know.
Alex
1 Like
This looks really useful. A lot of PDF steps in workflows end up being much more painful than they should be, so having a node focused on reusable templates and clean document generation feels like a great fit for n8n. The invoice example also makes the use case immediately clear.
2 Likes
Thanks @tamy.santos - appreciate the kind words!
I’ve been dealing with the frustrations of reliably creating PDFs for ~6 years now. Hopefully DocuPotion makes a bit easier for some people using n8n 
1 Like
Thanks @Benjamin_Behrens!
Multi-page documents are very common 
Here’s an example of a 3-page employment contract:

Page breaks are automatically added in sensible places when the document is generated, but you can also simply ask the AI to add page breaks in specific places.
Generate PDF of Invoice from Google Sheets - Workflow Template - Apr-26
Just released this workflow template on how to generate PDFs of Invoices using Google Sheets, DocuPotion and Google Drive.
Google Sheets setup
Your Sheet needs two tabs:
- invoices:
invoice_number, invoice_date, due_date, status, customer_name, customer_email, customer_company, customer_address, pdf_url
- line items:
invoice_number, description, quantity, unit_price
To trigger the invoice generation: set a row’s status to Active.
Steps
- Google Sheets Trigger watches the
invoices sheet for status changes (polls every minute)
- Filter: only rows where
status = Active proceed
- Loop over each updated invoice:
- Fetch matching rows from the
line items sheet
- Aggregate line items into a single array
- Generate PDF via DocuPotion template
- Upload to Google Drive
- Update the invoice row: set
pdf_url and status Sent
Hope it’s useful! If anyone has any questions just let me know 
Alex
1 Like