CCode Story: Insights from Startup Tech Leaders
← All frameworks
InnovationAhikam Kaufman

Financial Data Context Graph

Link each transaction across systems before asking AI to reason

Difficulty
Expert
Time to result
~months to results
Steps
5
Confidence
97%

Build a transaction-level context layer before building individual AI workflows. First map every system that contributes evidence, such as CRM, contracts, billing, bank data, and the ERP. Ingest and link those records so the AI sees them as one connected transaction rather than unrelated fragments. Validate that the links expose the supporting context finance teams need for reconciliation and review. Only then prompt use cases and workflows on top of the shared foundation. Ahikam Kaufman argues that this reverses the common product-first sequence: investing in data quality and cross-system context makes later workflows faster to create, more flexible, and less prone to hallucination or integrity failures.

Origin

Safebooks AI spent almost two years building its financial data context graph after deciding that the quality of ingested data was foundational to finance automation.

Core principles

  • 01AI accuracy depends on complete transaction context
  • 02Data foundations should precede individual use cases
  • 03Existing systems can remain in place
  • 04Linked evidence makes workflows reusable

How to run it

  1. 1

    Map the transaction trail

    List every operational, document, payment, and accounting system that contributes evidence to the transaction.

    Pro tip Start with one transaction type, such as revenue, and trace it end to end.

    Watch out Leaving out a supporting system deprives the AI of context it may need to validate the transaction.

  2. 2

    Ingest the evidence

    Bring the relevant structured records and unstructured documents into a common data layer without requiring replacement of the source systems.

    Watch out Do not treat ingestion alone as reconciliation; records still need meaningful links.

  3. 3

    Link records by transaction

    Connect CRM, contract, billing, bank, and journal-entry evidence so each transaction can be viewed across systems.

    Pro tip Preserve source-system references so reviewers can follow the evidence trail.

  4. 4

    Validate context integrity

    Confirm that the graph presents the complete and correct context needed for finance review before relying on AI outputs.

    Pro tip Test against real customer data rather than a laboratory-only dataset.

    Watch out A polished workflow cannot compensate for incomplete or incorrectly linked data.

  5. 5

    Prompt reusable workflows

    Create use cases and workflows on the shared context foundation, adapting prompts instead of separately coding every point solution.

    Pro tip Reuse the same linked foundation for adjacent finance processes.

In the wild

Revenue transaction reconciliation

Safebooks links a revenue transaction's CRM record, contract or order form, billing events, and relevant ERP journal entries. The AI can then inspect the connected evidence as one transaction rather than infer relationships between isolated records.

→ The system has the cross-system context needed to reconcile and validate the transaction.

Common mistakes

Building the interface first

Starting with a narrowly coded product experience creates a one-trick solution and forces each later use case to be built separately.

Assuming one system has the truth

A financial transaction may span CRM, documents, billing, banks, and ERP, so reasoning from only one source can omit decisive evidence.

Is it for you?

Best for

Finance teams automating controls, reconciliations, and close work across an existing software stack.

Not ideal for

Simple use cases whose complete context already lives in one reliable system.

From the transcript

“So we spent a lot of time almost two years building the first what we call is financial data context graph.”

Ahikam Kaufman · 08:26

“And in order to do that, we use proprietary graph technology that basically links on the data across systems.”

Ahikam Kaufman · 08:50

“We spent a lot of time building that infrastructure as opposed to just build a product.”

Ahikam Kaufman · 09:51

From the episode

S12 E25: From Processing $500B at Intuit to Building the Fraud-Proof Ledger: Eradicating Financial Misstatement with Ahikam Kaufman, Co-Founder & CEO of Safebooks AI

Ahikam Kaufman

→