skip to content
← cd ~/projects
~/projects/workorder-agent

2026 · engineer · for a property manager · in progress

Work-Order Agent

An AI agent that watches a property manager's inbox, extracts maintenance work orders from emails, PDFs and photos, and stages them for human approval before they reach AppFolio.

source ↗PythonFastAPIClaudeGeminiSupabasePlaywright

what it is

Property managers receive maintenance requests as emails, PDFs and phone photos, then retype them into AppFolio. This agent reads the Gmail inbox, extracts each work order into a clean, editable card, and waits for a human to approve it.

gmail pollingmultimodal extraction (text, pdf, photos)review dashboardhuman approvescopy all fieldsplaywright enters it in appfolio

decisions worth noting

  • Works around a missing API. The client isn't on AppFolio's read/write API tier, so approved orders are entered by driving the AppFolio interface with Playwright.
  • Useful before it's finished. Because that last step is the fragile one, the app delivers value first: every work-order email becomes a card with a one-click "copy all fields".
  • Nothing is auto-submitted. A person approves every order.
  • Two model providers. Claude or Google Gemini, both with schema-constrained output and no OCR step; the provider is picked automatically from the keys available.