Collect resume PDFs through a simple online form, turn each file into a clean JSON record, and track AI token costs for every request. At the end of the month, totals are calculated from a shared log and an invoice is sent by email. This setup fits teams that sell usage based AI services and need clear, simple billing.
Here is how it works. A form receives a PDF file. The file is parsed, then an AI extractor organizes the resume into a set JSON structure. A custom LLM subnode records token usage and cost, and writes the details into Google Sheets. The user sees the JSON output right away. On a schedule at month end, the flow reads the sheet, filters last month, sums totals, and sends an invoice through Gmail.
Use a self hosted n8n instance because the Langchain code subnode is needed. Connect Google Sheets, OpenAI, and Gmail with proper credentials. Expect to cut billing prep from hours to minutes and reduce errors from manual tracking. Good for AI agencies, IT teams, and finance teams that bill clients by usage or need internal cost reporting.