Skip to main content
Luma Health → BigQueryIntegration guide

Connecting Luma Health to BigQuery

Luma Health automates patient outreach — waitlists, recalls, referrals — which means most of the appointments it generates come from patients you already had. 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 Luma Health 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

Luma Health in BigQuery: new patients vs recalls, in your own cloud

BigQuery is the sensible home for Luma Health data, once a Google Cloud BAA covers the project. Join appointments on your internal patient ID to first-touch click identifiers captured on web forms or online scheduling, and keep outreach source as its own column so recalls count as retention. Deduplicate on appointment ID, restrict columns, and send only aggregates onward.

BigQuery is the most sensible destination in this list for Luma Health data, because it keeps patient records inside an environment you control. Google Cloud offers a BAA that can cover BigQuery; confirm it is accepted for the project before loading appointment data. Then the warehouse can hold what ad platforms never should: appointment status, new versus returning, outreach source, and the first-touch click identifiers captured on your website.

The join key is your internal patient ID. The click identifier is stored once at first contact, from a web form or online scheduling, and joined to appointments later. Outreach source must be a column of its own: an appointment that came from a recall text is retention, however good the campaign that first brought the patient in two years ago.

From there, aggregate new-patient attended appointments by campaign and week, and send only those aggregates, or tightly de-identified conversions if counsel approves, onward. Use BigQuery's column-level access controls so the marketing team can query counts without seeing patient rows. Deduplicate on appointment ID before counting; outreach systems reschedule and resend constantly, and every reschedule can produce another record.

Luma Health → BigQuery · what breaks

Why this join usually fails — Luma Health → BigQuery

  1. 01

    Whatever join key you decide on never reaches Luma Health

    Outreach happens over SMS and email, days or months after any web session, on devices that never carried your identifier.

  2. 02

    Recall volume inflating acquisition

    Automated recall is very effective, which is exactly why letting it flow into the paid conversion count is so distorting — the better the recall program works, the better your ads appear to perform.

  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.

Luma Health → BigQuery · the fix

What working looks like — Luma Health → 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

Luma Health → BigQuery · architecture

How Luma Health and BigQuery actually connect

  1. 1

    Luma Health holds the truth

    A recall is retention automation working. Crediting it to an acquisition campaign, sometimes years after the click, makes that campaign look extraordinary and tells you nothing you can act on.

  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 Luma Health appointment.

  4. 4

    The event source decides reliability

    Send new-patient attended appointments as the acquisition event. Recalls belong in a retention figure, counted separately and without clinical 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.

Luma Health → BigQuery · normal or broken

Working vs. broken, side by side — Luma Health → BigQuery

Normal, not a fault

  • Whatever join key you decide on present on the appointment

  • Sent from your practice system

  • 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

    Outreach happens over SMS and email, days or months after any web session, on devices that never carried your identifier.

  • Sent from the browser

    Automated recall is very effective, which is exactly why letting it flow into the paid conversion count is so distorting — the better the recall program works, the better your ads appear to perform.

  • 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

Luma Health → BigQuery · diagnose

Diagnostic order — Luma Health → BigQuery

  1. 01

    Count appointments carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Split appointments into new versus returning patients

    One field. It usually halves the acquisition number and makes it real.

  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.

Luma Health → BigQuery · prove

How it gets proven — Luma Health → BigQuery

Source of truth

Attended appointments in the practice system, split into new patients and recalls.

  • 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.
  • New-patient attended appointments reconciled against imported conversions.

Luma Health → 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
  • Split appointments into new versus returning patients
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Attended appointments in the practice system, split into new patients and recalls.

Get my free conversion tracking audit

Free30 minutesNo obligation

Luma Health → BigQuery · when not to buy

When you don't need this — Luma Health → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred appointments and count how many carry whatever join key you decide on.
  • If you are not running acquisition campaigns, Luma's own reporting answers the recall question and no integration is needed.
  • 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.

Luma Health → BigQuery · what we deliver

What gets built — Luma Health → BigQuery

  • Identifier capture into Luma Health

    Capture at first contact and store against the patient, then report acquisition on new patients only.

  • Event source: your practice system

    Send new-patient attended appointments as the acquisition event. Recalls belong in a retention figure, counted separately and without clinical 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

    Cancellations and no-shows reverse.

Written guarantee

95%+ tracking accuracy

Measured against Attended appointments in the practice system, split into new patients and recalls.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Luma Health → BigQuery questions, answered

It can, if your Google Cloud BAA covers the project and access is restricted to people who need patient-level rows. Confirm the BAA before loading anything.

Free · 30 min

Get Luma Health and BigQuery joined properly

Free30 minutesNo obligation