Source before summary
Original emails and files remain intact and linked.
A controlled Google Workspace workflow that receives buyer POs and supporting files, organizes them in Shared Drive, extracts structured data with AI, validates what matters, and keeps the master Sheet current.
01 / Understanding
The happy path is easy: read a clean PDF and write values to cells. The real work is handling buyer variation without corrupting the tracker or losing the original context.
I would design the workflow around provenance, repeatability, and human review. Each tracker row should answer three questions: where did this value come from, which checks passed, and what happens when the document does not match expectations?
Original emails and files remain intact and linked.
The tracker defines the extraction contract.
Ambiguous values are flagged, never invented.
02 / Architecture
Select a stage to see its responsibility, safeguards, and output.
Selected stage
Monitor only the agreed mailbox, labels, or aliases. Capture the message, buyer identity, timestamps, and every supported attachment without disturbing the original email.
Controls
03 / Real documents
Buyer documents will vary. The system should adapt deliberately, not hide that variation inside one oversized prompt.
Standard path
Extract embedded text and tables, map values to the canonical PO schema, reconcile header totals against line items, then write the approved record to the tracker.
04 / Delivery
Indicative windows are refined after the sample review. The engagement can then continue as a 3–6 month build-and-improve cycle.
Review anonymized samples, the current tracker, buyer-specific conventions, Shared Drive rules, and Workspace constraints. Convert that knowledge into a field dictionary and an explicit exception policy.
Outputs
05 / What gets delivered
Gmail and Drive intake, triggers, config, Sheet utilities, safe retries, and quota-aware batching.
Importable, modular flows for orchestration, branching, model calls, alerts, replay, and maintenance.
Versioned prompts, JSON schemas, buyer rules, null policy, confidence signals, and test fixtures.
Folder naming rules, Google Group permission matrix, service-account access, and document linking.
Validated upserts, processing states, source links, review queue, error log, and operational views.
Architecture map, setup guide, field dictionary, runbook, change log, and recorded handover walkthrough.
Definition of done
06 / Reliability
The automation should fail visibly, preserve evidence, and be safe to rerun. That is the difference between a demo and an operating system.
New layouts are tested against stored anonymized samples before prompt or schema changes go live.
The model must return missing values as null and identify where extracted values came from.
Message IDs, file hashes, and PO keys prevent retries from creating duplicate folders or rows.
Short Apps Script actions handle Workspace events; heavier orchestration and retries stay in n8n.
Atomic upserts and locking protect rows when several POs arrive or a replay is running.
Access is assigned through Google Groups with a documented service identity and minimal scopes.
07 / Relevant proof
The closest relevant implementation used a different low-code stack, but solved the same core engineering problem: unstructured evidence into trusted operational records.
Field users captured VIN images. An LLM vision API extracted the identifier into a structured record; unreadable images returned an explicit no-result state; duplicate VINs were isolated; and validated data fed installation logs, compensation, and dealership invoicing.
Document capture · comparable LLM API · structured extraction · validation · duplicate handling · downstream operations
Scheduled Drive organization and file-routing automations, with the same emphasis on predictable folders, triggers, and maintainable configuration.
Claude is the proposed primary parser. The schema, validation layer, and tests stay separate so Gemini or another comparable model can be evaluated without rebuilding the workflow.
Short written updates, versioned changes, explicit decisions, and owner-facing documentation support a less-than-30-hour weekly engagement.
08 / Illustrative capacity
This is a planning model, not a performance guarantee. It assumes three minutes of human review per PO after automation.
Low-risk first step
Provide anonymized buyer documents and a copy of the tracker. The first output is a field schema, exception map, proposed architecture, and pilot acceptance criteria before the production workflow is touched.
10–20 anonymized PO emails with attachments
A copy of the current master tracker
Required fields and buyer-specific rules
Proposed Shared Drive folder structure
Workspace admin and permission constraints
09 / Practical questions
These do not block a first conversation. They define the pilot and prevent risky assumptions later.
Confirm aliases, forwarding rules, historical threads, sender exceptions, and whether replies or revisions should be reprocessed.
A techpack and PO may disagree. The field dictionary should state which source wins and when a person must decide.
High-risk commercial fields may need stricter confidence and validation rules than descriptive fields.
Map buyers, internal teams, service identities, and Google Groups before automation creates or shares production folders.
Decide whether revisions update one record, create versions, or create a new line while preserving the earlier state.