← All workflows

Tracking bills

Bill tracks legislative proposals in the Dutch parliament and the EU. You look up a proposal and see where it stands. When the status changes, new documents are published or a new version of the text is submitted, you get an email.

bill.mino.law
What goes in
The public sources of the Dutch parliament and the EU: the procedures and the documents that belong to them.
What comes out
One page per proposal with the phase, an overview in plain language, the articles it affects and the sources. And an email at every change.
What this adds to ChatGPT or Copilot
Bill keeps following a proposal and emails you when something changes. Each state is compared with the previous one, so you see the difference between two versions of the text.
Built as
Web application with a background process that keeps following the proposals

Engineering

The technology

A Next.js front end with one Node process behind it that runs both the API and the workers. A daily run looks up the active procedures. A queue checks every tracked proposal about every six hours and compares its state with the previous one. The language model returns its result in a strict schema: the overview, the difference between two versions and the affected articles, resolved to the BWB identifier of the law.

  • 01 TypeScript
  • 02 Next.js
  • 03 Hono
  • 04 BullMQ + Redis
  • 05 Postgres
  • 06 OpenAI Responses API
  • 07 structured outputs
  • 08 Resend
  • 09 pdf-parse

Does your team have a task like this?

Get in touch