Connecting NexHealth to BigQuery
NexHealth sits between a practice website and the practice management system, syncing appointments both ways for healthcare providers. 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 NexHealth appointment 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
NexHealth to BigQuery: new-patient attribution under a BAA
Confirm the Google Cloud business associate agreement, then load ad clicks and NexHealth appointments into separate BigQuery tables. Key clicks on an opaque booking token passed through the widget, and appointments on appointment ID with status, new-patient flag and UTC timestamp. Append each webhook, take the latest per ID, and send onward only click ID, neutral name, time and value.
BigQuery is the most defensible place for a practice to join ad clicks to patient outcomes, because Google Cloud offers a business associate agreement that covers BigQuery and the data stays in a project you control. Confirm the BAA has been accepted on your Google Cloud account before loading anything. Then it can answer what NexHealth alone cannot: did the patients a campaign booked actually attend, and come back?
Store ad data and appointment data in separate tables. Keep clicks keyed on an opaque booking token: the gclid or other click ID captured on your site, passed into the NexHealth widget as an opaque value, and returned on the appointment. Store appointments keyed on NexHealth appointment ID with status, a new-versus-existing patient flag and the booking timestamp in UTC. Leave appointment reason and procedure out unless there is a real analytical need, and restrict access to that table if you include them.
NexHealth appointments change status after creation, so load each webhook as a new row with a received-at timestamp and take the latest per appointment ID rather than overwriting. Write the dedup yourself. Whatever table you later send onward to ad platforms must contain only the click ID, a conversion name with no medical meaning, a timestamp and a value, and never a column joined in from the appointment table.
NexHealth → BigQuery · what breaks
Why this join usually fails — NexHealth → BigQuery
- 01
Whatever join key you decide on never reaches NexHealth
The booking widget is embedded on your site, which is better than most healthcare booking flows, but the identifier still has to be carried into the appointment. Health information must never travel with it.
- 02
Appointment reason travelling with the identifier
A booking widget that captures reason-for-visit and passes it onward sends health information to an ad platform. The identifier must stay opaque and unaccompanied.
- 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.
NexHealth → BigQuery · the fix
What working looks like — NexHealth → BigQuery
Whatever join key you decide on on every appointment
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
NexHealth → BigQuery · architecture
How NexHealth and BigQuery actually connect
- 1
NexHealth holds the truth
NexHealth's value is real-time availability from systems that were never designed to expose it. The appointment ultimately lives in the practice system.
- 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 NexHealth appointment.
- 4
The event source decides reliability
Send attended appointments for new patients, valued at expected patient lifetime rather than a single visit.
- 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.
NexHealth → BigQuery · normal or broken
Working vs. broken, side by side — NexHealth → BigQuery
Normal, not a fault
Whatever join key you decide on present on the appointment
Sent from the NexHealth appointment webhook
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
The booking widget is embedded on your site, which is better than most healthcare booking flows, but the identifier still has to be carried into the appointment. Health information must never travel with it.
Sent from the browser
A booking widget that captures reason-for-visit and passes it onward sends health information to an ad platform. The identifier must stay opaque and unaccompanied.
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
NexHealth → BigQuery · diagnose
Diagnostic order — NexHealth → BigQuery
- 01
Count appointments carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Audit exactly what the widget passes onward
Confirm no appointment reason, procedure or clinical field leaves your systems.
- 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.
NexHealth → BigQuery · prove
How it gets proven — NexHealth → BigQuery
Source of truth
The practice management system NexHealth syncs to — it is the sync layer, not the record of truth.
- Whatever join key you decide on confirmed present on a live appointment.
- Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
- A written statement of what is sent, confirming no clinical field is included.
NexHealth → BigQuery · free audit
What we check in the free audit
- Count appointments carrying whatever join key you decide on
- Follow one real conversion end to end
- Audit exactly what the widget passes onward
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
The practice management system NexHealth syncs to — it is the sync layer, not the record of truth.
Free30 minutesNo obligation
NexHealth → BigQuery · when not to buy
When you don't need this — NexHealth → BigQuery
- Measure identifier coverage yourself first — pull your last hundred appointments and count how many carry whatever join key you decide on.
- If your practice system already exposes appointments directly, NexHealth may be a layer you do not need in the measurement path.
- 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.
NexHealth → BigQuery · what we deliver
What gets built — NexHealth → BigQuery
Identifier capture into NexHealth
Pass the identifier into the widget's supported fields as an opaque value, keeping it entirely separate from any clinical or appointment-reason data.
Event source: the NexHealth appointment webhook
Send attended appointments for new patients, valued at expected patient lifetime rather than a single visit.
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
Cancellations and no-shows reduce the figure, and new-patient no-show rates are meaningful.
Written guarantee
95%+ tracking accuracy
Measured against The practice management system NexHealth syncs to — it is the sync layer, not the record of truth.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
NexHealth → BigQuery questions, answered
BigQuery is covered under Google Cloud's business associate agreement, but the BAA must be in place on your account and access controls configured. Compliance depends on your setup, not the product alone.
Store the click identifier with the booking, load NexHealth appointment status updates into BigQuery, and compare attended and no-show counts by campaign.
Almost always because whatever join key you decide on never reached the NexHealth appointment. The booking widget is embedded on your site, which is better than most healthcare booking flows, but the identifier still has to be carried into the appointment. Health information must never travel with it. 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.
The NexHealth appointment webhook. Send attended appointments for new patients, valued at expected patient lifetime rather than a single visit.
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 NexHealth → BigQuery
- NexHealth → Google AdsConnecting NexHealth to Google Ads
- NexHealth → MetaConnecting NexHealth to Meta Conversions API
- NexHealth → GA4Connecting NexHealth to GA4
Using NexHealth for bookings? How NexHealth bookings get tracked end to end
RELATED GUIDES
Where NexHealth → BigQuery fits in the rest of your tracking
- Doctolib → BigQueryConnecting Doctolib to BigQuery
- Weave → BigQueryConnecting Weave to BigQuery
- Luma Health → BigQueryConnecting Luma Health to BigQuery
- NexHealth → SnowflakeConnecting NexHealth to Snowflake
- NexHealth → SegmentConnecting NexHealth to Segment
- OrthodonticsConversion tracking for orthodontics, measured in started treatment
- Dentrix Ascend → BigQueryConnecting Dentrix Ascend to BigQuery
- Zocdoc → BigQueryConnecting Zocdoc to BigQuery
Free · 30 min
Get NexHealth and BigQuery joined properly
Free30 minutesNo obligation
