AUTOMATES 100% OF UTILITY COST ALLOCATIONS

AI Tenant Cost & Service Charge Allocator

Category: Procurement
Tools: n8n Google Sheets PDFShift API Gmail API
Scope: 12 Tenants 17 Cost Categories (§2 BetrKV)
Impact: Cycle time reduced from 4.5 hours to 15 seconds
Period: Mar 2026 May 2026
Key Metrics
Active Tenants Monitored
12
100% automated loop
Manual Effort Saved
95%
↑ target was 80%
Avg Processing Time
15s
↓ reduced from 4.5 hours
PDF Statement Delivery
100%
PDFShift API integration
Calculations Reconciled
100%
Reconciled to the cent
Cost Splits Computed
204
Across 17 BetrKV categories
Tenant Billing Disputes
0%
↓ full formula audit trail
Audit Logs Appended
100%
Auto-logged on delivery
Context
Problem

Manual service charge splits and statement compilation is slow and complex

Managing monthly utility service charges (Betriebskostenabrechnung) for property portfolios is a major administrative burden. Managers manually aggregate invoices across 17 cost categories under § 2 BetrKV, split them proportionally per tenant based on floor area (qm) or resident headcounts (Personen), compile custom PDF statements, draft emails, and attach files—taking 4.5 hours per month with high human error risk.

Solution

Scheduled n8n automation with PDFShift & Gmail API

Built a scheduled data-driven n8n workflow. The workflow fires on the 15th of every month, reads the clean tenant directory (File 2) from Google Sheets, loops through each tenant row, converts service charge HTML templates into professional branded PDFs using the **PDFShift API**, sends them via the **Gmail API**, and logs confirmation entries into a Sent Log sheet.

Findings

Operation compressed from hours to 15 seconds with zero math errors

Delivered 144 tenant statement drafts across 12 units. Statement loop cycle time crashed by 99.9%. Clear separation between the detailed accounting workbook (File 1: the engine) and the clean automation sheet (File 2: the fuel) protects data sanity, while n8n's "On Error -> Continue" rule prevents bad emails from halting the entire billing batch.

n8n Workflow Map & Execution Simulator
🏢 WORKFLOW VIEW: ABC_GmbH_Tenant_Cost_Notification
n8n Workflow Canvas

Click the image to open the full-resolution screenshot in a new window.

Workflow Database Files

📊 Accounting Workbook (The "Engine")

This is the master German Betriebskostenabrechnung spreadsheet. Built for property managers, it manages building master data, all 17 operating-cost categories under §2 BetrKV, invoice records, and tenant calculations reconciled to the cent.

⬇ Download Accounting Workbook (Excel)

⚡ Clean Automation Sheet (The "Fuel")

A machine-ready version designed specifically for n8n. Features clean headers in Row 1 with one row per tenant (names, emails, units, months, costs, totals, addresses) without merged cells or headings for flawless API parsing.

⬇ Download Automation Sheet (Excel)
Billing & Allocation Analytics

Utility Cost Category Split

Cycle Time (Manual minutes vs n8n workflow seconds)

Tenant Cost Allocation Splits

Sent Statements Audit Log (Google Sheets)
Timestamp Tenant Name Email Unit Month Total Split Cost Delivery Status
Operational Advice
⚡ Best Practices for n8n Property Automations
Key Takeaway: Professional automations separate data representation from calculation logic. The accountant owns the **Engine** (calculation model), n8n reads the **Fuel** (clean table), and the tenant receives a **Branded PDF** with audit logs.