Generate PDF invoices with line item support from Airtable using Google Sheets
Stop manually copy-pasting client data into Word templates. This workflow automates the entire invoicing process, handling complex line items, VAT calculations, PDF generation, and CRM syncing in under 20 seconds.
It is designed to solve the "Admin Trap" by connecting your database (Airtable) to your document generator (Google Drive/Docs) via a Webhook trigger.
β‘ What this workflow does Receives Data: Listens for a Webhook (compatible with frontends like Lovable, Softr, or standard forms) containing the Client ID and a list of Services.
Splits Line Items: Uses a "Split In Batches" logic to iterate through multiple services/products, ensuring every line item is recorded individually.
Database Sync: Creates a parent "Invoice" record and links child "Service" records in Airtable.
Generates PDF: Populates a Google Doc/Sheet template with dynamic client data and service rows, then exports it as a PDF.
Files & Links: Uploads the PDF to a designated Google Drive folder and attaches the file URL back to the specific Invoice record in Airtable.
π Setup Requirements
- Airtable Base Structure
You need three linked tables to make this work:
Clients: Stores Address, VAT Number, and Email.
Invoices: The master record containing Date, Total Amount, and the Invoice PDF attachment field.
Services: Stores individual line items (Value, Units, VAT Amount) linked to the Invoices table.
- Google Drive Template
Create a Google Doc or Sheet.
Use {{variable_name}} placeholders for Client Name, Address, and Invoice ID.
Ensure you have a section for line items that matches the automation loop.
π‘ Use Case Perfect for freelancers, agencies, and founders who want to trigger invoices from a dashboard or dropdown menu without manually calculating VAT or typing out addresses.
π Need help building this? Want to automate & scale your business?
I help founders automate their "boring work" so they can focus on sales.
https://www.linkedin.com/in/sergiomedinah/ https://sergio-medina.com/
Related Templates
Track Demo Bookings with Google Calendar to Meta Conversions API Integration
Who is this workflow for? If you're using Meta Ads to generate new leads to your sales pipeline, this workflow is for yo...
Transcribe & Summarize Audio with Whisper and GPT, from Google Drive to Notion
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Overview This work...
Reusable and Independently Testable Sub-workflow
Reusable and Independently Testable Sub-workflow This n8n workflow provides a standardized structure for building and te...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments