Send weekly AR ageing reports with Invoice Ninja, PDFMint and Gmail
UnknownWhat this workflow does
This workflow has 7 nodes and runs on a schedule (cron 0 8 * * 1). Along the way it connects Invoice Ninja, Gmail and Pdfmint (community).
How it runs
Trigger: On a schedule (cron 0 8 * * 1).
- Your company details (Edit Fields (Set)): sets 6 fields: companyName, companyAddress, accentColour…
- Get open invoices from Invoice Ninja (Invoice Ninja): get many (invoice)
- Build the ageing report (Code): runs custom JavaScript code
- Anything outstanding? (If): checks a condition and branches into true / false
- Render the ageing report as PDF (Pdf Mint): pdf (document)
- Email the report (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 n8n-nodes-pdfmint is verified or supports 3.0 (used in Render the ageing report as PDF).
Rarely used nodes in this template: n8n-nodes-base.invoiceNinja
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Invoice Ninja
n8n-nodes-base.invoiceNinja - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Pdf Mint
n8n-nodes-pdfmint.pdfMint - Gmail
n8n-nodes-base.gmail
From the author
Quick Overview This workflow runs every Monday morning to pull active invoices from Invoice Ninja, generate an accounts-receivable ageing summary as a branded PDF using PDFMint, and email the report to a chosen recipient via Gmail. How it works 1. Runs every…