Back to feed
Dev.to
Dev.to
5/9/2026
I built an AI agent that turns Gmail receipts into a spreadsheet — automatically

I built an AI agent that turns Gmail receipts into a spreadsheet — automatically

Short summary

A developer automated receipt processing by building an AI agent that watches Gmail, extracts receipt data (vendor, date, amount, category) into Google Sheets, and flags uncertain entries for review. Built using Claude Sonnet 4.6 via ContextGate, the system processes receipts in 15-30 seconds for a fraction of a cent each. The implementation uses a policy-based architecture that separates email gating logic from the agent's core fuzzy-matching work.

  • Built an AI agent that processes Gmail receipts into Google Sheets automatically using Claude Sonnet 4.6
  • Agent extracts vendor, date, amount, category; flags low-confidence entries for manual review
  • Policy-based architecture keeps gating logic separate from agent logic; processes receipts in 15-30 seconds for <$0.01 per receipt

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Explore more