Templates / Automate medical billing with Google Sheets and Gmail

Automate medical billing with Google Sheets and Gmail

Ready for 3.0

by David Olusola ✓ · 875 views · created 2025-05-12 · Invoice Processing

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 9 nodes and runs when someone submits an n8n form. Along the way it connects Gmail and Google Sheets.

How it runs

Trigger: When someone submits an n8n form.

  1. Data Structure (Edit Fields (Set)): sets or maps fields
  2. Format Date (Code): runs custom JavaScript code
  3. Calculate prices (Code): runs custom JavaScript code
  4. Error Check (If): checks a condition and branches into true / false
  5. Generate Error Message (Edit Fields (Set)): sets or maps fields
  6. Send Patient Invoice Email (Gmail): uses Gmail
  7. Admin Notification (HTTP Request): calls an HTTP API
  8. Log Invoice to Googlesheets (Google Sheets): uses Google Sheets

Services it uses

GmailGoogle Sheets

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)

From the author

Automate Medical Billing with Google Sheets and Gmail Note: This template is designed for self-hosted n8n instances. The workflow image above shows the complete automation flow. This n8n workflow automates the patient billing process—from form submission to…

Excerpt from David Olusola's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.