An invoice arrives as a paragraph. Your automation needs an invoice number, a vendor, an amount, and a due date.

I built Clairic Studio to work through that gap visually. Paste the text, describe the fields you want, and inspect the typed results. Under the hood, it calls Cloudflare’s Clairic extraction model.

Then comes the part I wanted most: Export code. The extraction you just designed becomes a program you can take into your own workflow—in PowerShell, Python, TypeScript, Go, or Rust.

In the walkthrough, we’ll use an invoice with a calculated total, a due date hidden in the payment terms, and a purchase order that isn’t there. Getting those answers is the first step. Taking the extraction out of the workbench is where it gets useful.