Trust the Numbers / Shared Business Records
See Which Requests Are Holding Up Deals
I connected the records and agreed on counting rules so both teams could answer from the same facts.
- Problem
- Sales tracked deals in one place. Product tracked customer requests somewhere else.
- Solution
- I connected the records and agreed on counting rules so both teams could answer from the same facts.
- Evidence · Sample Data
- The example pairs each open request with the deal it blocks and the amount at stake.
Ask the Agent
gold.requests_vs_dealsgold.metric_definitionsThree open requests stand between the team and $187k of pipeline. The LIMS export is the largest; product has it scheduled for the next release.
| Request | Account | Deal Stage | Deal Size |
|---|---|---|---|
| PLAT-212 · Export results to the LIMS | Talvisk Bio | Evaluation | $85k |
| PLAT-198 · 21 CFR Part 11 audit trail | Orrenby Labs | Proposal | $62k |
| ENG-77 · Single sign-on | Glissom Research | Pilot | $40k |
Definition, from Confluence A request blocks a deal when it is linked to the deal's account, is still open, and the rep has marked it as needed to close.
SELECT issue_key, issue_title, account_name, deal_stage, deal_amount FROM gold.requests_vs_deals WHERE deal_status = 'open' AND issue_status != 'done' AND needed_to_close = TRUE ORDER BY deal_amount DESC LIMIT 5
How It's Built
Sources
Read-only connectors.
Bronze
Raw copies, exactly as each system sent them. Append-only, so history is never lost.
11 tables
bronze.Companies as the CRM has themcrm_ accounts bronze.Contacts and job titlescrm_ contacts bronze.Deals, stages and amountscrm_ deals bronze.Billing customerserp_ customers bronze.Orders and invoiceserp_ sales_ orders bronze.Email, ads, events, formsmarketing_ touches bronze.Issues and customer requestsjira_ issues bronze.Issues and customer requestslinear_ issues bronze.Specs, decisions, metric definitionsconfluence_ pages bronze.Releases and what shippedgithub_ releases bronze.Merged work, linked to issuesgithub_ pull_ requests
Silver
Cleaned and joined: duplicates removed, one ID per company, personal data masked.
8 tables
silver.One ID per company across CRM and ERPaccounts silver.Contacts with personal data maskedpeople silver.Deals on the shared account IDdeals silver.Orders on the shared account IDorders silver.Marketing touches by account and datetouches silver.Jira and Linear issues in one shapeissues silver.Releases with the issues they closedreleases silver.Pages tagged by topic and ownerdocs
Gold
Business-ready tables with a written definition for every metric. Agents read only these.
5 tables
gold.Originated, influenced or not traceable, per dealpipeline_ attribution gold.Orders against plan by territory and monthrevenue_ vs_ plan gold.Customer requests linked to open dealsrequests_ vs_ deals gold.What each release was followed by in pipelinereleases_ vs_ pipeline gold.The written rule behind every gold metricmetric_ definitions
Agents
Read the gold layer only, through MCP.
- Claude
- ChatGPT
- Gemini
BigQuery: one dataset per layer (bronze, silver, gold).
Guardrails
- Read-only connectors. Nothing writes back to the CRM, ERP or code repositories.
- Personal data masked at silver. Gold tables and agents never see names or emails they don't need.
- One definition per metric. Written once in Confluence, versioned with the gold table that uses it.
- Agents read gold only. Every answer shows the tables and the query behind it.
How I Built It
The Problem
Every team kept its own version of the truth. Leadership argued from split scoreboards, and an AI agent pointed at one system saw only a slice.
What I Built
- A BigQuery or Databricks warehouse in three layers: raw copies (bronze), cleaned and joined data (silver), and business-ready tables with a written rule per metric (gold).
- Read-only connectors from every system that holds part of the story.
- Agents on Claude, ChatGPT or Gemini that read only the gold layer, so they quote the numbers leadership uses.
- BigQuery
- Databricks
- Salesforce
- HubSpot
- NetSuite
- Jira
- Linear
- Confluence
- GitHub
- Claude
- ChatGPT
- Gemini


