Checking thousands of client households for a signed agreement, on a hard deadline

Client
A financial services firm
What I did
Built a pipeline to search for, read and verify the agreements, then worked the open list with the firm's staff
Result
First verified delivery on day 17

The situation

A financial services firm had thousands of client households in scope, and it needed a plain answer for each one: is there a signed client agreement on file? It needed that answer by a hard deadline. The firm's CEO brought me the problem, and I worked through it with the CEO, the COO and the chief compliance officer.

The agreements were spread across shared drives and archives. Some were scans. Some were filed under another family member's name. Some households were trusts or companies, with no person's name to search for.

What I did

I started by deciding what an answer had to look like: one fixed record per document. The record says what kind of document it is, whether it was signed, and enough to match it to the right household. Then I built the pipeline around that record.

Search. Candidates came from several directions:

  • folder names
  • full-text search on the many ways a client's name gets written, including trust and entity names
  • other identifiers already on file

Reading. Each candidate was read as text first, then through OCR if it was a scan, then as page images if neither worked.

Testing the first pass. In the first pass, an AI model read each candidate document and filled in the record. On day 4, before scaling up, I tested it on 50 agreements already known to be good. It identified 49 as agreements, but only 45 as both agreements and signed. In that test, signatures were the weak spot.

Verification. Before the first delivery, a second model began reading the candidate pages as images. For a file to pass, the read had to confirm three things:

  • this is a client agreement
  • the client signed it
  • it belongs to this household

A typed name didn't count as a signature. Neither did a signature from the firm's side alone.

Rule-based checks on top:

  • When two households shared a surname, a first-name match was required.
  • Nicknames and maiden names were allowed.
  • Duplicates were removed by content.

Those checks lowered my own early count before delivery. I delivered the lower number, because it was the one I could defend. The first verified delivery went out on day 17.

Follow-up. Over the following weeks, I worked the remaining list with the firm's operations staff.

  • They uploaded documents they found, and marked up a shared tracker with notes and cell colors. The pipeline read the uploads, and turned the notes and colors into proposed changes.
  • In the note rounds, 41 proposed changes went through a separate check before anything was applied. 37 were confirmed, and the other four went back to the team instead.
  • Where the team directed it, a clear filename match was accepted.
  • All of this follow-up wrote to a separate output, so the first delivery was never touched.
  • The final package wouldn't build unless every folder and file count matched the source.

How AI helped

I built the pipeline with an AI coding assistant: about 100 Python scripts to search for, read, check, match and package the documents.

The first pass:

  • An AI model read each candidate document and filled in the fixed record.
  • The few replies that couldn't be read were logged as errors.
  • To keep costs down, most of that volume ran through a discounted batch interface.
  • Each document was tried as text before OCR, and through OCR before page images.

The second read: a second model read about 19,400 candidate files as page images, about 22,000 reads in all. Each read checked the same three things: is it a client agreement, did the client sign it, and does it belong to this household. A file passed only if all three held.

Rule-based checks sat on top of both reads. The models did the reading, and I set the matching rules. Anything the models and the rules couldn't settle came to me or to the firm's staff as a decision.

Results

  • The first verified, household-by-household delivery went out on day 17.
  • About 56,000 documents were read and structured in the first pass.
  • Separately, a second model read about 19,400 candidate files as page images, about 22,000 reads in all. It passed a file only if all three checks held.
  • An image recheck of 427 agreements my own text pass had marked unsigned found 148 that were signed. A text-only pipeline would have under-counted.
  • The stricter checks lowered my early count before delivery. I delivered the number I could defend.
  • Working with the operations staff, I brought the open list down until every household still open had a known, in-process status. Most already had a signature request out or someone at the firm following up. None were left as unknown.
  • About ten weeks from start to finish.

What the team kept

  • A household-by-household tracker showing which households were signed and which still needed an agreement.
  • The agreements, filed in one folder per household:
    • plain-English notes where the signer differs from the household name (a trustee, a company officer, a joint owner)
    • link notes where one agreement covers a related household
  • A folder of unsigned agreements, set up so the firm could collect signatures.
  • Decision lists, and a finish plan that sorted every open item by who had to act.

Working on something like this?

Book a 30-minute call. Tell me what you're working on, and I'll tell you honestly whether I'm the right person for it.

Questions first? Call or text (501) 251-9314, or email blake@blackowlstrategies.com.

Book a 30-minute call