Skip to content
Esc
  • Parametric Earthworks ModellingTools, 2026Under 30 min
  • Topographic PrintsObjects, 202616
  • CAD to GIS WorkflowTools, 2025Same day
  • Design to Unreal Engine PipelineTools, 2023Under an hour
  • A511Work, 2026
  • Drawing Checker ToolTools, 20262.8 s
  • Official Information Request AuditorBeyond, 2026
  • Pavement Quantity ToolTools, 2026Minutes
  • Public Data ScrapeTools, 2026
  • The Public RecordBeyond, 2026
  • Automated Document ComplianceTools, 2025Under a minute
  • Meridian Water Strategic InfrastructureWork, 2025
  • Semi-Automated Retaining WallsTools, 2022
  • Point Cloud Floor Plan ExtractionTools, 2021Minutes
  • Summer Research ScholarshipObjects, 2021
  • GRAIUniversity, 2020
  • Invert ShadeUniversity, 2020
  • BloomObjects, 2026
  • Organic Ring GeneratorObjects, 2026
  • Visser and AssociatesBeyond, 2026
  • Cottons FarmTools, 2025
  • Eco ParkWork, 2025
  • Navarre Wind FarmWork, 2024400 MW
  • X-FrameObjects, 2024
  • Wairarapa Line Capacity UpgradesWork, 2023
  • Automatic Wind Farm Road NetworkTools, 2022100
  • New Zealand Offshore Wind Market AssessmentWork, 2022
  • Plimmerton Farm Stage OneWork, 2022700+
  • Te Rere Hau Wind FarmWork, 202280 MW
  • Arlington StreetWork, 20211.5 km+
  • Parametric Cross-Section ToolTools, 2021
  • 3D-Printed Product BusinessObjects, 2020502
  • ARATAKIUniversity, 2020
  • Face MaskUniversity, 2020
  • Nocturnal FlowersUniversity, 2020
  • UV-C Door HandleUniversity, 2020
  • BenchUniversity, 2019
  • Chair TrapUniversity, 2019
  • EclipseUniversity, 2019
  • FormsUniversity, 2018
  • AboutPage
  • CVPage
  • RecognitionPage
  • EverythingPage

44 of 44

Beyond, 1 of 3

Official Information Request Auditor

An Official Information Act response start to finish without a person reading every email. A self-hosted n8n pipeline searches inboxes, filters for relevance with an LLM, redacts third-party information, compiles the disclosure documents and logs an audit trail against each one.

Workflow Automation, LLM Integration, Software Engineering

Organisation
Self
Role
Freelance / Automation Developer
Year
2026
Location
New Zealand
Sector
Legal / Compliance Tech
Status
Complete
Built with
n8n, Google Gemini, Gmail API, Google Drive API, Google Sheets API

How it works

Point at a step, or tab through, to trace what feeds it and what it feeds. Run it to watch the data go through.

In

Steps

Out

How to read it

Point at any node, or tab through them, to trace what feeds it and what it feeds.

Background

Responding to a legal Official Information Act request at a small practice means searching inboxes, judging relevance, redacting third-party information by hand and compiling the result. It is several hours of paralegal work and every step is a place to miss something.

What I built

A five-phase pipeline: ingestion and deduplication across any number of Gmail inboxes at both message and thread level, a loop with rate-limited LLM relevance filtering, per-email thread retrieval and PII redaction, post-loop compilation into a master document, and audit closure in Google Sheets.

How it works

Three things shaped the build:

  • Every email has to keep its own identity through the pipeline, or the audit trail cannot be closed. The message ID is carried through the LLM and upload steps in execution-scoped storage and recovered at the end, because both of those steps discard whatever they are handed.
  • Nested MIME email bodies are parsed with a recursive traversal, since a flat lookup breaks on multi-part emails with attachments or rich formatting.
  • The redaction prompt uses an explicit protected-entity whitelist, so the requesting parties' own names are never redacted alongside genuine third-party information.

Outcome

A set of individually redacted, audit-logged disclosure documents plus one compiled master document with a cover page, ready for legal disclosure. End-to-end process automation of this kind is routine in software engineering and rare in legal compliance, where manual review is still the norm.

Relevance filtering and redaction are both model judgements, and a model can be wrong in either direction, so a person reviews and signs off the output before anything is disclosed. The audit log against each document is what that review reads.

The inboxes and the Drive and Sheets audit trail run inside the practice's Google Workspace Business account, and the LLM steps use a billed Gemini API key rather than the free tier, so none of it, inbox content, redaction output or audit log, is used to train Google's models. The pipeline itself is an API connection into existing accounts rather than a third-party service holding a copy of the data.