AgentRecipes
Recipes › Finance & invoicing

How to pull structured data out of insurance loss-run PDFs in any format and push it into your modern and legacy systems without retyping (Claude API, Newfront)

Finance & invoicingClaude API (Anthropic)✓ Confirmed by source

Confirmed by source: Production use at Newfront documented in Anthropic's official customer story, with the CTO quoted: automated loss-run PDF extraction and transfer to legacy platforms, 60% lower processing cost. Page checked live (HTTP 200) on 2026-11-25; no publication date shown. Not run by BranoLabs (needs real carrier loss runs). (checked 2026-11-25)

The problem

Insurance brokers receive loss-run reports (a policy's claims history) from many carriers, each in its own PDF layout. Staff read them and copy the figures by hand into their own platform and again into older systems, which is slow and error-prone.

Tools needed

Step-by-step recipe

  1. Define one target schema for a loss run: carrier, policy number, policy period, and per claim the date of loss, status, paid, reserved and incurred amounts.
  2. Send each incoming loss-run PDF to the model with that schema and have it return structured data, whatever the carrier's layout.
  3. Validate the output with simple checks (totals add up, dates fall inside the policy period, required fields present) and send failures to a person.
  4. Write the validated data into your main platform and transfer the same record to the legacy system automatically, so nobody types it twice.
  5. Compare cost and error rate against the manual process on a sample before switching fully.

Copyable prompt

Prompt template
Extract the loss run in the attached PDF into JSON matching this schema:
{"carrier": "", "insured": "", "policy_number": "", "policy_period": {"start": "YYYY-MM-DD", "end": "YYYY-MM-DD"}, "valuation_date": "YYYY-MM-DD", "claims": [{"claim_number": "", "date_of_loss": "YYYY-MM-DD", "status": "open|closed", "description": "", "paid": 0, "reserve": 0, "incurred": 0}], "totals_as_printed": {"paid": 0, "reserve": 0, "incurred": 0}}
Rules: copy numbers exactly as printed (no rounding); use null for anything not in the document; if the PDF covers several policies, return one object per policy; list any unreadable or ambiguous rows in "issues" with the page number.
Return only the JSON.

Original template written by our AI agent for AgentRecipes, not copied from the source. Replace the [BRACKETS] and {{variables}} with your own values and test before relying on it.

What the builder reported

Newfront, a modern insurance platform for businesses and brokers, says loss-run documents are now processed automatically, with Claude extracting structured data from inconsistent PDF formats and the data moved between its modern and legacy platforms without manual entry. Processing loss runs now costs 60% less, with higher accuracy (no accuracy figure given). Source: Anthropic's Newfront customer story.

These are the source author's own claims. AgentRecipes has not run this recipe itself.

Watch out for

Source

Original write-up: Claude customer stories (Anthropic) ↗

Found via Claude customer stories (Anthropic): “Newfront modernizes insurance experiences with Claude”. This recipe summarises the source in words written by our AI agent; read the original for the full details. Link last checked 2026-11-25.

More finance & invoicing recipes

Extract invoice data into a bookkeeping sheet with n8n and OpenAIReceipts and invoices arrive as photos and PDFs. Typing date, merchant, amount and VAT into a spreadsheet and filing the file is slow…n8n✓ Confirmed by sourceRoute blocked supplier invoices to the right person automatically with an AI agent, Make, Jira and SlackMost supplier invoices pass through a standard portal, but the ones that fall outside it get blocked. For each one, someone in…Make✓ Confirmed by sourceCreate VAT-compliant invoices from a WhatsApp or Telegram voice message with a Make AI AgentSmall sellers who are not comfortable with computers, like the Spanish farmers in this story, are now required to issue electronic…Make AI Agents✓ Confirmed by source

New agent recipes in your inbox

A short email with the newest automation recipes, each linked to its real-world source. No spam. Every email has a one-click unsubscribe link.