Skip to content
TakoAPI
Back to skills

invoice-chaser

by audsmith28

CLI Utilities
991Downloads reported by clawskills.sh
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Automated invoice follow-up sequences that escalate from friendly to firm.

Description

What This Skill Does

Automates invoice follow-up with multi-stage email sequences that escalate from friendly reminders to firm final notices. Tracks unpaid invoices, logs every interaction, and generates AR aging reports. Run daily via cron; the agent handles all outreach until payment arrives or human escalation is needed.

Unlike a simple scheduled email, it maintains full invoice state across multiple escalation stages and knows when to alert a human rather than keep sending automated messages.

When to Use It

  • Automatically reminding a client three days before an invoice is due
  • Escalating tone from polite to firm as an invoice ages past 30 days
  • Generating a weekly AR aging report to identify chronic late payers
  • Pausing reminders for a client who requested a short extension
  • Marking an invoice paid and stopping all follow-up immediately

Example Workflow

INPUT

User asks: Add invoice INV-042 for Acme Corp, $2,500, due Feb 14, then run the chase cycle

AGENT
  1. 1

    Runs add-invoice.sh to register the invoice with client email, amount, and due date

  2. 2

    Runs chase.sh, which loads all unpaid invoices and calculates days since issue and days overdue

  3. 3

    Determines the current escalation stage for each invoice based on timing rules in config

  4. 4

    Sends the appropriate stage template email to each client and logs the send

  5. 5

    Reports any invoices that have crossed the human-escalation threshold

OUTPUT

Invoice INV-042 added and tracked. Chase cycle sent a stage-1 reminder to billing@acme.com; 2 other invoices flagged as overdue, 1 escalated for manual follow-up.

Requirements

  • Gmail account for sending reminder emails
  • GOG_DEFAULT_ACCOUNT env var set in ~/.clawdbot/secrets.env

Installation

clawhub install audsmith28/invoice-chaser

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links