Skip to main content
Filevine → BigQueryIntegration guide

Connecting Filevine to BigQuery

Filevine is built for contingency-fee litigation, where the firm is paid a share of a settlement that may arrive years later or never. BigQuery has no attribution model, no deduplication rules and no opinion about your data — which makes it the only destination on this site where every number is exactly as good as the query that produced it. The join between them succeeds or fails on one thing: whether whatever join key you decide on reaches the Filevine case before the conversion happens, because BigQuery can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Filevine in BigQuery: where years-long case value gets computed

Load Filevine cases into BigQuery via API or scheduled export with signing date, status, close date, outcome and fee received, keyed on the Filevine case ID alongside the intake's stored gclid, fbclid and msclkid. Compute average fee per signed case by source and signing year, including dropped cases, and store status changes as dated snapshots. Exclude injury and provider details.

BigQuery is the most useful destination a Filevine firm has, because it is the only place where a click from one year and a fee from three years later can sit in the same row. Load cases from Filevine, through its API or a scheduled export depending on what your plan allows, with signing date, status, close date, outcome and fee received. Keep the intake's stored click IDs (gclid, fbclid, msclkid) on the same key: the Filevine case ID, set at signing and never reused.

This is where the average fee per signed case should be computed, from your own resolved history, with dropped and zero-fee cases left in. Group by intake source and signing year, and the result is the figure you are entitled to send to ad platforms as signed-case value. Recompute it on a schedule rather than freezing it, because one large settlement can move a small firm's average a long way.

Keep the warehouse table free of anything an analyst does not need: injury type and medical providers have no place in a marketing dataset, and access to the dataset should be narrower than access to Filevine itself. Load case changes as dated snapshots rather than overwriting status, since a case that went from signed to dropped is exactly the history that explains why last year's cost per case looked better than it was.

Filevine → BigQuery · what breaks

Why this join usually fails — Filevine → BigQuery

  1. 01

    Whatever join key you decide on never reaches Filevine

    Personal injury cases resolve in one to three years, far beyond any attribution window that exists.

  2. 02

    Case value that will not be known for years

    Assigning an average fee to a signed case is defensible only if the average comes from your own resolved history and is stated as an average. Anything else is a number invented to make a dashboard work.

  3. 03

    The warehouse quietly disagreeing with every platform

    This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.

  4. 04

    Nothing reconciles afterwards

    BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.

Filevine → BigQuery · the fix

What working looks like — Filevine → BigQuery

  • Whatever join key you decide on on every case

  • Conversions arriving in BigQuery

    The row lands in a table you own, joinable to every other table you own, with no window and no expiry.

  • Reconciled against the source

Filevine → BigQuery · architecture

How Filevine and BigQuery actually connect

  1. 1

    Filevine holds the truth

    Contingency work means no fee until resolution. A signed case is an asset with a probability attached, and the honest reporting says so rather than assigning it a value.

  2. 2

    BigQuery needs a click to match

    BigQuery needs a schema and consistent types. The failure mode is not rejection, it is silent divergence: a column that arrives as a string in one load and an integer in the next, or a timestamp in the wrong zone, which produces answers that look plausible and are not.

  3. 3

    The identifier is the bridge

    Whatever join key you decide on, captured at the visit and carried into the Filevine case.

  4. 4

    The event source decides reliability

    Send signed cases as the acquisition event at a historical average fee, and settled fees separately as they land. No injury or medical detail.

  5. 5

    Deduplication at the destination

    Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.

Filevine → BigQuery · normal or broken

Working vs. broken, side by side — Filevine → BigQuery

Normal, not a fault

  • Whatever join key you decide on present on the case

  • Sent from the Filevine case record

  • Deduplicated correctly

    Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.

  • Reconciles with the source

Actually broken

  • Whatever join key you decide on missing on most records

    Personal injury cases resolve in one to three years, far beyond any attribution window that exists.

  • Sent from the browser

    Assigning an average fee to a signed case is defensible only if the average comes from your own resolved history and is stated as an average. Anything else is a number invented to make a dashboard work.

  • Counted twice, or not at all

    This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.

  • Nobody has reconciled it

Filevine → BigQuery · diagnose

Diagnostic order — Filevine → BigQuery

  1. 01

    Count cases carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Calculate average realised fee per signed case from your own history

    Include the cases that produced nothing. Excluding them is the most common way this figure gets inflated.

  4. 04

    Reconcile warehouse order counts against each platform for one closed window

    The gaps localize the problem: a gap against all platforms is a collection issue, a gap against one is that platform's window or matching.

  5. 05

    Read the match rate, not the success message

    BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.

Filevine → BigQuery · prove

How it gets proven — Filevine → BigQuery

Source of truth

Filevine cases signed, with fee income recorded at settlement.

  • Whatever join key you decide on confirmed present on a live case.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Signed cases reconciled against imported conversions, with settled fees reported separately as they resolve.

Filevine → BigQuery · free audit

What we check in the free audit

  • Count cases carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Calculate average realised fee per signed case from your own history
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Filevine cases signed, with fee income recorded at settlement.

Get my free conversion tracking audit

Free30 minutesNo obligation

Filevine → BigQuery · when not to buy

When you don't need this — Filevine → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred cases and count how many carry whatever join key you decide on.
  • If your firm has no resolved case history yet, report signed case counts only. Understating honestly beats a confident invention.
  • If you have one store and one ad platform, a warehouse is infrastructure you will maintain for a reconciliation you could do in a spreadsheet.

Filevine → BigQuery · what we deliver

What gets built — Filevine → BigQuery

  • Identifier capture into Filevine

    Store the identifier on the case at signing and upload the fee whenever settlement happens, however long that takes.

  • Event source: the Filevine case record

    Send signed cases as the acquisition event at a historical average fee, and settled fees separately as they land. No injury or medical detail.

  • Dispatch to BigQuery

    Streaming inserts or scheduled batch loads from your order system, with the raw event retained alongside whatever you derive from it.

  • Reversals where they exist

    Dropped and lost cases reverse.

Written guarantee

95%+ tracking accuracy

Measured against Filevine cases signed, with fee income recorded at settlement.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Filevine → BigQuery questions, answered

Join ad spend to signed cases through the click IDs stored at intake, keyed on the Filevine case ID, in BigQuery. Count dropped cases too, or the figure is flattered.

Free · 30 min

Get Filevine and BigQuery joined properly

Free30 minutesNo obligation