SixFlowGet my free AI audit
All projects

AI automation

A ledger that never double-counts a dollar

SixFlow's internal finance system: live revenue and expense tracking from three sources, a monthly close, a cash-floor partner payout model, and a hosted dashboard.

Next.jsSupabasen8nPlaidStripe
finance dashboard · overview
The dashboard overview: cash on hand against the cash floor, what's safe to distribute this cycle, and money flow in and out by category (sample data shown)
finance dashboard · P&L and monthly close
Monthly profit and loss chart, GST/HST collected, and an MRR estimate from recurring retainers and subscriptions (sample data shown)

The problem

Money lived in three places that didn't talk to each other: a bank account, a credit card, and Stripe. Reconciling them by hand each month risked the one mistake that actually matters: counting the same dollar twice, once as revenue and once as the deposit that revenue produced.

Partner payouts had no floor. Without one, a lean month could pull the business's own cash cushion out from under it just to make a distribution look normal.

What we built

Plaid and Stripe feed a unified ledger with one idempotency rule: every transaction keys on its source and external ID, so nothing lands twice. Stripe revenue is recognized from Stripe's own balance transactions; the matching payout deposit in the bank account is marked as an internal transfer, never counted again as revenue.

n8n stays thin: it fetches, upserts raw rows, and calls Postgres RPCs. All the actual math, dedup, transfer-matching, categorization, and the monthly close, lives in version-controlled SQL. Anything ambiguous gets flagged into a review queue instead of silently guessed at, and the payout formula respects a cash floor: nothing is distributable until the floor clears, then the surplus splits automatically by a fixed percentage between the business and its partners.

The result

Every dollar counted once, split automatically once the floor clears

3

money sources unified: bank, card, Stripe

0

dollars ever counted twice, by design

30/30/40

the payout split, enforced automatically above the floor

Curious what an audit would find in your business?

Book a free 15 minute discovery call. We map how your business runs and show you exactly where the time is going.

Get my free AI audit

15 minutes. No obligation, no pitch deck.