Skip to main content
Doctolib → SnowflakeIntegration guide

Connecting Doctolib to Snowflake

Doctolib is a patient-facing marketplace as much as a booking system, so a large share of the appointments it produces were found by Doctolib rather than by you. Snowflake's distinguishing feature is that two organisations can join data without either copying it to the other, which turns measurement between partners from a legal negotiation into a query. The join between them succeeds or fails on one thing: whether whatever join key both parties agree on, usually a hashed identifier reaches the Doctolib appointment before the conversion happens, because Snowflake can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Doctolib bookings in Snowflake: the honest place to join them

Load Doctolib or practice-software appointments into Snowflake with date, site, status and origin, never specialty or reason. With no shared identifier, compare web booking-click logs and appointments in aggregate by site and day rather than guessing joins. Restrict any patient-level rows with roles and masking, and never share patient tables with advertising partners.

Snowflake is where the split that matters for a Doctolib practice can actually be built: attended appointments by booking origin, own-site versus directory, next to campaign spend. Check what export your Doctolib setup or practice software offers; the warehouse needs appointment date, site, status and origin, and nothing about specialty or reason for visit.

There is no shared identifier between a web visit and a Doctolib appointment, so do not pretend to have one. Load your web booking-click logs with campaign and timestamp, load appointments with creation time and origin, and compare them in aggregate by site and day. A time-window join that guesses which click became which booking produces confident per-patient attribution built on coincidence.

If patient-level rows have to exist in Snowflake at all, restrict access with roles and masking policies and keep them in a separate schema from marketing tables. Do not put patient tables into a data share or clean room with an advertising partner; hashing does not make a patient list non-personal. A month of reconciled counts, directory bookings reported in their own column, answers more than any attribution model could.

Doctolib → Snowflake · what breaks

Why this join usually fails — Doctolib → Snowflake

  1. 01

    Whatever join key both parties agree on, usually a hashed identifier never reaches Doctolib

    Booking happens on Doctolib's domain, and directory bookings never touch any property of yours at all.

  2. 02

    Marketplace demand read as campaign performance

    Doctolib's directory fills calendars independently of anything you spend. Pool the two and your advertising takes credit for the platform's own reach.

  3. 03

    A clean room that answers a question nobody agreed on

    The technology makes the join possible; it does not make the definitions match. Two organisations measuring the same campaign will disagree about what a conversion is, which window applies and whose attribution model governs — and the query will return a confident number for whichever set of assumptions got written into the SQL.

  4. 04

    Nothing reconciles afterwards

    Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.

Doctolib → Snowflake · the fix

What working looks like — Doctolib → Snowflake

  • Whatever join key both parties agree on, usually a hashed identifier on every appointment

  • Conversions arriving in Snowflake

    The row lands in a table you own, joinable to your own data and — through a share or clean room — to a partner's, without either party moving raw records.

  • Reconciled against the source

Doctolib → Snowflake · architecture

How Doctolib and Snowflake actually connect

  1. 1

    Doctolib holds the truth

    Directory-sourced patients are real and are not evidence that your advertising worked. Under European rules the consent position on health data is also stricter than most advertisers assume.

  2. 2

    Snowflake needs a click to match

    A schema both sides agree on, consistent types, and identifiers normalised identically before hashing. The failure mode is not rejection but silent divergence — a timestamp in the wrong zone or a trimmed-versus-untrimmed email produces answers that look plausible.

  3. 3

    The identifier is the bridge

    Whatever join key both parties agree on, usually a hashed identifier, captured at the visit and carried into the Doctolib appointment.

  4. 4

    The event source decides reliability

    Send attended appointments as a count, per practice, with no specialty or reason-for-visit field.

  5. 5

    Deduplication at the destination

    Nothing deduplicates for you. Loads are at-least-once, so a retried pipeline creates duplicate rows and the only protection is a deduplication step you write and actually schedule.

Doctolib → Snowflake · normal or broken

Working vs. broken, side by side — Doctolib → Snowflake

Normal, not a fault

  • Whatever join key both parties agree on, usually a hashed identifier present on the appointment

  • Sent from your practice system

  • Deduplicated correctly

    Nothing deduplicates for you. Loads are at-least-once, so a retried pipeline creates duplicate rows and the only protection is a deduplication step you write and actually schedule.

  • Reconciles with the source

Actually broken

  • Whatever join key both parties agree on, usually a hashed identifier missing on most records

    Booking happens on Doctolib's domain, and directory bookings never touch any property of yours at all.

  • Sent from the browser

    Doctolib's directory fills calendars independently of anything you spend. Pool the two and your advertising takes credit for the platform's own reach.

  • Counted twice, or not at all

    The technology makes the join possible; it does not make the definitions match. Two organisations measuring the same campaign will disagree about what a conversion is, which window applies and whose attribution model governs — and the query will return a confident number for whichever set of assumptions got written into the SQL.

  • Nobody has reconciled it

Doctolib → Snowflake · diagnose

Diagnostic order — Doctolib → Snowflake

  1. 01

    Count appointments carrying whatever join key both parties agree on, usually a hashed identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Split appointments by booking origin

    Own site versus directory. Without it the paid numbers cannot be interpreted in either direction.

  4. 04

    Write down both parties' conversion definitions before writing any query

    Definition mismatch, not technology, is what makes most partner measurement projects produce numbers neither side trusts.

  5. 05

    Read the match rate, not the success message

    Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.

Doctolib → Snowflake · prove

How it gets proven — Doctolib → Snowflake

Source of truth

Attended appointments in your own system, split by whether the patient came through your site or through Doctolib's directory.

  • Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live appointment.
  • Row counts and revenue reconciled against each source system for a closed window, with duplicates checked on the join key and both definitions documented.
  • Own-site attended appointments reconciled against imported conversions, with directory volume reported separately.

Doctolib → Snowflake · free audit

What we check in the free audit

  • Count appointments carrying whatever join key both parties agree on, usually a hashed identifier
  • Follow one real conversion end to end
  • Split appointments by booking origin
  • Write down both parties' conversion definitions before writing any query
  • Read the match rate, not the success message

Checked against

Attended appointments in your own system, split by whether the patient came through your site or through Doctolib's directory.

Get my free conversion tracking audit

Free30 minutesNo obligation

Doctolib → Snowflake · when not to buy

When you don't need this — Doctolib → Snowflake

  • Measure identifier coverage yourself first — pull your last hundred appointments and count how many carry whatever join key both parties agree on, usually a hashed identifier.
  • If the directory fills your calendar already, the honest recommendation is to skip advertising rather than to measure it better.
  • If you have no partner to share data with and one cloud, a warehouse you already run does the same job. The sharing capability is what justifies this one.

Doctolib → Snowflake · what we deliver

What gets built — Doctolib → Snowflake

  • Identifier capture into Doctolib

    Attribute only bookings that began on your own site, and then only with a consented identifier and no clinical detail attached.

  • Event source: your practice system

    Send attended appointments as a count, per practice, with no specialty or reason-for-visit field.

  • Dispatch to Snowflake

    Batch or streaming loads from your order system, with the raw event retained alongside anything you derive from it.

  • Reversals where they exist

    Cancellations and no-shows reverse.

Written guarantee

95%+ tracking accuracy

Measured against Attended appointments in your own system, split by whether the patient came through your site or through Doctolib's directory.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Doctolib → Snowflake questions, answered

Only in aggregate, by site and date, because no identifier links a web visit to a Doctolib booking. Guessing a per-patient match from timestamps creates false precision.

Free · 30 min

Get Doctolib and Snowflake joined properly

Free30 minutesNo obligation