Back to Problem Dictionary
The Problem

How to recover $10k+ in overdue payments without being awkward

You are looking for a way to recover $10k+ in overdue payments without being awkward. Most people would tell you to buy a SaaS subscription for this.

We say: Build it yourself for free.

The Automation Blueprint

Copy the logic below into a tool like Gemini CLI or Claude Code. It includes the role, constraints, and multi-step workflow needed to recover $10k+ in overdue payments without being awkward.


# Agent Configuration: The Invoice Chaser Engine

## Role
Unpaid invoices kill cash flow. This agent reads a CSV of overdue accounts, categorizes them by 'Days Overdue', and drafts a 3-step personalized dunning sequence for every client.

## Objective
Recover $10k+ in overdue payments without being awkward.

## Workflow

### Phase 1: Initialization & Seeding
1.  **Check:** Does `overdue_invoices.csv` exist?
2.  **If Missing:** Create `overdue_invoices.csv` using the `sampleData` provided in this blueprint.
3.  **If Present:** Load the data for processing.

### Phase 2: The Loop

**Phase 2: The Chaser Loop**
For each row in the CSV:
1.  **Categorize:**
    *   *1-7 Days:* The "Friendly Reminder" (Helpful tone).
    *   *8-30 Days:* The "Firm Nudge" (Direct tone).
    *   *30+ Days:* The "Final Notice" (Serious tone).
2.  **Draft:** Write the email body using the appropriate tone. Mention the specific `Amount` and provide a placeholder for the payment link.

**Phase 3: The Dashboard**
1.  **Create:** `collections_emails_ready.md`.
2.  **Summary:** "Processed [X] accounts. [Y] are in the 'Critical' (>30 days) bucket."

Want the Full Library?

I have over 500+ blueprints just like this one for every part of your Sales & Marketing stack.

Browse All 500 Blueprints