Generate, encrypt, and send invoices with PDF Generator API & Google Suite
UnknownWhat this workflow does
This workflow has 8 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Google Sheets, Google Drive, Gmail and Pdf Generator Api (community).
How it runs
Trigger: When an HTTP GET request hits its webhook URL.
- Generate Invoice ID (Code): runs custom JavaScript code
- Check if ID Already Exists (Google Sheets): uses Google Sheets
- If: checks a condition and branches into true / false
- Generate a PDF document (Pdf Generator Api): uses Pdf Generator Api
- Encrypt PDF document (Pdf Generator Api): encrypt (pdf services)
- Upload file (Google Drive): uses Google Drive
- Send a message + file (Gmail): uses Gmail
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @pdfgeneratorapi/n8n-nodes-pdf-generator-api is verified or supports 3.0 (used in Generate a PDF document, Encrypt PDF document).
Nodes used (7)
- Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Webhook
n8n-nodes-base.webhook - Pdf Generator Api
@pdfgeneratorapi/n8n-nodes-pdf-generator-api.pdfGeneratorApi - Google Drive
n8n-nodes-base.googleDrive - Gmail
n8n-nodes-base.gmail
From the author
Why Creating and sending invoices manually is a major administrative bottleneck. It's not only slow but also prone to human error, such as creating duplicate invoice numbers or sending sensitive financial data in an unsecured format. This workflow solves…