Retainer balance low alerts and top-up drafts
An agent tracks prepaid retainer balances against hours used, alerts the account lead when a client's balance drops below a set level, and drafts a top-up request for the account lead to review.
The use case
Many agencies and consultants work from prepaid retainers or blocks of hours. When nobody watches the balance, the team keeps working after the retainer runs out and then has to ask the client for money after the fact, which is awkward and sometimes leads to write-offs. This agent reads retainer amounts and payments from QuickBooks Online and hours used from Harvest or Toggl, calculates the remaining balance for each client, and estimates when it will run out at the recent pace. When a balance falls below the level set for that client, it alerts the account lead and drafts a polite top-up request with a summary of work done. It does not issue invoices or pause work. The account lead reviews the numbers, sends the request, and decides how to proceed.
Example workflow
- Each week the agent reads retainer amounts and payments from QuickBooks Online and billable hours from the time-tracking tool.
- It calculates each client's remaining balance and estimates when it will run out at the pace of the last few weeks.
- When a balance falls below the set level, it alerts the account lead in Slack with the numbers and their sources.
- It drafts a polite top-up request with a short summary of recent work and the remaining balance.
- The account lead reviews the numbers, edits and sends the request, and creates any invoice through the usual process.
- The agent logs the alert, the request date, and the account lead's decision for the client record.
Tools
- QuickBooks Online
- Harvest
- Toggl Track
- Slack
- Gmail
- Claude
Risks and guardrails
- The balance could be wrong if payments or hours are not recorded yet — guardrail: alerts show the date of each data pull, and the account lead checks before contacting the client.
- A top-up request could reach a client who already paid — guardrail: the account lead reviews payments in the accounting system before sending.
- The agent could invoice or pause work on its own — guardrail: it has read-only access to accounting and time data and only drafts messages.
- Requests could go to the wrong client contact — guardrail: the billing contact comes from the CRM, and the account lead confirms it.
Related recipe
B2B Invoice AR Reminder Agent with Approval Gate: An agent reads open invoices from QuickBooks or Xero, skips blocked accounts, and drafts tiered payment reminders in Gmail that a person approves one by one before anything is sent.
Want it set up for you? Request a quote.
Sources
Written by Agents Lookup. Credits and official pages for the tools this use case names:
- QuickBooks Online MCP server (official page): github.com/intuit/quickbooks-online-mcp-server (checked 2026-11-09)
- Slack MCP server (official page): docs.slack.dev/ai/slack-mcp-server (checked 2026-11-09)
- Gmail (official page): developers.google.com/workspace/gmail (checked 2026-11-19)
- Claude (official page): claude.ai (checked 2026-11-09)