Automations that spend money turn in receipts
Some of our automations spend real money. They call APIs that bill per request against a prepaid balance, the way social platform APIs and AI media services do now. One afternoon I watched one of those balances drop $1.10 and had to go ask what we got for it. Nobody could answer without digging through logs.
That is the moment the rule got written. A crew member who spends company money turns in a receipt. An automation that spends company money follows the same rule, and it does not get to wait until someone asks.
The meter goes inside the loop
Every credit-spending automation we run now carries its own meter. Each API call increments a counter and adds its estimated price, and the run ends by reporting both: this run made 14 calls and spent about $0.90. The report shows up where we already read the run's output, not in a dashboard nobody opens.
The meter is maybe 20 lines of code. The alternative is reverse-engineering a balance drop from provider logs, which took longer than writing the meter did.
Name the worst case before the first run
Per-run receipts are half of it. The other half is the cap, stated up front, in dollars. One of our daily jobs is capped at 9 searches a run, which pencils out to about $2 a day worst case. That number was on the table before the job ever ran. Whoever owns the budget should hear the ceiling as a dollar figure, not discover it as a trend.
Caps also make the failure mode boring. A capped job that hits its limit stops and says so. An uncapped job tells you about itself through the balance, and a prepaid balance has exactly one other way to get your attention: the payment-required error, on the day you actually needed the thing to run.
A receipt is not a leash
One thing this rule is not: a cheapness mandate. We do not starve jobs to make the report look good, and we do not skip work that earns its cost. The meter exists so the spend is a decision instead of a surprise. Report the number, and let the owner decide if the work was worth it.
Most of the time it is. And when it is not, the receipt is what tells you, months before the invoice would have.