Skip to main content
Capsule → BigQueryIntegration guide

Connecting Capsule CRM to BigQuery

Capsule is a deliberately simple CRM for small businesses, which means fewer places for the identifier to hide and fewer features to work with. 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 Capsule opportunity 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

Capsule parties and opportunities in BigQuery, with click IDs

Load Capsule parties with click-ID custom fields, opportunities with value, currency, milestone and close date, and a row per milestone change captured from webhooks, joined opportunity to party. Store currency beside value and keep latest state per opportunity ID for reopens. Won deals with stored gclid or fbc can feed ad platforms.

In BigQuery, the Capsule join runs opportunity ID to party ID to whatever click-identifier custom fields you added to the party. Load three things: parties with their custom fields, opportunities with value, currency, milestone and close date, and a row per milestone change captured from the webhook as it happens. Check what history the Capsule API returns for milestones, because if it only gives the current state, your webhook log is the only record of when a deal moved, and you cannot rebuild it later.

Stamp the creation route on the party at the point your web form writes it through the API, for example a custom field set only by the form handler. Capsule itself will not tell you which parties were typed in by hand, and you need that column to report identifier coverage month by month instead of guessing it once. Store currency next to value; a small business invoicing in two currencies will otherwise sum dollars and pounds.

Reopened opportunities create two won rows for one deal. Keep the latest state per opportunity ID in a view, and keep the raw webhook rows so you can see the reopen happened. The point of the table is the next step: won opportunities with a stored gclid or fbc can be sent to an ad platform from here, on a schedule, without touching Capsule again.

Capsule → BigQuery · what breaks

Why this join usually fails — Capsule → BigQuery

  1. 01

    Whatever join key you decide on never reaches Capsule

    Custom fields exist on parties and opportunities but must be populated deliberately, and Capsule's web-form capture is basic enough that many small businesses enter records by hand.

  2. 02

    Manual record entry

    At Capsule's typical business size, records are frequently created by a person retyping details from an email. Nothing typed by hand carries a click identifier.

  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.

Capsule → BigQuery · the fix

What working looks like — Capsule → BigQuery

  • Whatever join key you decide on on every opportunity

  • 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

    Capsule CRM's own records are the reference, not either dashboard.

Capsule → BigQuery · architecture

How Capsule and BigQuery actually connect

  1. 1

    Capsule CRM holds the truth

    Capsule's simplicity is an advantage here — one party record, one opportunity, and a clear won state. There is less to get wrong than in an enterprise CRM.

  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 Capsule opportunity.

  4. 4

    The event source decides reliability

    Fire on the won milestone with the opportunity value.

  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.

Capsule → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the opportunity

    Visible on the record itself in Capsule CRM, not merely captured somewhere on the site.

  • Sent from a Capsule webhook on opportunity milestone change

  • 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

    BigQuery's count and Capsule CRM's records agree within a few percent over a closed window.

Actually broken

  • Whatever join key you decide on missing on most records

    Custom fields exist on parties and opportunities but must be populated deliberately, and Capsule's web-form capture is basic enough that many small businesses enter records by hand.

  • Sent from the browser

    At Capsule's typical business size, records are frequently created by a person retyping details from an email. Nothing typed by hand carries a click identifier.

  • 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

    The dashboard shows a number and no one has compared it to Capsule CRM.

Capsule → BigQuery · diagnose

Diagnostic order — Capsule → BigQuery

  1. 01

    Count opportunitys carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Check what share of parties were created via the API rather than manually

    Manual creation is the coverage ceiling and it is an operational fix, not a technical one.

  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.

Capsule → BigQuery · prove

How it gets proven — Capsule → BigQuery

Against Capsule CRM's own records, not against either platform's dashboard.

Source of truth

Capsule opportunities marked won by close date, at their values.

  • Whatever join key you decide on confirmed present on a live opportunity.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • A web-form-originated party confirmed to carry the identifier onto its opportunity.

Capsule → BigQuery · free audit

What we check in the free audit

  • Count opportunitys carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Check what share of parties were created via the API rather than manually
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Capsule opportunities marked won by close date, at their values.

Get my free conversion tracking audit

Free30 minutesNo obligation

Capsule → BigQuery · when not to buy

When you don't need this — Capsule → BigQuery

  • If BigQuery already reports conversions that reconcile against Capsule CRM's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred opportunitys and count how many carry whatever join key you decide on.
  • This is a small build. If you have a developer, the API work is an afternoon and we would say so.
  • 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.

Capsule → BigQuery · what we deliver

What gets built — Capsule → BigQuery

  • Identifier capture into Capsule

    Add a custom field to the party, populate it from the web form via the API, and carry it onto the opportunity when created.

  • Event source: a Capsule webhook on opportunity milestone change

    Fire on the won milestone with the opportunity value.

  • 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

    Opportunities reopened should not double-count when they win again.

Written guarantee

95%+ tracking accuracy

Measured against Capsule opportunities marked won by close date, at their values.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Capsule → BigQuery questions, answered

Check whether your ELT tool lists Capsule. If not, a scheduled job against the Capsule REST API plus a webhook endpoint for milestone changes is a small build.

Free · 30 min

Get Capsule and BigQuery joined properly

Free30 minutesNo obligation