Connecting Nutshell to BigQuery
Nutshell is a small-business CRM with marketing features attached, which means the same platform sends the emails and records the deals. 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 Nutshell lead 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
Nutshell to BigQuery: won leads joined to the ad click
In BigQuery, store Nutshell leads as an opportunities table keyed on lead ID, with status, value, dates, source fields and status-change history. Load gclid, fbc, UTM and consent values from guarded contact fields, keeping the first value per contact, so won leads produce the rows Google Ads or Meta offline conversion uploads expect.
In BigQuery you can settle the Nutshell vocabulary problem once: name the table opportunities even though Nutshell calls them leads, key it on the Nutshell lead ID, and keep contact and account tables beside it. Store status, value, created date, close date and source fields, and keep a history of status changes so a lead that was won, reopened and then lost shows that path rather than silently changing.
The advertising join comes from the contact. Write gclid, fbc, utm values and consent state to guarded custom fields when the contact is created, and load them into the warehouse as columns. Check whether you will extract through Nutshell's API, a connector service or exports; the API is the most complete but needs someone to own the job. With a click identifier on the contact and a won date on the lead, you can produce the exact rows a Google Ads or Meta offline conversion upload expects.
The common break shows up here first: if the guard on the custom field ever fails, the warehouse loads whatever a later email campaign wrote there and credits your newsletter. Load the first value seen per contact, or keep a field history, and spot-check a few contacts you know came from paid search after the first load.
Nutshell → BigQuery · what breaks
Why this join usually fails — Nutshell → BigQuery
- 01
Whatever join key you decide on never reaches Nutshell
Nutshell's own email marketing touches contacts repeatedly, and an unguarded custom field will be overwritten by later activity — handing credit for paid-acquired customers to your own email.
- 02
Vocabulary that inverts the usual meaning
In Nutshell a lead is what other CRMs call an opportunity. Teams routinely build conversions on the wrong object because they assumed the standard meaning.
- 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.
- 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.
Nutshell → BigQuery · the fix
What working looks like — Nutshell → BigQuery
Whatever join key you decide on on every lead
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
Nutshell → BigQuery · architecture
How Nutshell and BigQuery actually connect
- 1
Nutshell holds the truth
Nutshell calls its opportunity object a lead, which confuses every conversation about lead-versus-deal. Establish the vocabulary before agreeing what a conversion is.
- 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
The identifier is the bridge
Whatever join key you decide on, captured at the visit and carried into the Nutshell lead.
- 4
The event source decides reliability
Fire on won, with the value. Email engagement is reporting, never a conversion.
- 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.
Nutshell → BigQuery · normal or broken
Working vs. broken, side by side — Nutshell → BigQuery
Normal, not a fault
Whatever join key you decide on present on the lead
Sent from a Nutshell webhook on lead status 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
Actually broken
Whatever join key you decide on missing on most records
Nutshell's own email marketing touches contacts repeatedly, and an unguarded custom field will be overwritten by later activity — handing credit for paid-acquired customers to your own email.
Sent from the browser
In Nutshell a lead is what other CRMs call an opportunity. Teams routinely build conversions on the wrong object because they assumed the standard meaning.
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
Nutshell → BigQuery · diagnose
Diagnostic order — Nutshell → BigQuery
- 01
Count leads carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Confirm which Nutshell object your team means by lead
Getting this wrong produces a conversion feed built on the wrong record entirely.
- 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.
- 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.
Nutshell → BigQuery · prove
How it gets proven — Nutshell → BigQuery
Source of truth
Nutshell leads marked won by close date, at their values.
- Whatever join key you decide on confirmed present on a live lead.
- Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
- The object model confirmed in writing, with the identifier surviving a later marketing email touch.
Nutshell → BigQuery · free audit
What we check in the free audit
- Count leads carrying whatever join key you decide on
- Follow one real conversion end to end
- Confirm which Nutshell object your team means by lead
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Nutshell leads marked won by close date, at their values.
Free30 minutesNo obligation
Nutshell → BigQuery · when not to buy
When you don't need this — Nutshell → BigQuery
- Measure identifier coverage yourself first — pull your last hundred leads and count how many carry whatever join key you decide on.
- If money is taken in a separate system, that system is authoritative and Nutshell holds the pipeline only.
- 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.
Nutshell → BigQuery · what we deliver
What gets built — Nutshell → BigQuery
Identifier capture into Nutshell
Write the identifier to a custom field at contact creation with a guard against later overwriting.
Event source: a Nutshell webhook on lead status change
Fire on won, with the value. Email engagement is reporting, never a conversion.
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
Leads reopened and lost should not stand.
Written guarantee
95%+ tracking accuracy
Measured against Nutshell leads marked won by close date, at their values.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Nutshell → BigQuery questions, answered
Through Nutshell's API, a connector service or scheduled exports, keyed on the Nutshell lead ID, with contacts and accounts in their own tables.
The guarded custom fields on the contact holding gclid, fbc and utm values, joined to the won lead through the contact.
Almost always because whatever join key you decide on never reached the Nutshell lead. Nutshell's own email marketing touches contacts repeatedly, and an unguarded custom field will be overwritten by later activity — handing credit for paid-acquired customers to your own email. Measure coverage before debugging the dispatch.
There is no vendor identifier here. You choose the key — order ID, user ID, click identifier, hashed email — and you live with the consequences. That is the whole appeal and the whole risk: nothing is standardised for you and nothing is silently wrong in a vendor's favour either.
A Nutshell webhook on lead status change. Fire on won, with the value. Email engagement is reporting, never a conversion.
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.
More on Nutshell → BigQuery
- Nutshell → Google AdsConnecting Nutshell to Google Ads
- Nutshell → MetaConnecting Nutshell to Meta Conversions API
- Nutshell → GA4Connecting Nutshell to GA4
RELATED GUIDES
Where Nutshell → BigQuery fits in the rest of your tracking
- Capsule → BigQueryConnecting Capsule CRM to BigQuery
- Close → BigQueryConnecting Close to BigQuery
- Zendesk Sell → BigQueryConnecting Zendesk Sell to BigQuery
- Nutshell → SnowflakeConnecting Nutshell to Snowflake
- Nutshell → SegmentConnecting Nutshell to Segment
- Law firmsConversion tracking for law firms, without sending case details anywhere
- Insightly → BigQueryConnecting Insightly to BigQuery
- Keap → BigQueryConnecting Keap to BigQuery
Free · 30 min
Get Nutshell and BigQuery joined properly
Free30 minutesNo obligation
