Close Books Daily on Autopilot
Inspired by Brex — enforce budgets before spend, auto-receipt matching, bill pay approvals, and continuous close with ERP sync.
Inspired by Brex
by Trooper
/loop 1h Start the "Close Books Daily on Autopilot" loop. Inspired by Brex (https://www.brex.com). Goal: daily books reconciled, bills queued or paid with approval, and accruals current Max iterations: 24 Between iterations run: Report unreconciled accounts, pending bill pay approvals, missing receipts, and ERP sync backlog Exit when: all accounts reconciled or escalated, bills approved or scheduled, and ERP sync green ## Before you start - Connect Stripe (required) — Payments and treasury - Connect Gmail (required) — Invoice intake - Connect Google Sheets (required) — Close checklist - Attach Loop runner (required) — Self-pace iterations and run checks between passes. - Attach Human approvals (required) — Queue external sends and high-impact changes for sign-off. - Brex (read via browser) — Budgets and card controls - ERP (write via api) — GL and accruals ## Steps 1. Ingest transactions: Pull bank, card, and bill pay activity. [tools: Brex, Stripe] 2. Match receipts: Attach receipts and code expenses automatically. [tools: Gmail] 3. Bill pay queue: Extract invoice fields and route approvals. [tools: Gmail, Stripe] 4. Reconcile accounts: Match ledger to sources; investigate exceptions. [tools: Google Sheets, ERP] 5. Close and sync: Post approved accruals and sync ERP. [tools: ERP] Self-pace this loop. After each iteration, run the check command, read the output, and only continue if the exit condition is not met. Stop when the exit condition passes or max iterations is reached. Give a short status update each pass. Guardrails: - No payments without approval - Preserve audit trail for every GL change - Escalate material variances immediately
Paste the kickoff prompt into Cursor, Claude Code, or Codex. Deeplinks do not install hook files.
1. Ingest transactions
Pull bank, card, and bill pay activity.
Tools: Brex, Stripe
2. Match receipts
Attach receipts and code expenses automatically.
Tools: Gmail
3. Bill pay queue
Extract invoice fields and route approvals.
Tools: Gmail, Stripe
4. Reconcile accounts
Match ledger to sources; investigate exceptions.
Tools: Google Sheets, ERP
5. Close and sync
Post approved accruals and sync ERP.
Tools: ERP
Guardrails
Rules the agent must follow so it cannot cheat the exit condition.
- No payments without approval
- Preserve audit trail for every GL change
- Escalate material variances immediately
More Finance loops
Reconciliation on Autopilot
Inspired by End Close — continuous transaction reconciliation for high-volume payments. Deterministic matching rules handle the bulk volume, AI investigates exceptions with full context, and ops triages an inbox until close is audit-ready.
Expense Reconciliation on Autopilot
Inspired by Ramp — ingest receipts, auto-code expenses, match corporate card spend, and close books continuously with human approval on material adjustments.
Morning Operator Brief
Daily interval loop that reads your calendar, open tickets, and inbox priorities, then delivers a concise operator brief with ranked actions.
