← All workflows

Bill, built in house

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 tabled, you get an email.

bill.mino.law
A bill on a line with four phases, now in the House, and below it an email about a new version of the text
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.
Built as
Web application with a background process that keeps following the proposals

Engineering

Under the hood

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