How They Use AI  |  Newest

<< Home  |  Work

Automated manual data entry of PDF invoices

AreaWork
AI usedAny
Sourcer/automation
Posted2026-11-05

The move

Use an LLM to extract invoice data from PDFs into a structured JSON format for your spreadsheet.

Steps

  1. Create a Gmail filter to label incoming supplier invoices.
  2. Use Google Apps Script to save attachments to a specific Drive folder.
  3. Send the PDF text or image to an LLM with a prompt to return JSON data.
  4. Validate the extracted data and append it as a new row in your spreadsheet.
  5. Compare the spreadsheet data against your bank CSV to flag discrepancies.

Prompt for your AI

Extract the following fields from this invoice text: [date, supplier name, invoice number, total amount]. Return the output strictly as a JSON object with these keys.

What happened

The user was manually typing invoice details from PDF attachments into Google Sheets. They implemented a system using Gmail filters and Google Apps Script to automatically save attachments to Drive. An LLM then processes the PDFs to extract specific fields like date, supplier, and amount into a spreadsheet.

Watch out

LLMs may occasionally misinterpret numbers or dates, and supplier PDF layouts can change unexpectedly.

Give it to your agent

Read https://howtheyuse.ai/p/automated-manual-data-entry-of-pdf-invoices.md and help me do this.

Sources



Last updated November 26, 2026.