Install
openclaw skills install ach-volume-estimatorEstimate Dwolla's end-of-month ACH transaction volume from daily KPI emails. Use when processing ACH KPI emails, when Dave asks about monthly volume projections, or when the daily ACH cron needs a monthly estimate. Extracts transactions and business days from email data, calculates per-BD rate, and projects monthly total using US Federal Reserve bank holiday calendar.
openclaw skills install ach-volume-estimatorFetch the ACH KPI email:
gog gmail messages search "subject:ACH KPIs" --account glaser.dave@gmail.com --max 1 --json
Download the PDF attachment (contains all charts and data):
# Get message details with attachment IDs
gog gmail get <MESSAGE_ID> --account glaser.dave@gmail.com --json
# Find the attachment named "ACH KPIs.pdf" (mimeType: application/pdf)
# Download it:
gog gmail attachment <MESSAGE_ID> <ATTACHMENT_ID> --account glaser.dave@gmail.com --out ~/clawd/work/ach-kpis-latest.pdf
Extract data from the PDF. The PDF contains Tableau dashboard exports with:
Key numbers to extract:
Run the estimator:
python3 ~/clawd/skills/ach-volume-estimator/scripts/estimate.py \
--transactions <MTD_TOTAL> --bds-elapsed <BDS_SO_FAR> [--month YYYY-MM]
Or if you already have per-BD rate:
python3 ~/clawd/skills/ach-volume-estimator/scripts/estimate.py \
--per-bd <RATE> [--month YYYY-MM]
Add --json for structured output.
Compare to benchmarks:
Generate the visual dashboard:
~/clawd/scripts/ach-dashboard-gen
This reads ~/clawd/work/ach-reports/latest-ach-data.json (or falls back to the latest markdown report) and writes ~/clawd/work/ach-reports/dashboard.html.
View at: http://192.168.1.60:3013/html/work/ach-reports/dashboard.html
TV mode: http://192.168.1.60:3013/html/work/ach-reports/dashboard.html?tv=1
Deliver: Include estimate in the ACH KPI summary sent to Dave. Include the dashboard URL.
One-liner: 2026-02 estimate: 5.81M txns | (19 BDs, 12 elapsed, 7 remaining) | 306,000/BD | (3,672,000 so far)
Script uses US Federal Reserve bank holiday calendar (2025-2027 hardcoded). Excludes weekends and all Fed holidays (New Year's, MLK, Presidents' Day, Memorial Day, Juneteenth, Independence Day, Labor Day, Columbus Day, Veterans Day, Thanksgiving, Christmas).
Wire into the existing "Daily ACH KPIs summary to Dave" cron (9:30 AM ET weekdays). After extracting email data, run the estimator and append the monthly projection to Dave's summary.