GoHighLevel · Google Apps Script · Gemini AI

<aside> ℹ️

Portfolio project built on simulated data for a fictional agency, Bayanihan Digital Studio. No real client and no promised results.

</aside>

The problem

Small service businesses lose cash flow to invoices that slip 30, 60, even 90 days past due. Chasing payments is awkward, so it happens late and inconsistently. Some clients get chased after they've already paid, and nobody can quickly answer: how much are we owed, and who needs a call?

The solution

An automated collections system that watches every invoice, sends reminders that escalate from friendly to firm, and stops the moment a client pays. When a client replies, reminders pause right away and the right person gets a task. Accounts that stay unresponsive are handed to a person with a full summary of the history.

How it works

  1. Ledger → AR Bridge. Invoices are validated, aged, and checked hourly by a rules engine that decides each next step.
  2. AR Bridge → GoHighLevel. One opportunity per invoice. Workflows send the email/SMS, pause on replies, route intents and create tasks.
  3. Gemini (wording only). Writes the Stage 2–4 reminders and classifies unclear replies. Every message is validated before it can be sent, and a pre-approved template is used if a draft fails.
  4. People. Approve payment plans, resolve disputes and take handed-off accounts.

BDS AR Collections Architecture.html

Key features