Loading
Skip to content
n8n

Auto Invoice Generation & Therapy Confirmation System Message

Invoice & Therapy Confirmation Automation System

Built two connected n8n workflows for a healthcare business to automate invoice and therapy confirmation document generation.

Overview
  • n8n
  • HubSpot API
  • Google Drive API
  • Google Sheets API
  • PDFMonkey API

What this project does

The system pulls relevant deals from HubSpot, collects patient and doctor information, generates the required documents, stores them in Google Drive, and keeps all records synchronized with Google Sheets.

Automated Therapy Confirmation PDF Workflow.mp4

Automated HubSpot to SwissQR Invoices Workflow 📄.mp4

  • n8n
  • HubSpot
  • Google Drive
  • Google Sheets
  • PDFMonkey
  • Google Cloud

How it was put together

Invoice Automation

The invoice workflow runs automatically each morning and processes eligible HubSpot deals based on their stage, doctor, and appointment type.

The system:

  • Retrieves qualifying deals from HubSpot
  • Collects patient and appointment information
  • Identifies the appointment type
  • Calculates the correct invoice amount
  • Selects the appropriate invoice configuration
  • Generates a Swiss QR payment code
  • Creates the invoice PDF through PDFMonkey
  • Uploads the invoice and QR code to Google Drive
  • Generates shareable document links
  • Records invoice details in Google Sheets
  • Maintains unique invoice numbering

Therapy Confirmation

A separate workflow generates therapy confirmation documents for qualifying treatment sessions.

It:

  • Retrieves completed deals from HubSpot
  • Collects patient and doctor information
  • Matches doctor details through Google Sheets
  • Formats and validates the required information
  • Generates the therapy confirmation PDF
  • Uploads the document to Google Drive
  • Creates a shareable link
  • Records the document details in Google Sheets

Swiss QR Billing

The invoice workflow connects with a custom Google Cloud Run API using a .NET Swiss QR library to generate payment QR codes containing the required billing information.

Result

A reliable document automation system that replaced manual invoice and therapy confirmation work with an automated process from HubSpot data to completed PDFs, Swiss QR billing, cloud storage, and record tracking.

The system also provides a structured foundation that can be extended to additional document and administrative workflows.

Abdullah Bukhari
Full-Stack .NET Engineer & AI Automation Architect

Want a system like this?

Share what you're working with and what should happen. I'll come back with questions and a suggested approach.

bukhariabdullah034@gmail.com

Work you can inspect

  • Lead Handling & Appointment Booking Chatbot: Chatbot
    n8n

    Lead Handling & Appointment Booking Chatbot

    Built a chatbot for a skin treatment clinic to handle leads coming from Facebook Ads and GoHighLevel.

    Read case study
  • Automated Xero POs, Invoices & Bill Attachments from Monday.com: Automated Xero POs, Invoices & Bill Attachments from Monday.com(1)
    Make

    Automated Xero POs, Invoices & Bill Attachments from Monday.com

    Built an automated finance workflow that connects Monday.com with Xero to automate purchase orders, client invoices, supplier invoices, and bill attachments.

    Read case study
  • AI Lead Qualification & Sales Automation: 1 (1)
    Zapier

    AI Lead Qualification & Sales Automation

    Built an end to end lead management and sales automation system that captures leads, enriches their information, scores their potential, routes them to the right…

    Read case study

What happens after you book: 1. We talk for 30 minutes. 2. I map the process and recommend an approach. 3. You decide.