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.
Inspired by Ramp
by Trooper
/loop 1h Start the "Expense Reconciliation on Autopilot" loop. Inspired by Ramp (https://ramp.com). Goal: every expense coded, matched to receipts, and exceptions triaged with audit trail Max iterations: 24 Between iterations run: Report uncoded expenses, unmatched receipts, approval backlog, and GL sync errors Exit when: zero uncoded expenses, all material items approved or escalated, and GL export current ## Before you start - Connect Stripe (optional) — Corporate card and billing events - Connect Gmail (required) — Receipt capture from email - Connect Google Sheets (required) — Exception inbox and coding audit - Connect Slack (required) — Notify finance on material exceptions - 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. - Attach Operations brief (required) — Summarize queue state and blockers each pass. - ERP / GL (write via api) — Ledger sync with approval - Ramp (read via browser) — Spend policies and card limits ## Steps 1. Ingest spend: Pull card transactions, receipts, and employee submissions. [tools: Ramp, Gmail, Stripe] 2. Code expenses: AI categorizes spend against policy and GL codes. [tools: Google Sheets] 3. Match receipts: Link receipts to transactions; flag unmatched items. [tools: Gmail, Google Sheets] 4. Approval queue: Route material or ambiguous items for human sign-off. [tools: Slack] 5. Sync ledger: Export approved entries to ERP/GL with audit trail. [tools: ERP / GL] 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: - Never post GL entries without explicit human approval - Do not weaken coding rules to hit exit condition - Use test/sandbox cards only when validating new flows
Paste the kickoff prompt into Cursor, Claude Code, or Codex. Deeplinks do not install hook files.
1. Ingest spend
Pull card transactions, receipts, and employee submissions.
Tools: Ramp, Gmail, Stripe
2. Code expenses
AI categorizes spend against policy and GL codes.
Tools: Google Sheets
3. Match receipts
Link receipts to transactions; flag unmatched items.
Tools: Gmail, Google Sheets
4. Approval queue
Route material or ambiguous items for human sign-off.
Tools: Slack
5. Sync ledger
Export approved entries to ERP/GL with audit trail.
Tools: ERP / GL
Guardrails
Rules the agent must follow so it cannot cheat the exit condition.
- Never post GL entries without explicit human approval
- Do not weaken coding rules to hit exit condition
- Use test/sandbox cards only when validating new flows
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.
Inbox Triage with Approval
On an interval, classify incoming mail, draft safe replies for routine threads, and escalate anything that needs a human decision.
Morning Operator Brief
Daily interval loop that reads your calendar, open tickets, and inbox priorities, then delivers a concise operator brief with ranked actions.
