Generate and send freelance invoices from Airtable via HTML-to-PDF and Gmail
Ready for 3.0What this workflow does
This workflow has 10 nodes and runs on a schedule (every day at 08:00). Along the way it connects Airtable and Gmail.
How it runs
Trigger: On a schedule (every day at 08:00).
- Set Configuration (Edit Fields (Set)): sets 6 fields: business_name, airtable_base_id, airtable_table_name…
- Fetch Ready-to-Invoice Projects (Airtable): search
- Are Required Fields Complete? (If): checks a condition and branches into true / false
- Calculate Invoice Total (Code): runs custom JavaScript code
- Flag Airtable - Needs Info (Airtable): update
- Build Invoice HTML (Edit Fields (Set)): sets 1 field: invoice_html
- Generate Invoice PDF (HTTP Request): calls an HTTP API (POST)
- Send Invoice Email (Gmail): uses Gmail
- Update Airtable - Mark Invoiced (Airtable): update
Services it uses
Other Airtable + Gmail templates (133)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Airtable
n8n-nodes-base.airtable - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Gmail
n8n-nodes-base.gmail - If
n8n-nodes-base.if
From the author
Quick Overview This workflow runs daily to find Airtable projects marked ready to invoice, validates required fields, generates a PDF invoice via an HTML-to-PDF API, emails it with Gmail, and updates the Airtable record as invoiced or flagged as needs info.…