You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An autonomous AI agent that monitors overdue invoices and sends progressively escalating payment reminder emails — keeping client relationships intact while reducing Days Sales Outstanding (DSO).
Features
Automated Invoice Processing — Reads pending invoices from CSV/Excel
4-Stage Tone Escalation — From warm & friendly to stern & urgent
LLM-Powered Emails — Google Gemini generates personalised, professional emails
Escalation Flagging — 30+ day records flagged for manual finance/legal review
Immutable Audit Trail — Every action logged to SQLite with SHA-256 body hashes
Dry-Run Mode — Safe testing without sending real emails
Streamlit Dashboard — Visual interface with real-time metrics
git clone https://github.com/Advitiyyaaa/Finance-Credit-Follow-Up-Email-Agent
pip install -r requirements.txt
cp .env.example .env
# Edit .env with your Google API key
Run the Agent (CLI)
# Dry-run mode (default — no real emails)
python run_agent.py --dry-run
# With custom input file
python run_agent.py --input data/sample_invoices.csv --dry-run
# View audit log
python view_audit.py --last 50
An autonomous AI agent that monitors overdue invoices and sends progressively escalating, LLM-generated payment reminders to reduce Days Sales Outstanding (DSO).